summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-23 19:33:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-23 19:33:31 +0000
commitf0cebd4fc46d574ab3e685ca8e73be3669dbd9e7 (patch)
treeb43c0f96955f9fcb6ea442ff955f9203ea8ece01 /games-emulation/raine/raine-0.51.9.ebuild
parentinitial commit (diff)
downloadgentoo-2-f0cebd4fc46d574ab3e685ca8e73be3669dbd9e7.tar.gz
gentoo-2-f0cebd4fc46d574ab3e685ca8e73be3669dbd9e7.tar.bz2
gentoo-2-f0cebd4fc46d574ab3e685ca8e73be3669dbd9e7.zip
Fix building with libpng15 wrt #388255 by Roman Dobosz. Fix building with zlib >= 1.2.5.1-r1 (OF).
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/raine/raine-0.51.9.ebuild')
-rw-r--r--games-emulation/raine/raine-0.51.9.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games-emulation/raine/raine-0.51.9.ebuild b/games-emulation/raine/raine-0.51.9.ebuild
index 39451b94bf99..bbf2b288e41e 100644
--- a/games-emulation/raine/raine-0.51.9.ebuild
+++ b/games-emulation/raine/raine-0.51.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/raine-0.51.9.ebuild,v 1.4 2011/06/16 10:11:03 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/raine-0.51.9.ebuild,v 1.5 2011/10/23 19:33:31 ssuominen Exp $
EAPI=2
inherit flag-o-matic eutils games
@@ -35,7 +35,10 @@ src_prepare() {
makefile \
|| die "sed failed"
epatch "${FILESDIR}"/${P}-ldflags.patch \
- "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-underlink.patch \
+ "${FILESDIR}"/${P}-libpng15.patch
+ has_version '>=sys-libs/zlib-1.2.5.1-r1' && \
+ sed -i -e '1i#define OF(x) x' source/mini-unzip/ioapi.h
append-ldflags -Wl,-z,noexecstack
}