pkgsrc/devel/bison/patches/patch-ab
cjep f88af8fabb Append ";" after attribute. From bison CVS repository.
This appears to fix a problem when building print/lilypond.

Bump PKGREVISION.
2003-01-04 20:16:10 +00:00

16 lines
568 B
Text

$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;