From ee0dfb54a1252c4e60223f0f84647dbb52273c0bdcc94e7080bc58cf7b61723d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 1 Jan 2015 13:05:03 +0000 Subject: [PATCH] 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 --- bison-3.0.2.tar.xz | 3 +++ bison-3.0.tar.xz | 3 --- bison.changes | 10 ++++++++++ bison.spec | 6 ++---- location-eof-check.patch | 13 ------------- 5 files changed, 15 insertions(+), 20 deletions(-) create mode 100644 bison-3.0.2.tar.xz delete mode 100644 bison-3.0.tar.xz delete mode 100644 location-eof-check.patch diff --git a/bison-3.0.2.tar.xz b/bison-3.0.2.tar.xz new file mode 100644 index 0000000..26011ed --- /dev/null +++ b/bison-3.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c +size 1927296 diff --git a/bison-3.0.tar.xz b/bison-3.0.tar.xz deleted file mode 100644 index d204f1e..0000000 --- a/bison-3.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e9ac5585002b71208aee8a20bbe1ced96c48766e6c4247bc7ef8f3141f7624c8 -size 1913532 diff --git a/bison.changes b/bison.changes index 7abaed9..c3914d5 100644 --- a/bison.changes +++ b/bison.changes @@ -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 diff --git a/bison.spec b/bison.spec index fc31ba1..75189ae 100644 --- a/bison.spec +++ b/bison.spec @@ -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 \ diff --git a/location-eof-check.patch b/location-eof-check.patch deleted file mode 100644 index 3885984..0000000 --- a/location-eof-check.patch +++ /dev/null @@ -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. */