diff options
author | mef <mef@pkgsrc.org> | 2015-01-22 04:57:57 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2015-01-22 04:57:57 +0000 |
commit | b8f295f0f485b9ba44ec18b2f35cf99ee836c3e3 (patch) | |
tree | 1ed88c65c3a26f4f6cad9d8a3d728da2e78ec2e6 /devel/bison | |
parent | ef4778237867c163c186c08502dcf69a79189602 (diff) | |
download | pkgsrc-b8f295f0f485b9ba44ec18b2f35cf99ee836c3e3.tar.gz |
based on PR pkg/49589
(pkgsrc)
- Add comment on patch-lib_isnan.c (from cvs log)
(upstream)
- Update devel/bison 3.0.2 to 3.0.3
Thanks obache and wiz for review.
---------------------------------
* 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.
Diffstat (limited to 'devel/bison')
-rw-r--r-- | devel/bison/Makefile | 5 | ||||
-rw-r--r-- | devel/bison/PLIST | 16 | ||||
-rw-r--r-- | devel/bison/distinfo | 10 | ||||
-rw-r--r-- | devel/bison/patches/patch-lib_isnan.c | 4 |
4 files changed, 25 insertions, 10 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile index 6ba0a714b06..ed99205a2fd 100644 --- a/devel/bison/Makefile +++ b/devel/bison/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.97 2015/01/16 19:34:44 rumko Exp $ +# $NetBSD: Makefile,v 1.98 2015/01/22 04:57:57 mef 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 diff --git a/devel/bison/PLIST b/devel/bison/PLIST index 9bd5b433ecd..cd9473c9281 100644 --- a/devel/bison/PLIST +++ b/devel/bison/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.27 2013/12/06 12:02:46 wiz Exp $ +@comment $NetBSD: PLIST,v 1.28 2015/01/22 04:57:57 mef Exp $ bin/bison info/bison.info man/man1/bison.1 @@ -26,6 +26,20 @@ share/bison/xslt/xml2dot.xsl 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 diff --git a/devel/bison/distinfo b/devel/bison/distinfo index a29ecc7180c..2d29d67025a 100644 --- a/devel/bison/distinfo +++ b/devel/bison/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.41 2015/01/19 15:40:03 pho Exp $ +$NetBSD: distinfo,v 1.42 2015/01/22 04:57:57 mef 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 +SHA1 (patch-lib_isnan.c) = 5b44fc6e2e97e36f91cd784bf3a38ad459fccdab diff --git a/devel/bison/patches/patch-lib_isnan.c b/devel/bison/patches/patch-lib_isnan.c index d1c7cd6048e..7c210ca6f0c 100644 --- a/devel/bison/patches/patch-lib_isnan.c +++ b/devel/bison/patches/patch-lib_isnan.c @@ -1,4 +1,6 @@ -$NetBSD: patch-lib_isnan.c,v 1.3 2012/06/06 07:20:36 wiz Exp $ +$NetBSD: patch-lib_isnan.c,v 1.4 2015/01/22 04:57:57 mef Exp $ + +Fix definition of NaN on VAX. --- lib/isnan.c.orig 2012-03-30 07:18:32.000000000 +0000 +++ lib/isnan.c |