summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-09-30 21:32:33 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-09-30 21:32:33 +0000
commit429d1456f48113c4441e6c6fac68f776b7c5b0ea (patch)
tree6a231b88fd99f9b045b579994a4fe434c0bba2b8 /games-strategy/widelands
parentUpdate message for lightdm (diff)
downloadgentoo-2-429d1456f48113c4441e6c6fac68f776b7c5b0ea.tar.gz
gentoo-2-429d1456f48113c4441e6c6fac68f776b7c5b0ea.tar.bz2
gentoo-2-429d1456f48113c4441e6c6fac68f776b7c5b0ea.zip
Add sed patch to support building with newer zlib (bug #385029)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r--games-strategy/widelands/ChangeLog5
-rw-r--r--games-strategy/widelands/widelands-0.16.ebuild8
2 files changed, 8 insertions, 5 deletions
diff --git a/games-strategy/widelands/ChangeLog b/games-strategy/widelands/ChangeLog
index 575929d93c83..c8d9ebdd7f07 100644
--- a/games-strategy/widelands/ChangeLog
+++ b/games-strategy/widelands/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/widelands
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.36 2011/09/15 03:32:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.37 2011/09/30 21:32:33 mr_bones_ Exp $
+
+ 30 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org> widelands-0.16.ebuild:
+ Add sed patch to support building with newer zlib (bug #385029)
15 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> widelands-0.16.ebuild,
+files/widelands-0.16-libpng15.patch:
diff --git a/games-strategy/widelands/widelands-0.16.ebuild b/games-strategy/widelands/widelands-0.16.ebuild
index 375d7efe757c..a256c4fedd8a 100644
--- a/games-strategy/widelands/widelands-0.16.ebuild
+++ b/games-strategy/widelands/widelands-0.16.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-strategy/widelands/widelands-0.16.ebuild,v 1.3 2011/09/15 03:32:59 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.16.ebuild,v 1.4 2011/09/30 21:32:33 mr_bones_ Exp $
EAPI=3
inherit versionator cmake-utils games
@@ -33,9 +33,9 @@ CMAKE_BUILD_TYPE=Release
PREFIX=${GAMES_DATADIR}/${PN}
src_prepare() {
- sed -i \
- -e 's:__ppc__:__PPC__:' src/s2map.cc \
- || die "sed s2map.cc failed"
+ sed -i -e 's:__ppc__:__PPC__:' src/s2map.cc || die
+ sed -i -e '74i#define OF(x) x' src/io/filesystem/{un,}zip.h || die
+ sed -i -e '22i#define OF(x) x' src/io/filesystem/ioapi.h || die
epatch \
"${FILESDIR}"/${P}-goldmine.patch \
"${FILESDIR}"/${P}-libpng15.patch