summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorrillig <rillig>2005-08-04 16:13:39 +0000
committerrillig <rillig>2005-08-04 16:13:39 +0000
commit19fe5e383321f7562ebfd3a7fd42f7a7cd80140c (patch)
treee48d58eb311123c77f8dcade50b62f938f0dce1e /cad
parent76a7b5acc949e66fa5ee06085aa67d4dd0b877f8 (diff)
downloadpkgsrc-19fe5e383321f7562ebfd3a7fd42f7a7cd80140c.tar.gz
Added a patch for ISO C90 compliance. The offending part was a double
semicolon in a declaration.
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb-current/distinfo3
-rw-r--r--cad/pcb-current/patches/patch-aa16
2 files changed, 18 insertions, 1 deletions
diff --git a/cad/pcb-current/distinfo b/cad/pcb-current/distinfo
index c7dbb87ed62..bce5a5c7ed1 100644
--- a/cad/pcb-current/distinfo
+++ b/cad/pcb-current/distinfo
@@ -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 --git a/cad/pcb-current/patches/patch-aa b/cad/pcb-current/patches/patch-aa
new file mode 100644
index 00000000000..80bc8e28b12
--- /dev/null
+++ b/cad/pcb-current/patches/patch-aa
@@ -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)