Hello community, here is the log from the commit of package hp2xx for openSUSE:Factory checked in at Tue Apr 6 23:12:13 CEST 2010. -------- --- hp2xx/hp2xx.changes 2009-11-24 12:17:23.000000000 +0100 +++ hp2xx/hp2xx.changes 2010-02-25 15:19:56.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Feb 25 14:19:17 UTC 2010 - crrodriguez@opensuse.org + +- fix deprecated messages with new libpng + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- hp2xx-3.4.2-png-deprecated.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hp2xx.spec ++++++ --- /var/tmp/diff_new_pack.WI15Gl/_old 2010-04-06 23:11:14.000000000 +0200 +++ /var/tmp/diff_new_pack.WI15Gl/_new 2010-04-06 23:11:14.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package hp2xx (Version 3.4.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -25,11 +25,12 @@ Url: http://www.gnu.org/software/hp2xx/hp2xx.html AutoReqProv: on Version: 3.4.2 -Release: 566 +Release: 567 Summary: Converts HP-GL Plotter Language into a Variety of Formats Source: hp2xx-%{version}.tar.bz2 Patch0: hp2xx-%{version}-fix.patch Patch1: hp2xx-3.4.2-implicit-decls.patch +Patch2: hp2xx-3.4.2-png-deprecated.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq @@ -49,6 +50,7 @@ %setup -q %patch0 -p1 -b .fix %patch1 +%patch2 %build make OPTFLAGS="$RPM_OPT_FLAGS" LFLAGS="-L/usr/X11R6/%{_lib}" ++++++ hp2xx-3.4.2-png-deprecated.patch ++++++ Index: sources/png.c =================================================================== --- sources/png.c.orig 2002-04-07 13:53:17.000000000 +0200 +++ sources/png.c 2010-02-25 15:14:32.256293000 +0100 @@ -38,7 +38,7 @@ void pdImagePNG(im, fd) } /* set up error handlimg for libpng */ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_write_struct(&png_ptr, &info_ptr); return; @@ -98,7 +98,7 @@ void pdImagePNG(im, fd) png_write_end(png_ptr, info_ptr); /* if you malloced the palette, free it here */ - free(info_ptr->palette); + png_free_data(png_ptr, info_ptr, PNG_FREE_PLTE, -1); /* if you allocated any text comments, free them here */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org