From b1558e978a540f132c531dd8b4c2ee2c345dea85 Mon Sep 17 00:00:00 2001 From: amateja Date: Thu, 28 Jan 2010 19:03:21 +0000 Subject: [PATCH] - fixed build with libpng 1.4.0 Changed files: xine-ui.spec -> 1.105 --- xine-ui.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xine-ui.spec b/xine-ui.spec index 784d40d..736ba62 100644 --- a/xine-ui.spec +++ b/xine-ui.spec @@ -42,7 +42,7 @@ BuildRequires: curl-devel >= 7.10.2 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 @@ -151,6 +151,8 @@ Odtwarzacz filmów używający biblioteki DirectFB. %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 -- 2.44.0