packages: xpaint/xpaint.spec - release 2

amateja amateja at pld-linux.org
Fri Jan 29 08:47:04 CET 2010


Author: amateja                      Date: Fri Jan 29 07:47:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- release 2

---- Files affected:
packages/xpaint:
   xpaint.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: packages/xpaint/xpaint.spec
diff -u packages/xpaint/xpaint.spec:1.50 packages/xpaint/xpaint.spec:1.51
--- packages/xpaint/xpaint.spec:1.50	Wed Jan 20 09:59:36 2010
+++ packages/xpaint/xpaint.spec	Fri Jan 29 08:46:59 2010
@@ -8,7 +8,7 @@
 Summary(tr.UTF-8):	X altında boyama programı
 Name:		xpaint
 Version:	2.8.13
-Release:	1
+Release:	2
 License:	MIT
 Group:		X11/Applications/Graphics
 Source0:	http://dl.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2
@@ -17,7 +17,7 @@
 Source2:	%{name}.png
 URL:		http://sf-xpaint.sourceforge.net/
 BuildRequires:	libjpeg-devel
-BuildRequires:	libpng-devel >= 1.0.8
+BuildRequires:	libpng-devel >= 2:1.4.0
 BuildRequires:	libtiff-devel
 BuildRequires:	xorg-cf-files
 BuildRequires:	xorg-lib-libXaw-devel
@@ -72,6 +72,9 @@
 %prep
 %setup -q
 
+# replace obsolete function from libpng
+%{__sed} -i -e 's/png_check_sig( (unsigned char\*) header, 8);/!png_sig_cmp((unsigned char\*) header, 0, 8);/g' rw/readWritePNG.c
+
 %build
 xmkmf
 # to get stable results even if Xaw3d/neXtaw is installed
@@ -138,6 +141,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2010/01/29 07:46:59  amateja
+- release 2
+
 Revision 1.50  2010/01/20 08:59:36  arekm
 - up to 2.8.13
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xpaint/xpaint.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list