Hello community, here is the log from the commit of package libwmf for openSUSE:Factory checked in at Sun Apr 4 20:08:11 CEST 2010. -------- --- libwmf/libwmf.changes 2009-12-24 14:39:52.000000000 +0100 +++ /mounts/work_src_done/STABLE/libwmf/libwmf.changes 2010-04-04 19:04:30.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Apr 4 19:03:37 CEST 2010 - ro@suse.de + +- fix build of in-tree copy of gd to build with new libpng14 + (long deprecated function has been removed) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libwmf-0.2.8.4-gd_libpng.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwmf.spec ++++++ --- /var/tmp/diff_new_pack.QrgHUg/_old 2010-04-04 20:07:39.000000000 +0200 +++ /var/tmp/diff_new_pack.QrgHUg/_new 2010-04-04 20:07:39.000000000 +0200 @@ -26,7 +26,7 @@ Group: System/Libraries AutoReqProv: on Version: 0.2.8.4 -Release: 209 +Release: 210 Summary: Library and Utilities for Displaying and Converting Metafile Images Url: http://wvWare.sourceforge.net/ Source: libwmf-%{version}.tar.bz2 @@ -35,6 +35,7 @@ Patch1: libwmf-%{version}-fix.patch Patch2: libwmf-%{version}-config.patch Patch3: libwmf-%{version}-overflow-CVE-2006-3376.patch +Patch4: libwmf-0.2.8.4-gd_libpng.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -93,6 +94,7 @@ %patch1 -p0 %patch2 -p0 %patch3 -p0 +%patch4 %build %configure --prefix=/usr $RPM_ARCH-suse-linux --enable-magick --libdir=%{_libdir} ++++++ libwmf-0.2.8.4-gd_libpng.patch ++++++ --- src/extra/gd/gd_png.c +++ src/extra/gd/gd_png.c @@ -136,7 +136,7 @@ /* first do a quick check that the file really is a PNG image; could * have used slightly more general png_sig_cmp() function instead */ gdGetBuf (sig, 8, infile); - if (!png_check_sig (sig, 8)) + if (png_sig_cmp (sig, 0, 8)) return NULL; /* bad signature */ #ifndef PNG_SETJMP_NOT_SUPPORTED ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org