Hello community,

here is the log from the commit of package libpng16 for openSUSE:Factory 
checked in at 2013-06-24 09:34:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpng16 (Old)
 and      /work/SRC/openSUSE:Factory/.libpng16.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpng16"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpng16/libpng16.changes        2013-04-26 
13:27:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpng16.new/libpng16.changes   2013-06-24 
09:34:11.000000000 +0200
@@ -1,0 +2,10 @@
+Fri Jun 21 18:36:31 UTC 2013 - [email protected]
+
+- Build with LFS_CFLAGS in 32 bit archs otherwise calls such 
+ as png_image_begin_read_from_file() or png_image_write_to_file()
+ will fail to read/write huge images.
+
+- Build with Full RELRO as this library is a possible consumer
+  of malicuous images/files.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libpng16.spec ++++++
--- /var/tmp/diff_new_pack.9SgJck/_old  2013-06-24 09:34:11.000000000 +0200
+++ /var/tmp/diff_new_pack.9SgJck/_new  2013-06-24 09:34:11.000000000 +0200
@@ -98,16 +98,13 @@
 %setup -n libpng-%{version}
 
 %build
-# We'll never use the old pgcc-2.95.1 with the buggy -O3, so having
-# the -O3 that is originally used should work.
-# Substitute the -O2 to -O3 because I'm not sure if simply appending
-# it will preserve(not override) the detailed opt flags used in RPM_OPT_FLAGS:
-CFLAGS="`echo $RPM_OPT_FLAGS|sed 's/-O2/-O3/'` -DPNG_SKIP_SETJMP_CHECK" \
-  ./configure --prefix=/usr \
-             --libdir=%{_libdir} \
-              --mandir=%{_mandir} \
+export CFLAGS="%optflags -O3 -DPNG_SKIP_SETJMP_CHECK $(getconf LFS_CFLAGS)"
+export LDFLAGS="-Wl,-z,relro,-z,now"
+
+%configure \
               --disable-static \
               --with-libpng-compat=no
+make %{?_smp_mflags}
 
 %check
 make check

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to