pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49589: (devel/bison) update to 3.0.3
>Number: 49589
>Category: pkg
>Synopsis: devel/bison update 3.0.3
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Tue Jan 20 15:15:00 +0000 2015
>Originator: Makoto Fujiwara
>Release: NetBSD 6.1.4
>Organization:
KINU Corporation
>Environment:
System: NetBSD modena 6.1.4 NetBSD 6.1.4 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
Update devel/bison 3.0.2 to 3.0.3
---------------------------------
* Noteworthy changes in release 3.0.3 (2015-01-15) [stable]
** Bug fixes
*** C++ with Variants (lalr1.cc)
Problems with %destructor and '%define parse.assert' have been fixed.
*** Named %union support (yacc.c, glr.c)
Bison 3.0 introduced a regression on named %union such as
%union foo { int ival; };
The possibility to use a name was introduced "for Yacc compatibility".
It is however not required by POSIX Yacc, and its usefulness is not clear.
*** %define api.value.type union with %defines (yacc.c, glr.c)
The C parsers were broken when %defines was used together with "%define
api.value.type union".
*** Redeclarations are reported in proper order
On
%token FOO "foo"
%printer {} "foo"
%printer {} FOO
bison used to report:
/tmp/foo.yy:2.10-11: error: %printer redeclaration for FOO
%printer {} "foo"
^^
/tmp/foo.yy:3.10-11: previous declaration
%printer {} FOO
^^
Now, the "previous" declaration is always the first one.
** Documentation
Bison now installs various files in its docdir (which defaults to
'/usr/local/share/doc/bison'), including the three fully blown examples
extracted from the documentation:
- rpcalc
Reverse polish calculator, a simple introductory example.
- mfcalc
Multi-function Calc, a calculator with memory and functions and located
error messages.
- calc++
a calculator in C++ using variant support and token constructors.
>How-To-Repeat:
(cd /usr/pkgsrc/devel/bison; make package)
>Fix:
Index: devel/bison/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bison/Makefile,v
retrieving revision 1.97
diff -u -r1.97 Makefile
--- devel/bison/Makefile 16 Jan 2015 19:34:44 -0000 1.97
+++ devel/bison/Makefile 20 Jan 2015 15:07:11 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.97 2015/01/16 19:34:44 rumko Exp $
-DISTNAME= bison-3.0.2
-PKGREVISION= 2
+DISTNAME= bison-3.0.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.xz
Index: devel/bison/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bison/PLIST,v
retrieving revision 1.27
diff -u -r1.27 PLIST
--- devel/bison/PLIST 6 Dec 2013 12:02:46 -0000 1.27
+++ devel/bison/PLIST 20 Jan 2015 15:07:11 -0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.27 2013/12/06 12:02:46 wiz Exp $
+@comment $NetBSD$
bin/bison
info/bison.info
+lib/charset.alias
man/man1/bison.1
share/aclocal/bison-i18n.m4
share/bison/README
@@ -26,6 +27,20 @@
share/bison/xslt/xml2text.xsl
share/bison/xslt/xml2xhtml.xsl
share/bison/yacc.c
+share/doc/bison/AUTHORS
+share/doc/bison/COPYING
+share/doc/bison/NEWS
+share/doc/bison/README
+share/doc/bison/THANKS
+share/doc/bison/TODO
+share/doc/bison/examples/calc++/calc++-driver.cc
+share/doc/bison/examples/calc++/calc++-driver.hh
+share/doc/bison/examples/calc++/calc++-parser.yy
+share/doc/bison/examples/calc++/calc++-scanner.ll
+share/doc/bison/examples/calc++/calc++.cc
+share/doc/bison/examples/mfcalc/calc.h
+share/doc/bison/examples/mfcalc/mfcalc.y
+share/doc/bison/examples/rpcalc/rpcalc.y
share/locale/ast/LC_MESSAGES/bison-runtime.mo
share/locale/da/LC_MESSAGES/bison-runtime.mo
share/locale/da/LC_MESSAGES/bison.mo
Index: devel/bison/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bison/distinfo,v
retrieving revision 1.41
diff -u -r1.41 distinfo
--- devel/bison/distinfo 19 Jan 2015 15:40:03 -0000 1.41
+++ devel/bison/distinfo 20 Jan 2015 15:07:11 -0000
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.41 2015/01/19 15:40:03 pho Exp $
-SHA1 (bison-3.0.2.tar.xz) = aeb1e3544007124009e5203afe86a5676580d444
-RMD160 (bison-3.0.2.tar.xz) = 0a945ce5710a79332fbe594255305f244c24dd74
-Size (bison-3.0.2.tar.xz) = 1927296 bytes
+SHA1 (bison-3.0.3.tar.xz) = e3e45a01ef991bdc6c805da233d33b350039abff
+RMD160 (bison-3.0.3.tar.xz) = 0fde23558d7f0186e35401bcf327b4fa683dcd48
+Size (bison-3.0.3.tar.xz) = 1971372 bytes
SHA1 (patch-Makefile.in) = 7daf6f917a254a9841262b959efd5f469575fda1
SHA1 (patch-data_glr.c) = a2e0900ed995e4320e80f8ed05eae8e82be50502
SHA1 (patch-lib_isnan.c) = c5d2603447064c95e8bbc75a24c09366b752bad6
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index