Hello community, here is the log from the commit of package lzop for openSUSE:Factory checked in at 2016-02-17 10:29:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lzop (Old) and /work/SRC/openSUSE:Factory/.lzop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lzop" Changes: -------- --- /work/SRC/openSUSE:Factory/lzop/lzop.changes 2015-03-16 06:53:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lzop.new/lzop.changes 2016-02-17 12:15:26.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 10 15:14:14 UTC 2016 - [email protected] + +- Add lzop-1.03-gcc6.patch to fix undefined behavior in its ACC test + uncovered by GCC 6. + +------------------------------------------------------------------- New: ---- lzop-1.03-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lzop.spec ++++++ --- /var/tmp/diff_new_pack.biumnc/_old 2016-02-17 12:15:27.000000000 +0100 +++ /var/tmp/diff_new_pack.biumnc/_new 2016-02-17 12:15:27.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lzop # -# 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 @@ -25,6 +25,7 @@ Url: http://www.lzop.org Source0: http://www.lzop.org/download/%{name}-%{version}.tar.gz Source1: %{name}.changes +Patch: lzop-1.03-gcc6.patch BuildRequires: lzo-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,6 +41,7 @@ %prep %setup -q +%patch modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" ++++++ lzop-1.03-gcc6.patch ++++++ --- src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100 +++ src/miniacc.h 2016-02-10 16:12:14.973297054 +0100 @@ -4469,12 +4469,12 @@ #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150) #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) #else - ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) + ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0) #endif ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0) #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) #else - ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) + ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0) #endif ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0) #if defined(acc_int16e_t) @@ -4703,7 +4703,7 @@ #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC) #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1) - ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) + ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) #endif #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560)) # pragma option pop
