Author: amateja                      Date: Thu Jan 28 13:04:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed build for libpng >= 1.4
- release 5

---- Files affected:
packages/openmotif:
   openmotif.spec (1.87 -> 1.88) 

---- Diffs:

================================================================
Index: packages/openmotif/openmotif.spec
diff -u packages/openmotif/openmotif.spec:1.87 
packages/openmotif/openmotif.spec:1.88
--- packages/openmotif/openmotif.spec:1.87      Thu Jan 28 13:54:35 2010
+++ packages/openmotif/openmotif.spec   Thu Jan 28 14:04:25 2010
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):     OpenMotif
 Name:          openmotif
 Version:       2.3.2
-Release:       4
+Release:       5
 License:       Open Group Public License
 Group:         X11/Libraries
 Source0:       
ftp://ftp.ics.com/openmotif/2.3/%{version}/%{name}-%{version}.tar.gz
@@ -31,7 +31,7 @@
 BuildRequires: flex
 BuildRequires: freetype-devel
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng-devel >= 2:1.4.0
 BuildRequires: libtool
 BuildRequires: libuuid-devel
 BuildRequires: pkgconfig
@@ -176,6 +176,9 @@
 %patch3 -p1
 %patch4 -p1
 
+# png_check_sig was replaced by png_sig_cmp in libpng
+%{__sed} -i -e 's/if (!png_check_sig(sig, 8))/if (png_sig_cmp(sig, 0, 8))/g' 
lib/Xm/Png.c
+
 %build
 %{__libtoolize}
 %{__aclocal} -I .
@@ -334,6 +337,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.88  2010/01/28 13:04:25  amateja
+- fixed build for libpng >= 1.4
+- release 5
+
 Revision 1.87  2010/01/28 12:54:35  amateja
 - release 4
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openmotif/openmotif.spec?r1=1.87&r2=1.88&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to