From 19fe5e383321f7562ebfd3a7fd42f7a7cd80140c Mon Sep 17 00:00:00 2001 From: rillig Date: Thu, 4 Aug 2005 16:13:39 +0000 Subject: Added a patch for ISO C90 compliance. The offending part was a double semicolon in a declaration. --- cad/pcb-current/distinfo | 3 ++- cad/pcb-current/patches/patch-aa | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cad/pcb-current/patches/patch-aa (limited to 'cad') 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) -- cgit v1.2.3