pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/pcb-current Added a patch for ISO C90 compliance. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5248a4d7e4bc
branches:  trunk
changeset: 497801:5248a4d7e4bc
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 04 16:13:39 2005 +0000

description:
Added a patch for ISO C90 compliance. The offending part was a double
semicolon in a declaration.

diffstat:

 cad/pcb-current/distinfo         |   3 ++-
 cad/pcb-current/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 6c7ddc3d3441 -r 5248a4d7e4bc cad/pcb-current/distinfo
--- a/cad/pcb-current/distinfo  Thu Aug 04 16:11:28 2005 +0000
+++ b/cad/pcb-current/distinfo  Thu Aug 04 16:13:39 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2005/07/30 21:56:51 dmcmahill Exp $
+$NetBSD: distinfo,v 1.10 2005/08/04 16:13:39 rillig Exp $
 
 SHA1 (pcb-20050609.tar.gz) = 5c6c47d36c6c3398c1410a8c5cf0c008b294e4c5
 RMD160 (pcb-20050609.tar.gz) = 4296b437a46e8a331cf773f29749b2bb8f8cb6ad
 Size (pcb-20050609.tar.gz) = 2371793 bytes
+SHA1 (patch-aa) = 3d31486ff101a2ab7698209e325ee85c9630a399
diff -r 6c7ddc3d3441 -r 5248a4d7e4bc cad/pcb-current/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/pcb-current/patches/patch-aa  Thu Aug 04 16:13:39 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2005/08/04 16:13:39 rillig Exp $
+
+A double semicolon counts as an empty statement, after which ISO C90
+does not allow any further variable declarations.
+
+--- src/gui-netlist-window.c.orig      Tue Mar  1 06:33:01 2005
++++ src/gui-netlist-window.c   Thu Aug  4 18:06:36 2005
+@@ -692,7 +692,7 @@ gui_netlist_highlight_node(gchar *node_n
+       {
+       GtkTreePath                     *path;
+       GtkTreeIter                     iter;
+-      LibraryMenuType         *net;;
++      LibraryMenuType         *net;
+       gchar                           *name;
+ 
+       if (!node_name)



Home | Main Index | Thread Index | Old Index