mbox

bison: Update to 3.0.4.

Message ID 1445125895-19521-1-git-send-email-stefan.schantl@ipfire.org
State Accepted
Commit d8966ea942ea2cda9d4b1e731d19390a03243573
Headers

Message

Stefan Schantl Oct. 18, 2015, 10:51 a.m. UTC
  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>
---
 bison/bison.nm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
  

Comments

Michael Tremer Oct. 19, 2015, 4:48 a.m. UTC | #1
Merged. Let's hope that this won't crash too many other packages.

-Michael

On Sun, 2015-10-18 at 01:51 +0200, Stefan Schantl wrote:
> 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>
> ---
>  bison/bison.nm | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/bison/bison.nm b/bison/bison.nm
> index 8b1a1a9..0a2af3d 100644
> --- a/bison/bison.nm
> +++ b/bison/bison.nm
> @@ -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
>