summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-21 06:23:09 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-21 06:23:09 +0000
commit5c8a193e03c7ba31a43c70f2f0441b61b372c131 (patch)
tree5fa4c5a435c8d600638319e6e2cf08190828318c /games-emulation/vbam
parentVersion bump. (diff)
downloadgentoo-2-5c8a193e03c7ba31a43c70f2f0441b61b372c131.tar.gz
gentoo-2-5c8a193e03c7ba31a43c70f2f0441b61b372c131.tar.bz2
gentoo-2-5c8a193e03c7ba31a43c70f2f0441b61b372c131.zip
Fix build issue with the latest zlib macro issues thanks to vapier (bug #383627).
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/vbam')
-rw-r--r--games-emulation/vbam/ChangeLog6
-rw-r--r--games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/games-emulation/vbam/ChangeLog b/games-emulation/vbam/ChangeLog
index 3070e09d0898..9cd6aa3ff7f7 100644
--- a/games-emulation/vbam/ChangeLog
+++ b/games-emulation/vbam/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/vbam
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/ChangeLog,v 1.7 2011/06/17 21:01:12 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/ChangeLog,v 1.8 2011/09/21 06:23:09 radhermit Exp $
+
+ 21 Sep 2011; Tim Harder <radhermit@gentoo.org> vbam-1.8.0.1009-r1.ebuild:
+ Fix build issue with the latest zlib macro issues thanks to vapier (bug
+ #383627).
17 Jun 2011; Tim Harder <radhermit@gentoo.org> vbam-1.8.0.1009-r1.ebuild,
+files/vbam-1.8.0.1009-no-nls.patch:
diff --git a/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild b/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild
index 36e3bfa304e2..34a959e81e1b 100644
--- a/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild
+++ b/games-emulation/vbam/vbam-1.8.0.1009-r1.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/vbam/vbam-1.8.0.1009-r1.ebuild,v 1.3 2011/06/17 21:01:12 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vbam/vbam-1.8.0.1009-r1.ebuild,v 1.4 2011/09/21 06:23:09 radhermit Exp $
EAPI=2
@@ -39,6 +39,9 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-desktop.patch \
"${FILESDIR}"/${P}-no-nls.patch
+ # Fix issue with zlib-1.2.5.1 macros (bug #383179)
+ sed -i '1i#define OF(x) x' src/common/memgzio.c || die
+
sed -i -e "s:\(DESTINATION\) bin:\1 ${GAMES_BINDIR}:" CMakeLists.txt || die
}