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:
parent
9a8cec91e2
commit
ee0dfb54a1
3
bison-3.0.2.tar.xz
Normal file
3
bison-3.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c
|
||||
size 1927296
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e9ac5585002b71208aee8a20bbe1ced96c48766e6c4247bc7ef8f3141f7624c8
|
||||
size 1913532
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,7 +25,7 @@ Requires(pre): %install_info_prereq
|
||||
%ifarch ppc64
|
||||
Obsoletes: bison-64bit
|
||||
%endif
|
||||
Version: 3.0
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Summary: The GNU Parser Generator
|
||||
License: GPL-3.0+
|
||||
@ -33,7 +33,6 @@ Group: Development/Languages/C and C++
|
||||
Url: http://www.gnu.org/software/bison/bison.html
|
||||
Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Patch: location-eof-check.patch
|
||||
Requires: m4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -42,7 +41,6 @@ Bison is a parser generator similar to yacc(1).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules --disable-rpath \
|
||||
|
@ -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. */
|
Loading…
Reference in New Issue
Block a user