pkgsrc/cad/kicad/patches/patch-pcbnew_class_track.cpp
bouyer 40bdd80b1e Import kicad from the stable branch as of 20140214.
Sources are available only from bzr (no release) so I made a snapshot
of the source tree and put it on a http server.

This package is based on the package in wip by jonathan.gabris@gmail.com

Kicad is an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit board artwork.

Designed and written by Jean-Pierre Charras, a researcher at LIS (Laboratoire
des Images et des Signaux) and a teacher in IUT de Saint Martin d'Heres
(France), in the field of electrical engineering and image processing.

Kicad is a set of four softwares and a project manager:

    * Eeschema: Schematic entry.
    * Pcbnew: Board editor.
    * Gerbview: GERBER viewer (photoplotter documents).
    * Cvpcb: footprint selector for components used in the circuit design.
    * Kicad: project manager.
2014-02-17 20:38:59 +00:00

15 lines
564 B
C++

$NetBSD: patch-pcbnew_class_track.cpp,v 1.1.1.1 2014/02/17 20:38:59 bouyer Exp $
64bit time_t fix
Reported upstream as bug id 1280901
--- pcbnew/class_track.cpp.orig 2014-02-15 15:42:13.000000000 +0100
+++ pcbnew/class_track.cpp 2014-02-15 15:42:23.000000000 +0100
@@ -161,7 +161,7 @@
NETINFO_ITEM* net;
BOARD* board = GetBoard();
- text << _( "Zone" ) << wxT( " " ) << wxString::Format( wxT( "(%08lX)" ), m_TimeStamp );
+ text << _( "Zone" ) << wxT( " " ) << wxString::Format( wxT( "(%08lX)" ), (u_long)m_TimeStamp );
if( board )
{