summaryrefslogtreecommitdiff
path: root/cad/kicad/patches/patch-eeschema_sheet.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-eeschema_sheet.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-eeschema_sheet.cpp')
-rw-r--r--cad/kicad/patches/patch-eeschema_sheet.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-eeschema_sheet.cpp b/cad/kicad/patches/patch-eeschema_sheet.cpp
new file mode 100644
index 00000000000..6d91a94cb04
--- /dev/null
+++ b/cad/kicad/patches/patch-eeschema_sheet.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-eeschema_sheet.cpp,v 1.1.1.1 2014/02/17 20:38:59 bouyer Exp $
+64bit time_t fix
+Reported upstream as bug id 1280901
+
+--- eeschema/sheet.cpp.orig 2014-02-15 15:49:44.000000000 +0100
++++ eeschema/sheet.cpp 2014-02-15 15:49:51.000000000 +0100
+@@ -205,7 +205,7 @@
+ aSheet->SetSheetNameSize( ReturnValueFromString( g_UserUnit, dlg.GetSheetNameTextSize() ) );
+
+ if( aSheet->GetName().IsEmpty() )
+- aSheet->SetName( wxString::Format( wxT( "Sheet%8.8lX" ), aSheet->GetTimeStamp() ) );
++ aSheet->SetName( wxString::Format( wxT( "Sheet%8.8lX" ), (u_long)aSheet->GetTimeStamp() ) );
+
+ m_canvas->MoveCursorToCrossHair();
+ m_canvas->SetIgnoreMouseEvents( false );