summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-10 21:46:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-10 21:46:59 +0000
commit2211ad855bfd0a818a99fafc260321251f57250e (patch)
tree251fd3cbe16a862107430d7d12a87e0f30158aa0 /games-fps/tenebrae
parentVersion bump. (diff)
downloadgentoo-2-2211ad855bfd0a818a99fafc260321251f57250e.tar.gz
gentoo-2-2211ad855bfd0a818a99fafc260321251f57250e.tar.bz2
gentoo-2-2211ad855bfd0a818a99fafc260321251f57250e.zip
Fix building with libpng14 wrt #308889 by Locke Shinseiko.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/tenebrae')
-rw-r--r--games-fps/tenebrae/ChangeLog7
-rw-r--r--games-fps/tenebrae/tenebrae-1.04.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/games-fps/tenebrae/ChangeLog b/games-fps/tenebrae/ChangeLog
index 9fd5a65ac844..2d967f2eafb3 100644
--- a/games-fps/tenebrae/ChangeLog
+++ b/games-fps/tenebrae/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/tenebrae
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/ChangeLog,v 1.10 2007/07/02 17:39:11 nyhm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/ChangeLog,v 1.11 2010/03/10 21:46:59 ssuominen Exp $
+
+ 10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> tenebrae-1.04.ebuild:
+ Fix building with libpng14 wrt #308889 by Locke Shinseiko.
02 Jul 2007; Tristan Heaven <nyhm@gentoo.org>
+files/tenebrae-1.04-exec-stack.patch, tenebrae-1.04.ebuild:
diff --git a/games-fps/tenebrae/tenebrae-1.04.ebuild b/games-fps/tenebrae/tenebrae-1.04.ebuild
index a743066bf3e5..bc6117226f35 100644
--- a/games-fps/tenebrae/tenebrae-1.04.ebuild
+++ b/games-fps/tenebrae/tenebrae-1.04.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.12 2007/07/02 17:39:11 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/tenebrae/tenebrae-1.04.ebuild,v 1.13 2010/03/10 21:46:59 ssuominen Exp $
#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
#ECVS_MODULE="tenebrae_0"
@@ -38,6 +38,11 @@ src_unpack() {
cvs_src_unpack
fi
cd tenebrae_0
+
+ sed -i \
+ -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' \
+ gl_warp.c || die
+
epatch \
"${FILESDIR}"/${PV}-glhax.patch \
"${FILESDIR}"/${P}-exec-stack.patch