summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-10 13:18:10 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-10 13:18:10 +0000
commit84acc8f96d0c7b96627a6a55a3b43abaac28d7a6 (patch)
treeeddc8427c84f6f06705e5ea0e025a67ebd83fad3 /media-plugins
parentVersion bump (diff)
downloadgentoo-2-84acc8f96d0c7b96627a6a55a3b43abaac28d7a6.tar.gz
gentoo-2-84acc8f96d0c7b96627a6a55a3b43abaac28d7a6.tar.bz2
gentoo-2-84acc8f96d0c7b96627a6a55a3b43abaac28d7a6.zip
Fix libpng14 support; implicit declaration of function png_set_gray_1_2_4_to_8.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gst-plugins-libpng/ChangeLog7
-rw-r--r--media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild11
2 files changed, 15 insertions, 3 deletions
diff --git a/media-plugins/gst-plugins-libpng/ChangeLog b/media-plugins/gst-plugins-libpng/ChangeLog
index 4d0a97b76b04..f97e730b19a1 100644
--- a/media-plugins/gst-plugins-libpng/ChangeLog
+++ b/media-plugins/gst-plugins-libpng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/gst-plugins-libpng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libpng/ChangeLog,v 1.122 2010/01/05 18:21:25 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libpng/ChangeLog,v 1.123 2010/03/10 13:18:10 ssuominen Exp $
+
+ 10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ gst-plugins-libpng-0.10.17.ebuild:
+ Fix libpng14 support; implicit declaration of function
+ png_set_gray_1_2_4_to_8.
05 Jan 2010; nixnut <nixnut@gentoo.org> gst-plugins-libpng-0.10.16.ebuild:
ppc stable #290343
diff --git a/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild
index b2090d205df7..3cf4b7e7548c 100644
--- a/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild
+++ b/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild,v 1.1 2009/11/17 04:17:00 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gst-plugins-libpng/gst-plugins-libpng-0.10.17.ebuild,v 1.2 2010/03/10 13:18:10 ssuominen Exp $
inherit gst-plugins-good
@@ -12,3 +12,10 @@ RDEPEND=">=media-libs/libpng-1.2
>=media-libs/gstreamer-0.10.25
>=media-libs/gst-plugins-base-0.10.25"
DEPEND="${RDEPEND}"
+
+src_unpack() {
+ gst-plugins-good_src_unpack
+ sed -i \
+ -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
+ "${S}"/ext/libpng/gstpngdec.c || die
+}