pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bison based on PR pkg/49589
details: https://anonhg.NetBSD.org/pkgsrc/rev/8d7aa1de6232
branches: trunk
changeset: 645054:8d7aa1de6232
user: mef <mef%pkgsrc.org@localhost>
date: Thu Jan 22 04:57:57 2015 +0000
description:
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:
devel/bison/Makefile | 5 ++---
devel/bison/PLIST | 16 +++++++++++++++-
devel/bison/distinfo | 10 +++++-----
devel/bison/patches/patch-lib_isnan.c | 4 +++-
4 files changed, 25 insertions(+), 10 deletions(-)
diffs (71 lines):
diff -r 7739eaa67b05 -r 8d7aa1de6232 devel/bison/Makefile
--- a/devel/bison/Makefile Thu Jan 22 01:22:48 2015 +0000
+++ b/devel/bison/Makefile Thu Jan 22 04:57:57 2015 +0000
@@ -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 -r 7739eaa67b05 -r 8d7aa1de6232 devel/bison/PLIST
--- a/devel/bison/PLIST Thu Jan 22 01:22:48 2015 +0000
+++ b/devel/bison/PLIST Thu Jan 22 04:57:57 2015 +0000
@@ -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/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 -r 7739eaa67b05 -r 8d7aa1de6232 devel/bison/distinfo
--- a/devel/bison/distinfo Thu Jan 22 01:22:48 2015 +0000
+++ b/devel/bison/distinfo Thu Jan 22 04:57:57 2015 +0000
@@ -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 -r 7739eaa67b05 -r 8d7aa1de6232 devel/bison/patches/patch-lib_isnan.c
--- a/devel/bison/patches/patch-lib_isnan.c Thu Jan 22 01:22:48 2015 +0000
+++ b/devel/bison/patches/patch-lib_isnan.c Thu Jan 22 04:57:57 2015 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index