Update to 3.0.2: * Noteworthy changes in release 3.0.2 (2013-12-05) [stable] ** Bug fixes *** Generated source files when errors are reported When warnings are issued and -Werror is set, bison would still generate the source files (*.c, *.h...). As a consequence, some runs of "make" could fail the first time, but not the second (as the files were generated anyway). This is fixed: bison no longer generates this source files, but, of course, still produces the various reports (*.output, *.xml, etc.). *** %empty is used in reports Empty right-hand sides are denoted by '%empty' in all the reports (text, dot, XML and formats derived from it). *** YYERROR and variants When C++ variant support is enabled, an error triggered via YYERROR, but not caught via error recovery, resulted in a double deletion. * Noteworthy changes in release 3.0.1 (2013-11-12) [stable] ** Bug fixes *** Errors in caret diagnostics On some platforms, some errors could result in endless diagnostics. *** Fixes of the -Werror option Options such as "-Werror -Wno-error=foo" were still turning "foo" diagnostics into errors instead of warnings. This is fixed. Actually, for consistency with GCC, "-Wno-error=foo -Werror" now also leaves "foo" diagnostics as warnings. Similarly, with "-Werror=foo -Wno-error", "foo" diagnostics are now errors. *** GLR Predicates As demonstrated in the documentation, one can now leave spaces between "%?" and its "{". *** Installation The yacc.1 man page is no longer installed if --disable-yacc was specified. *** Fixes in the test suite Bugs and portability issues.diff -r1.93 -r1.94 pkgsrc/devel/bison/Makefile
(wiz)
@@ -1,32 +1,32 @@ | @@ -1,32 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.93 2013/11/09 05:36:26 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.94 2013/12/06 12:02:46 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= bison-3.0 | 3 | DISTNAME= bison-3.0.2 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | |
7 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | 9 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | |
11 | COMMENT= GNU yacc(1) replacement | 10 | COMMENT= GNU yacc(1) replacement | |
12 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
13 | 12 | |||
14 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
15 | 14 | |||
16 | USE_LANGUAGES= c c++ | 15 | USE_LANGUAGES= c c++ | |
17 | USE_PKGLOCALEDIR= yes | 16 | USE_PKGLOCALEDIR= yes | |
18 | USE_TOOLS+= grep gm4:run msgfmt flex perl:build | 17 | USE_TOOLS+= grep gm4:run msgfmt flex perl:build | |
19 | GNU_CONFIGURE= yes | 18 | GNU_CONFIGURE= yes | |
19 | CONFIGURE_ARGS+= --disable-yacc | |||
20 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes | 20 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes | |
21 | CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4} | 21 | CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4} | |
22 | 22 | |||
23 | INFO_FILES= yes | 23 | INFO_FILES= yes | |
24 | TEST_TARGET= check | 24 | TEST_TARGET= check | |
25 | 25 | |||
26 | .include "../../mk/bsd.prefs.mk" | 26 | .include "../../mk/bsd.prefs.mk" | |
27 | 27 | |||
28 | .if ${OPSYS} == "Cygwin" | 28 | .if ${OPSYS} == "Cygwin" | |
29 | CONFIGURE_ARGS+= ac_cv_func___fpending=yes | 29 | CONFIGURE_ARGS+= ac_cv_func___fpending=yes | |
30 | .endif | 30 | .endif | |
31 | 31 | |||
32 | # Avoid rebuilding manpage | 32 | # Avoid rebuilding manpage |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.26 2013/07/28 12:43:50 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.27 2013/12/06 12:02:46 wiz Exp $ | |
2 | bin/bison | 2 | bin/bison | |
3 | info/bison.info | 3 | info/bison.info | |
4 | lib/liby.a | |||
5 | man/man1/bison.1 | 4 | man/man1/bison.1 | |
6 | share/aclocal/bison-i18n.m4 | 5 | share/aclocal/bison-i18n.m4 | |
7 | share/bison/README | 6 | share/bison/README | |
8 | share/bison/bison.m4 | 7 | share/bison/bison.m4 | |
9 | share/bison/c++-skel.m4 | 8 | share/bison/c++-skel.m4 | |
10 | share/bison/c++.m4 | 9 | share/bison/c++.m4 | |
11 | share/bison/c-like.m4 | 10 | share/bison/c-like.m4 | |
12 | share/bison/c-skel.m4 | 11 | share/bison/c-skel.m4 | |
13 | share/bison/c.m4 | 12 | share/bison/c.m4 | |
14 | share/bison/glr.c | 13 | share/bison/glr.c | |
15 | share/bison/glr.cc | 14 | share/bison/glr.cc | |
16 | share/bison/java-skel.m4 | 15 | share/bison/java-skel.m4 | |
17 | share/bison/java.m4 | 16 | share/bison/java.m4 |
@@ -1,7 +1,6 @@ | @@ -1,7 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.37 2013/07/28 12:43:50 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.38 2013/12/06 12:02:46 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (bison-3.0.tar.xz) = 5e32be3773522cf89163a4beb622eeeb4ace90dc | 3 | SHA1 (bison-3.0.2.tar.xz) = aeb1e3544007124009e5203afe86a5676580d444 | |
4 | RMD160 (bison-3.0.tar.xz) = 6b68dfec7e83ab481f3e9d315f779f462dfc3823 | 4 | RMD160 (bison-3.0.2.tar.xz) = 0a945ce5710a79332fbe594255305f244c24dd74 | |
5 | Size (bison-3.0.tar.xz) = 1913532 bytes | 5 | Size (bison-3.0.2.tar.xz) = 1927296 bytes | |
6 | SHA1 (patch-Makefile.in) = e472c53696e55f40711d22b2befbb91fba1f349c | |||
7 | SHA1 (patch-lib_isnan.c) = c5d2603447064c95e8bbc75a24c09366b752bad6 | 6 | SHA1 (patch-lib_isnan.c) = c5d2603447064c95e8bbc75a24c09366b752bad6 |