pkgsrc/cad/kicad/patches/patch-pcbnew_class_module.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
684 B
C++

$NetBSD: patch-pcbnew_class_module.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_module.cpp.orig 2014-02-15 15:41:28.000000000 +0100
+++ pcbnew/class_module.cpp 2014-02-15 15:41:37.000000000 +0100
@@ -458,7 +458,7 @@
aList.push_back( MSG_PANEL_ITEM( _( "Last Change" ), msg, BROWN ) );
// display time stamp in schematic
- msg.Printf( wxT( "%8.8lX" ), m_TimeStamp );
+ msg.Printf( wxT( "%8.8lX" ), (u_long)m_TimeStamp );
aList.push_back( MSG_PANEL_ITEM( _( "Netlist path" ), m_Path, BROWN ) );
aList.push_back( MSG_PANEL_ITEM( _( "Layer" ), board->GetLayerName( m_Layer ), RED ) );