]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
bison: Update to 3.0.4.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 17 Oct 2015 23:51:35 +0000 (01:51 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Oct 2015 17:44:06 +0000 (18:44 +0100)
This is a major update to the latest stable version of bison.

A short excerpt of the changelog:

Several deprecated features were removed, such as support for YYFAIL, yystype,
yyltype, YYLEX_PARAM, and YYPARSE_PARAM. The user epilogue is no longer affected
by internal #defines. The recently-introduced dependency on stdio.h when
locations are enabled was removed. Caret errors, as introduced in 2.7, are now
activated by default. The "-Werror" option was enhanced, and categorization of
warnings and errors was modified. Many other changes and various bugfixes were
made.

I also added flex as a build dependency to prevent from errors when running
the testsuite.

Fixes #10403.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
bison/bison.nm

index 8b1a1a994bd3c6326e5faa14d73a6c83c092ee19..0a2af3d2a8995527af69eed55fb12dd6a41e20e2 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = bison
-version    = 2.7.1
+version    = 3.0.4
 release    = 1
 
 groups     = Development/Tools
@@ -13,14 +13,16 @@ license    = GPLv2+
 summary    = GNU Bison is a parser generator.
 
 description
-       Bison is a general-purpose parser generator that converts an annotated \
+       Bison is a general-purpose parser generator that converts an annotated
        context-free grammar into an LALR(1) or GLR parser for that grammar.
 end
 
 source_dl  = http://ftp.gnu.org/gnu/bison/
+sources    = %{thisapp}.tar.xz
 
 build
        requires
+               flex >= 2.5.37
                m4 >= 1.4.16
                perl
        end
@@ -43,8 +45,8 @@ build
                mkdir -pv %{BUILDROOT}%{libdir}
                cd lib
                install -v liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.%{version}
-               ln -vsf liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.2
-               ln -vsf liby.so.2 %{BUILDROOT}%{libdir}/liby.so
+               ln -vsf liby.so.%{version} %{BUILDROOT}%{libdir}/liby.so.3
+               ln -vsf liby.so.3 %{BUILDROOT}%{libdir}/liby.so
        end
 end