Hello community, here is the log from the commit of package openmotif for openSUSE:Factory checked in at Tue Apr 13 22:19:03 CEST 2010. -------- --- openmotif/openmotif.changes 2010-02-23 13:08:56.000000000 +0100 +++ /mounts/work_src_done/STABLE/openmotif/openmotif.changes 2010-04-08 17:51:18.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 8 17:47:03 CEST 2010 - pgajdos@suse.cz + +- fixed build with libpng14 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- openmotif-libpng14.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmotif.spec ++++++ --- /var/tmp/diff_new_pack.3tfgmp/_old 2010-04-13 22:18:40.000000000 +0200 +++ /var/tmp/diff_new_pack.3tfgmp/_new 2010-04-13 22:18:40.000000000 +0200 @@ -26,7 +26,7 @@ %endif BuildRequires: bison flex freetype2-devel libjpeg-devel libpng-devel lzma pkgconfig update-desktop-files xorg-x11-devel Version: 2.3.2 -Release: 1 +Release: 2 License: MOTIF LICENSE (http://www.opengroup.org/openmotif/license) Group: System/Libraries AutoReqProv: on @@ -47,6 +47,7 @@ Patch7: openmotif-unaligned.diff Patch8: mwm.diff Patch9: openmotif-editres.diff +Patch10: openmotif-libpng14.diff %description This is the Open Motif runtime environment. It includes the Motif @@ -109,6 +110,7 @@ %patch7 %patch8 %patch9 -p1 +%patch10 -p1 %build autoreconf --force --install ++++++ openmotif-libpng14.diff ++++++ Index: openmotif-2.3.2/lib/Xm/Png.c =================================================================== --- openmotif-2.3.2.orig/lib/Xm/Png.c +++ openmotif-2.3.2/lib/Xm/Png.c @@ -144,7 +144,7 @@ png_load_file(FILE *infile, unsigned lon png_bytepp row_pointers = NULL; fread(sig, 1, 8, infile); - if (!png_check_sig(sig, 8)) + if (png_sig_cmp(sig, 0, 8) != 0) return 1; /* bad signature */ png_ptr = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org