SHA256
1
0
forked from pool/bison

Accepting request 266294 from home:posophe:branches:devel:tools:compiler

- Update to version 3.0.2
  + Generated source files when errors are reported
  + %empty is used in reports
  + When C++ variant support is enabled, an error triggered via YYERROR,
    but not caught via error recovery, resulted in a double deletion.
- Remove location-eof-check.patch; merged on upstream release

OBS-URL: https://build.opensuse.org/request/show/266294
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=34
This commit is contained in:
Ismail Dönmez 2015-01-01 13:05:03 +00:00 committed by Git OBS Bridge
parent 9a8cec91e2
commit ee0dfb54a1
5 changed files with 15 additions and 20 deletions

3
bison-3.0.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c
size 1927296

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9ac5585002b71208aee8a20bbe1ced96c48766e6c4247bc7ef8f3141f7624c8
size 1913532

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 24 11:39:10 UTC 2014 - p.drouand@gmail.com
- Update to version 3.0.2
+ Generated source files when errors are reported
+ %empty is used in reports
+ When C++ variant support is enabled, an error triggered via YYERROR,
but not caught via error recovery, resulted in a double deletion.
- Remove location-eof-check.patch; merged on upstream release
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 27 20:13:38 UTC 2013 - schwab@linux-m68k.org Fri Sep 27 20:13:38 UTC 2013 - schwab@linux-m68k.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package bison # spec file for package bison
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ Requires(pre): %install_info_prereq
%ifarch ppc64 %ifarch ppc64
Obsoletes: bison-64bit Obsoletes: bison-64bit
%endif %endif
Version: 3.0 Version: 3.0.2
Release: 0 Release: 0
Summary: The GNU Parser Generator Summary: The GNU Parser Generator
License: GPL-3.0+ License: GPL-3.0+
@ -33,7 +33,6 @@ Group: Development/Languages/C and C++
Url: http://www.gnu.org/software/bison/bison.html Url: http://www.gnu.org/software/bison/bison.html
Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
Source2: baselibs.conf Source2: baselibs.conf
Patch: location-eof-check.patch
Requires: m4 Requires: m4
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -42,7 +41,6 @@ Bison is a parser generator similar to yacc(1).
%prep %prep
%setup -q %setup -q
%patch -p1
%build %build
%configure --disable-silent-rules --disable-rpath \ %configure --disable-silent-rules --disable-rpath \

View File

@ -1,13 +0,0 @@
Index: bison-3.0/src/location.c
===================================================================
--- bison-3.0.orig/src/location.c
+++ bison-3.0/src/location.c
@@ -188,7 +188,7 @@ location_caret (location loc, FILE *out)
/* Read the actual line. Don't update the offset, so that we keep a pointer
to the start of the line. */
{
- char c = getc (caret_info.source);
+ int c = getc (caret_info.source);
if (c != EOF)
{
/* Quote the file, indent by a single column. */