Hello community, here is the log from the commit of package bison for openSUSE:Factory checked in at 2017-01-19 10:33:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bison (Old) and /work/SRC/openSUSE:Factory/.bison.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bison" Changes: -------- --- /work/SRC/openSUSE:Factory/bison/bison.changes 2016-12-16 11:44:12.038012064 +0100 +++ /work/SRC/openSUSE:Factory/.bison.new/bison.changes 2017-01-19 10:33:55.649058785 +0100 @@ -1,0 +2,5 @@ +Fri Dec 16 09:45:23 UTC 2016 - [email protected] + +- gcc7-fix.patch: Add forward declaration to compile with GCC7. + +------------------------------------------------------------------- New: ---- gcc7-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bison.spec ++++++ --- /var/tmp/diff_new_pack.wb6YKq/_old 2017-01-19 10:33:56.432948224 +0100 +++ /var/tmp/diff_new_pack.wb6YKq/_new 2017-01-19 10:33:56.440947096 +0100 @@ -1,7 +1,7 @@ # # spec file for package bison # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source2: %{name}.keyring Source3: baselibs.conf +Patch1: gcc7-fix.patch +BuildRequires: autoconf BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: xz @@ -43,6 +45,7 @@ %prep %setup -q +%patch1 %build %configure --disable-silent-rules \ ++++++ gcc7-fix.patch ++++++ --- /home/marxin/Programming/bison-3.0.4/tests/c++.at 2015-01-20 20:39:51.000000000 +0100 +++ tests/c++.at 2016-12-14 10:58:00.046437207 +0100 @@ -197,6 +197,10 @@ #include <list> #include <string> typedef std::list<std::string> strings_type; +namespace std +{ + std::ostream& operator<<(std::ostream& o, const strings_type& s); +} } %code // code for the .cc file
