Hello community, here is the log from the commit of package zlib for openSUSE:Factory checked in at 2013-07-29 21:13:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zlib (Old) and /work/SRC/openSUSE:Factory/.zlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zlib" Changes: -------- --- /work/SRC/openSUSE:Factory/zlib/zlib.changes 2013-05-16 11:45:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.zlib.new/zlib.changes 2013-07-29 21:14:00.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 29 12:37:19 UTC 2013 - [email protected] + +- zlib-format.patch, backport missing sle11 feature back to openSUSE + bnc#831880 + +------------------------------------------------------------------- New: ---- zlib-format.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zlib.spec ++++++ --- /var/tmp/diff_new_pack.isJjhb/_old 2013-07-29 21:14:01.000000000 +0200 +++ /var/tmp/diff_new_pack.isJjhb/_new 2013-07-29 21:14:01.000000000 +0200 @@ -31,6 +31,8 @@ Source3: zlib-rpmlintrc #PATCH-FIX-SUSE: fate#314093, sent upstream by IBM Patch0: zlib-1.2.7-improve-longest_match-performance.patch +#PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf +Patch1: zlib-format.patch BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 @@ -95,6 +97,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export LDFLAGS="-Wl,-z,relro,-z,now" ++++++ zlib-format.patch ++++++ From: [email protected] Subject: supply format arguments to gzprintf(). Index: zlib-1.2.7/zlib.h =================================================================== --- zlib-1.2.7.orig/zlib.h 2012-05-03 06:12:35.000000000 +0200 +++ zlib-1.2.7/zlib.h 2012-09-27 13:12:58.187146312 +0200 @@ -1329,7 +1329,11 @@ error. */ -ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); +ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)) +#ifdef __GNUC__ + __attribute__((__format__(__printf__,2,3))) +#endif +; /* Converts, formats, and writes the arguments to the compressed file under control of the format string, as in fprintf. gzprintf returns the number of -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
