summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-10-16 03:00:39 +0000
committerNaohiro Aota <naota@gentoo.org>2012-10-16 03:00:39 +0000
commitf163e827626f2fe953842268681f207939fc0388 (patch)
tree8671ef0261db52b0448b50bc92f8f069d327ec4a /games-emulation
parentStable on alpha, bug 427544. (diff)
downloadgentoo-2-f163e827626f2fe953842268681f207939fc0388.tar.gz
gentoo-2-f163e827626f2fe953842268681f207939fc0388.tar.bz2
gentoo-2-f163e827626f2fe953842268681f207939fc0388.zip
Add patch to workaround FreeBSD build failure. #232273 ; Add ~x86-fbsd.
(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/visualboyadvance/ChangeLog7
-rw-r--r--games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-sys-types.patch12
-rw-r--r--games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild7
3 files changed, 22 insertions, 4 deletions
diff --git a/games-emulation/visualboyadvance/ChangeLog b/games-emulation/visualboyadvance/ChangeLog
index f27231e44208..25d09cbf2b0d 100644
--- a/games-emulation/visualboyadvance/ChangeLog
+++ b/games-emulation/visualboyadvance/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/visualboyadvance
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.46 2012/10/12 14:26:32 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.47 2012/10/16 03:00:39 naota Exp $
+
+ 16 Oct 2012; <naota@gentoo.org>
+ +files/visualboyadvance-1.7.2-sys-types.patch,
+ visualboyadvance-1.7.2-r3.ebuild:
+ Add patch to workaround FreeBSD build failure. #232273 ; Add ~x86-fbsd.
12 Oct 2012; <naota@gentoo.org> visualboyadvance-1.7.2-r3.ebuild:
Revert mis-added ~x86-fbsd.
diff --git a/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-sys-types.patch b/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-sys-types.patch
new file mode 100644
index 000000000000..8f78d6e4fd78
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/visualboyadvance-1.7.2-sys-types.patch
@@ -0,0 +1,12 @@
+diff --git a/src/expr.cpp b/src/expr.cpp
+index 25c68f6..47237cb 100644
+--- a/src/expr.cpp
++++ b/src/expr.cpp
+@@ -19,6 +19,7 @@ namespace std {
+ #include <memory.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <sys/types.h>
+ }
+
+ using namespace std;
diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild
index d9116803f2b7..4f7c1c2b3cc5 100644
--- a/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild
+++ b/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild,v 1.9 2012/10/12 14:26:32 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r3.ebuild,v 1.10 2012/10/16 03:00:39 naota Exp $
EAPI=2
inherit eutils flag-o-matic autotools games
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-src-${PV}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE="gtk mmx nls"
RDEPEND="media-libs/libpng
@@ -49,7 +49,8 @@ src_prepare() {
"${FILESDIR}"/${P}-ovflfix.patch \
"${FILESDIR}"/${P}-libpng15.patch \
"${FILESDIR}"/${P}-zlib.patch \
- "${FILESDIR}"/${P}-zlib-1.2.6.patch
+ "${FILESDIR}"/${P}-zlib-1.2.6.patch \
+ "${FILESDIR}"/${P}-sys-types.patch
eautoreconf