packages: xine-ui/xine-ui.spec - fixed build with libpng 1.4.0

amateja amateja at pld-linux.org
Thu Jan 28 20:03:29 CET 2010


Author: amateja                      Date: Thu Jan 28 19:03:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed build with libpng 1.4.0

---- Files affected:
packages/xine-ui:
   xine-ui.spec (1.104 -> 1.105) 

---- Diffs:

================================================================
Index: packages/xine-ui/xine-ui.spec
diff -u packages/xine-ui/xine-ui.spec:1.104 packages/xine-ui/xine-ui.spec:1.105
--- packages/xine-ui/xine-ui.spec:1.104	Thu Jan 28 19:23:07 2010
+++ packages/xine-ui/xine-ui.spec	Thu Jan 28 20:03:21 2010
@@ -43,7 +43,7 @@
 BuildRequires:	gettext-devel
 %{?with_caca:BuildRequires:	libcaca-devel >= 0.9}
 %{?with_nvtv:BuildRequires:	libnvtvsimple-devel >= 0.4.6}
-BuildRequires:	libpng-devel
+BuildRequires:	libpng-devel	>= 2:1.4.0
 BuildRequires:	libtool
 %{?with_lirc:BuildRequires:	lirc-devel}
 BuildRequires:	ncurses-devel
@@ -152,6 +152,8 @@
 %patch4 -p1
 #%{?with_vdr:%patchX -p1}
 
+%{__sed} -i -e 's/return (int)png_check_sig(buf, 8);/return (int)!png_sig_cmp(buf, 0, 8);/g' src/xitk/Imlib-light/load.c
+
 rm -f po/stamp-po
 
 %build
@@ -244,6 +246,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.105  2010/01/28 19:03:21  amateja
+- fixed build with libpng 1.4.0
+
 Revision 1.104  2010/01/28 18:23:07  amateja
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xine-ui/xine-ui.spec?r1=1.104&r2=1.105&f=u



More information about the pld-cvs-commit mailing list