diff options
author | Hanno Böck <hanno@gentoo.org> | 2010-02-15 22:28:20 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2010-02-15 22:28:20 +0000 |
commit | 09e89f6c127362f0c7641e877c2ac066d546f478 (patch) | |
tree | 88fad681f00646d4d9df698b6a59f6b8709ce76d /media-video/xine-ui | |
parent | Import to gentoo from perl-experimental (diff) | |
download | gentoo-2-09e89f6c127362f0c7641e877c2ac066d546f478.tar.gz gentoo-2-09e89f6c127362f0c7641e877c2ac066d546f478.tar.bz2 gentoo-2-09e89f6c127362f0c7641e877c2ac066d546f478.zip |
xine-ui fix for libpng 1.4
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'media-video/xine-ui')
-rw-r--r-- | media-video/xine-ui/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/xine-ui/files/xine-ui-0.99.5-libpng14.patch | 11 | ||||
-rw-r--r-- | media-video/xine-ui/xine-ui-0.99.5-r2.ebuild | 5 |
3 files changed, 20 insertions, 4 deletions
diff --git a/media-video/xine-ui/ChangeLog b/media-video/xine-ui/ChangeLog index 1f0c05d4256a..0aa80c649309 100644 --- a/media-video/xine-ui/ChangeLog +++ b/media-video/xine-ui/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/xine-ui -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.165 2008/10/15 12:01:34 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.166 2010/02/15 22:28:19 hanno Exp $ + + 15 Feb 2010; Hanno Boeck <hanno@gentoo.org> xine-ui-0.99.5-r2.ebuild, + +files/xine-ui-0.99.5-libpng14.patch: + Fix for libpng 1.4. 15 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> xine-ui-0.99.5-r2.ebuild: diff --git a/media-video/xine-ui/files/xine-ui-0.99.5-libpng14.patch b/media-video/xine-ui/files/xine-ui-0.99.5-libpng14.patch new file mode 100644 index 000000000000..4f0d5e14a8f0 --- /dev/null +++ b/media-video/xine-ui/files/xine-ui-0.99.5-libpng14.patch @@ -0,0 +1,11 @@ +--- xine-ui-0.99.5/src/xitk/Imlib-light/load.c Mon Jul 14 22:44:10 2003 ++++ xine-ui-0.99.5-new/src/xitk/Imlib-light/load.c Sat Jan 30 04:37:54 2010 +@@ -193,7 +193,7 @@ + return 0; + fread(buf, 1, 8, f); + rewind(f); +- return (int)png_check_sig(buf, 8); ++ return (int) !png_sig_cmp(buf, 0, 8); + } + + ImlibImage * Imlib_load_image(ImlibData * id, char *file) { diff --git a/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild b/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild index dca9792678e9..f4e38bc532fe 100644 --- a/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild +++ b/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild,v 1.2 2008/10/15 12:01:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.5-r2.ebuild,v 1.3 2010/02/15 22:28:19 hanno Exp $ EAPI=2 @@ -47,6 +47,7 @@ DEPEND="${RDEPEND} src_prepare() { epatch "${FILESDIR}/${P}-new_libcaca_api.patch" + epatch "${FILESDIR}/${P}-libpng14.patch" AT_M4DIR="m4" eautoreconf rm misc/xine-bugreport |