summaryrefslogtreecommitdiff
path: root/cad/pcb-current/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'cad/pcb-current/patches/patch-aa')
-rw-r--r--cad/pcb-current/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
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