Hello community, here is the log from the commit of package ibmswtpm2 for openSUSE:Factory checked in at 2017-06-12 15:32:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibmswtpm2 (Old) and /work/SRC/openSUSE:Factory/.ibmswtpm2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibmswtpm2" Mon Jun 12 15:32:12 2017 rev:3 rq:502411 version:832 Changes: -------- --- /work/SRC/openSUSE:Factory/ibmswtpm2/ibmswtpm2.changes 2017-04-11 09:35:39.741607979 +0200 +++ /work/SRC/openSUSE:Factory/.ibmswtpm2.new/ibmswtpm2.changes 2017-06-12 15:32:21.321007124 +0200 @@ -1,0 +2,5 @@ +Mon Jun 5 11:49:18 UTC 2017 - [email protected] + +- fic build with gcc7: fix_unreferenced_macro-gcc7.patch + +------------------------------------------------------------------- New: ---- fix_unreferenced_macro-gcc7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibmswtpm2.spec ++++++ --- /var/tmp/diff_new_pack.vpZsKj/_old 2017-06-12 15:32:22.352861594 +0200 +++ /var/tmp/diff_new_pack.vpZsKj/_new 2017-06-12 15:32:22.356861030 +0200 @@ -28,6 +28,7 @@ Source: ibmtpm%{version}.tar Patch1: makefile.patch Patch2: bits.patch +Patch3: fix_unreferenced_macro-gcc7.patch # FIXME this is broken on BE - upstream is waiting for current spec testing to finish before porting ExcludeArch: ppc ppc64 s390 s390x BuildRequires: libopenssl-devel < 1.1 @@ -49,6 +50,7 @@ %setup -c -q %patch1 -p 1 %patch2 -p 1 +%patch3 -p 1 %build cd src ++++++ fix_unreferenced_macro-gcc7.patch ++++++ diff -ur ibmswtpm2-832.org/src/CompilerDependencies.h ibmswtpm2-832/src/CompilerDependencies.h --- ibmswtpm2-832.org/src/CompilerDependencies.h 2016-11-16 19:31:54.000000000 +0100 +++ ibmswtpm2-832/src/CompilerDependencies.h 2017-06-05 13:47:16.005232774 +0200 @@ -142,7 +142,7 @@ # define LIB_IMPORT # define _REDUCE_WARNING_LEVEL_(n) # define _NORMAL_WARNING_LEVEL_ -# define NOT_REFERENCED(x) (x = x) +# define NOT_REFERENCED(x) (void)(x) #endif // _MSC_VER #ifdef TPM_POSIX Only in ibmswtpm2-832/src: CompilerDependencies.h~
