summaryrefslogtreecommitdiff
path: root/devel/bison
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2003-01-04 20:16:10 +0000
committercjep <cjep@pkgsrc.org>2003-01-04 20:16:10 +0000
commitf88af8fabbf6446ea5fbf466f7c0e8cb10387c7c (patch)
tree762f545b4b5eeae38d6cdd9bc5ba6a77eb68aeb7 /devel/bison
parent8987c253d3ec10139092413a075d67138d9addd8 (diff)
downloadpkgsrc-f88af8fabbf6446ea5fbf466f7c0e8cb10387c7c.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')
-rw-r--r--devel/bison/Makefile3
-rw-r--r--devel/bison/distinfo3
-rw-r--r--devel/bison/patches/patch-ab16
3 files changed, 20 insertions, 2 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 50332929cb4..06a31049b42 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2003/01/01 13:15:47 cjep Exp $
+# $NetBSD: Makefile,v 1.41 2003/01/04 20:16:10 cjep Exp $
DISTNAME= bison-1.875
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/bison/distinfo b/devel/bison/distinfo
index cafa24cdecd..047f2e4dad3 100644
--- a/devel/bison/distinfo
+++ b/devel/bison/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2003/01/01 13:15:47 cjep Exp $
+$NetBSD: distinfo,v 1.14 2003/01/04 20:16:10 cjep Exp $
SHA1 (bison-1.875.tar.bz2) = 0cacfa8b557135021814bcd7e43de0bb0cc9d68e
Size (bison-1.875.tar.bz2) = 814922 bytes
SHA1 (patch-aa) = 48ae980971419ede0a45dc5aac7d302586d3826e
+SHA1 (patch-ab) = 5ac0a4f3239e58c33953a6c7d3580358f6de1e60
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;