diff --git a/libpng16.changes b/libpng16.changes index 273a239..32ede2c 100644 --- a/libpng16.changes +++ b/libpng16.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 13 16:53:06 UTC 2015 - pgajdos@suse.com + +- build with PNG_SAFE_LIMITS_SUPPORTED [bnc#912076], [bnc#912929] + ------------------------------------------------------------------- Mon Dec 29 14:25:02 UTC 2014 - pgajdos@suse.com diff --git a/libpng16.spec b/libpng16.spec index 6dba72e..d737daf 100644 --- a/libpng16.spec +++ b/libpng16.spec @@ -1,7 +1,7 @@ # # spec file for package libpng16 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -112,7 +112,8 @@ PNG files. %setup -n libpng-%{version} %build -export CFLAGS="%optflags -O3 -DPNG_SKIP_SETJMP_CHECK $(getconf LFS_CFLAGS)" +# PNG_SAFE_LIMITS_SUPPORTED: http://www.openwall.com/lists/oss-security/2015/01/10/1 +export CFLAGS="%optflags -O3 -DPNG_SAFE_LIMITS_SUPPORTED -DPNG_SKIP_SETJMP_CHECK $(getconf LFS_CFLAGS)" export LDFLAGS="-Wl,-z,relro,-z,now" %configure \