- build with PNG_SAFE_LIMITS_SUPPORTED [bnc#912076], [bnc#912929]

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=65
This commit is contained in:
Petr Gajdos 2015-01-13 16:59:41 +00:00 committed by Git OBS Bridge
parent 3d6e3910bf
commit 356d4a7869
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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 \