This cannot go in until post-7.0 due to a change where bison 3.8
now declares yyerror for POSIX compatibility as:
void yyerror(const char *msg);
This may conflict with yyerror() as defined by the .y file, leading
to build errors. For example, old code may return int instead of
void or declare the function static.
Even ignoring our release schedule, it is probably worth waiting a
bit until upstream projects fix some of the fallout themselves.
Consider this a heads-up.
- todd
Index: devel/bison/Makefile
===================================================================
RCS file: /cvs/ports/devel/bison/Makefile,v
retrieving revision 1.63
diff -u -p -u -r1.63 Makefile
--- devel/bison/Makefile 17 May 2021 16:41:44 -0000 1.63
+++ devel/bison/Makefile 10 Sep 2021 13:35:48 -0000
@@ -2,7 +2,7 @@
COMMENT= GNU parser generator
-DISTNAME= bison-3.7.6
+DISTNAME= bison-3.8
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.xz
@@ -24,5 +24,9 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-yacc --without-libtextstyle-prefix
DEBUG_PACKAGES= ${BUILD_PACKAGES}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
+
+# Avoid regenerating bison.info
+post-configure:
+ touch ${WRKSRC}/doc/*.info
.include <bsd.port.mk>
Index: devel/bison/distinfo
===================================================================
RCS file: /cvs/ports/devel/bison/distinfo,v
retrieving revision 1.14
diff -u -p -u -r1.14 distinfo
--- devel/bison/distinfo 17 May 2021 16:41:44 -0000 1.14
+++ devel/bison/distinfo 10 Sep 2021 13:27:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (bison-3.7.6.tar.xz) = Z9aM4eIhkgUFJWQ/wKeiIpdXZoK+9qXFFEaQP1ru888=
-SIZE (bison-3.7.6.tar.xz) = 2627180
+SHA256 (bison-3.8.tar.xz) = HgoUqL9S2HjlAMM9KRAmuevpacJ7OZjUtChattvORSc=
+SIZE (bison-3.8.tar.xz) = 2794280
Index: devel/bison/pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/bison/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -u -r1.14 PLIST
--- devel/bison/pkg/PLIST 17 May 2021 16:41:44 -0000 1.14
+++ devel/bison/pkg/PLIST 10 Sep 2021 13:34:09 -0000
@@ -12,7 +12,6 @@ share/bison/m4sugar/
share/bison/m4sugar/foreach.m4
share/bison/m4sugar/m4sugar.m4
share/bison/skeletons/
-share/bison/skeletons/README-D.txt
share/bison/skeletons/bison.m4
share/bison/skeletons/c++-skel.m4
share/bison/skeletons/c++.m4
@@ -23,6 +22,7 @@ share/bison/skeletons/d-skel.m4
share/bison/skeletons/d.m4
share/bison/skeletons/glr.c
share/bison/skeletons/glr.cc
+share/bison/skeletons/glr2.cc
share/bison/skeletons/java-skel.m4
share/bison/skeletons/java.m4
share/bison/skeletons/lalr1.cc
@@ -71,6 +71,10 @@ share/doc/bison/examples/c/calc/
share/doc/bison/examples/c/calc/Makefile
share/doc/bison/examples/c/calc/README.md
share/doc/bison/examples/c/calc/calc.y
+share/doc/bison/examples/c/glr/
+share/doc/bison/examples/c/glr/Makefile
+share/doc/bison/examples/c/glr/README.md
+share/doc/bison/examples/c/glr/c++-types.y
share/doc/bison/examples/c/lexcalc/
share/doc/bison/examples/c/lexcalc/Makefile
share/doc/bison/examples/c/lexcalc/README.md
@@ -93,9 +97,13 @@ share/doc/bison/examples/c/rpcalc/
share/doc/bison/examples/c/rpcalc/Makefile
share/doc/bison/examples/c/rpcalc/rpcalc.y
share/doc/bison/examples/d/
-share/doc/bison/examples/d/Makefile
share/doc/bison/examples/d/README.md
-share/doc/bison/examples/d/calc.y
+share/doc/bison/examples/d/calc/
+share/doc/bison/examples/d/calc/Makefile
+share/doc/bison/examples/d/calc/calc.y
+share/doc/bison/examples/d/simple/
+share/doc/bison/examples/d/simple/Makefile
+share/doc/bison/examples/d/simple/calc.y
share/doc/bison/examples/java/
share/doc/bison/examples/java/README.md
share/doc/bison/examples/java/calc/