summaryrefslogtreecommitdiff
path: root/devel/bison/patches
diff options
context:
space:
mode:
authorcjep <cjep>2003-01-04 20:16:10 +0000
committercjep <cjep>2003-01-04 20:16:10 +0000
commitdab42fb98913587df6090c70fbb6e464898e65fd (patch)
tree762f545b4b5eeae38d6cdd9bc5ba6a77eb68aeb7 /devel/bison/patches
parentdeb4401ae005749c1eae579118f91409484d18ea (diff)
downloadpkgsrc-dab42fb98913587df6090c70fbb6e464898e65fd.tar.gz
Append ";" after attribute. From bison CVS repository.
This appears to fix a problem when building print/lilypond. Bump PKGREVISION.
Diffstat (limited to 'devel/bison/patches')
-rw-r--r--devel/bison/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/bison/patches/patch-ab b/devel/bison/patches/patch-ab
new file mode 100644
index 00000000000..bc1126298e5
--- /dev/null
+++ b/devel/bison/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.6 2003/01/04 20:16:10 cjep Exp $
+--- data/yacc.c 2002/12/28 08:36:02 1.47
++++ data/yacc.c 2003/01/02 23:58:42 1.48
+@@ -1112,9 +1112,10 @@
+ yyerrlab1:
+
+ /* Suppress GCC warning that yyerrlab1 is unused when no action
+- invokes YYERROR. */
++ invokes YYERROR. MacOS 10.2.3's buggy "smart preprocessor"
++ insists on the trailing semicolon. */
+ #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
+- __attribute__ ((__unused__))
++ __attribute__ ((__unused__));
+ #endif
+
+ ]b4_location_if([ yylerrsp = yylsp;