summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-12-07 22:53:48 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-12-07 22:53:48 +0000
commit509a148b45b948b62150c7cf935767010101d800 (patch)
treeb4bb0368c6c69606057f0a4bccdecb1d5c92424d /cad
parent14bffa0d363b53d1ecd305f3f49cf755191521da (diff)
downloadpkgsrc-509a148b45b948b62150c7cf935767010101d800.tar.gz
Add #define needed for non-gcc compilers. Should address recent bulk build failures.
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb-current/distinfo3
-rw-r--r--cad/pcb-current/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/cad/pcb-current/distinfo b/cad/pcb-current/distinfo
index 78efce200f5..b322c9a6297 100644
--- a/cad/pcb-current/distinfo
+++ b/cad/pcb-current/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.4 2004/09/04 20:12:14 dmcmahill Exp $
+$NetBSD: distinfo,v 1.5 2004/12/07 22:53:48 dmcmahill Exp $
SHA1 (pcb-20040903.tar.gz) = c24040349b86f86faf75145ded3f9c19242279bf
Size (pcb-20040903.tar.gz) = 2317381 bytes
+SHA1 (patch-aa) = 14cbe3dbb8cd18e75e7e0bf306e23ecb7a78f58c
diff --git a/cad/pcb-current/patches/patch-aa b/cad/pcb-current/patches/patch-aa
new file mode 100644
index 00000000000..e6f83cd0e54
--- /dev/null
+++ b/cad/pcb-current/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/12/07 22:53:48 dmcmahill Exp $
+
+--- src/global.h.orig Mon Aug 30 02:52:04 2004
++++ src/global.h
+@@ -679,6 +679,8 @@ typedef struct
+
+ #if GCC_VERSION > 2007
+ #define ATTRIBUTE_UNUSED __attribute__((unused))
++#else
++#define ATTRIBUTE_UNUSED
+ #endif
+
+ #define RCSID(x) static char *rcsid ATTRIBUTE_UNUSED = x