Hello community, here is the log from the commit of package libpt2 for openSUSE:Factory checked in at 2015-05-10 10:54:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpt2 (Old) and /work/SRC/openSUSE:Factory/.libpt2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpt2" Changes: -------- --- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes 2015-02-03 11:38:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libpt2.new/libpt2.changes 2015-05-10 10:54:22.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 6 20:04:48 UTC 2015 - [email protected] + +- add libpt2-gcc5-fixes.patch: Fix build against GCC 5.x + +------------------------------------------------------------------- New: ---- libpt2-gcc5-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpt2.spec ++++++ --- /var/tmp/diff_new_pack.TLIw0s/_old 2015-05-10 10:54:22.000000000 +0200 +++ /var/tmp/diff_new_pack.TLIw0s/_new 2015-05-10 10:54:22.000000000 +0200 @@ -40,6 +40,8 @@ Patch3: libpt2-ppc64le.patch # PATCH-FIX-UPSTREAM libpt2-bison-3.0.patch sf#259 [email protected] -- Fix build with bison 3.0 Patch4: libpt2-bison-3.0.patch +# PATCH-FIX-OPENSUSE libpt2-gcc5-fixes.patch [email protected] -- Fix build against GCC 5 +Patch5: libpt2-gcc5-fixes.patch BuildRequires: SDL-devel BuildRequires: bison BuildRequires: cyrus-sasl-devel @@ -185,6 +187,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build export CXXFLAGS="%optflags -fvisibility-inlines-hidden" ++++++ libpt2-gcc5-fixes.patch ++++++ --- ptlib-2.10.10/include/ptlib/critsec.h +++ ptlib-2.10.10/include/ptlib/critsec.h @@ -40,7 +40,7 @@ #if P_HAS_ATOMIC_INT #if defined(__GNUC__) -# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 2 +# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) # include <ext/atomicity.h> # else # include <bits/atomicity.h>
