Hello community, here is the log from the commit of package libcryptopp for openSUSE:Factory checked in at 2016-06-25 02:21:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcryptopp (Old) and /work/SRC/openSUSE:Factory/.libcryptopp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcryptopp" Changes: -------- --- /work/SRC/openSUSE:Factory/libcryptopp/libcryptopp.changes 2015-07-12 22:53:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcryptopp.new/libcryptopp.changes 2016-06-25 02:22:10.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jun 20 11:09:05 UTC 2016 - [email protected] + +- add patch cryptopp-gcc6.patch + * fix boo#985143 + * fix narrowing conversion from unsigned int to int inside {} + +------------------------------------------------------------------- New: ---- cryptopp-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcryptopp.spec ++++++ --- /var/tmp/diff_new_pack.H32qEl/_old 2016-06-25 02:22:12.000000000 +0200 +++ /var/tmp/diff_new_pack.H32qEl/_new 2016-06-25 02:22:12.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcryptopp # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -43,6 +43,8 @@ Patch4: 0001-disable_os_rng_test.patch # PATCH-FIX-UPSTREAM Patch5: libcryptopp-CVE-2015-2141.patch +# PATCH-FIX-UPSTREAM fix gcc 6 narrowing conversion from unsigned int to int inside {} +Patch6: cryptopp-gcc6.patch BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: unzip @@ -81,6 +83,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build make %{?_smp_mflags} \ ++++++ cryptopp-gcc6.patch ++++++ Index: cryptopp/wake.cpp =================================================================== --- cryptopp.orig/wake.cpp +++ cryptopp/wake.cpp @@ -23,7 +23,7 @@ void WAKE_Base::GenKey(word32 k0, word32 signed int x, z, p; // x and z were declared as "long" in Wheeler's paper, which is a signed type. I don't know if that was intentional, but it's too late to change it now. -- Wei 7/4/2010 CRYPTOPP_COMPILE_ASSERT(sizeof(x) == 4); - static int tt[10]= { + static unsigned int tt[10]= { 0x726a8f3b, // table 0xe69a3b5c, 0xd3c71fe5,
