pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/pcb-current Add #define needed for non-gcc compile...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfca59e35683
branches:  trunk
changeset: 485357:bfca59e35683
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Dec 07 22:53:48 2004 +0000

description:
Add #define needed for non-gcc compilers.  Should address recent bulk build failures.

diffstat:

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

diffs (27 lines):

diff -r 656b369eed86 -r bfca59e35683 cad/pcb-current/distinfo
--- a/cad/pcb-current/distinfo  Tue Dec 07 22:25:50 2004 +0000
+++ b/cad/pcb-current/distinfo  Tue Dec 07 22:53:48 2004 +0000
@@ -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 -r 656b369eed86 -r bfca59e35683 cad/pcb-current/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/pcb-current/patches/patch-aa  Tue Dec 07 22:53:48 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index