summaryrefslogtreecommitdiff
path: root/cad/kicad/patches/patch-pcbnew_xchgmod.cpp
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2014-02-17 20:38:59 +0000
committerbouyer <bouyer@pkgsrc.org>2014-02-17 20:38:59 +0000
commitc38ac24b3c5b6648a1c96265d2b46bf546a71b02 (patch)
tree11646ca141a0227c79e6f6451ef6bbf3350f8bb1 /cad/kicad/patches/patch-pcbnew_xchgmod.cpp
parentd26529241941e9922691c04dc251fc56859f94f0 (diff)
downloadpkgsrc-c38ac24b3c5b6648a1c96265d2b46bf546a71b02.tar.gz
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.
Diffstat (limited to 'cad/kicad/patches/patch-pcbnew_xchgmod.cpp')
-rw-r--r--cad/kicad/patches/patch-pcbnew_xchgmod.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-pcbnew_xchgmod.cpp b/cad/kicad/patches/patch-pcbnew_xchgmod.cpp
new file mode 100644
index 00000000000..bddb0c62ec4
--- /dev/null
+++ b/cad/kicad/patches/patch-pcbnew_xchgmod.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-pcbnew_xchgmod.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/xchgmod.cpp.orig 2014-02-15 15:52:55.000000000 +0100
++++ pcbnew/xchgmod.cpp 2014-02-15 15:53:05.000000000 +0100
+@@ -649,7 +649,7 @@
+ for( ; Module != NULL; Module = Module->Next() )
+ {
+ fprintf( FichCmp, "\nBeginCmp\n" );
+- fprintf( FichCmp, "TimeStamp = %8.8lX\n", Module->GetTimeStamp() );
++ fprintf( FichCmp, "TimeStamp = %8.8lX\n", (u_long)Module->GetTimeStamp() );
+ fprintf( FichCmp, "Path = %s\n", TO_UTF8( Module->m_Path ) );
+ fprintf( FichCmp, "Reference = %s;\n",
+ !Module->m_Reference->m_Text.IsEmpty() ?