summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/jvgs/ChangeLog8
-rw-r--r--games-arcade/jvgs/files/jvgs-0.5-flags.patch14
-rw-r--r--games-arcade/jvgs/jvgs-0.5.ebuild8
3 files changed, 26 insertions, 4 deletions
diff --git a/games-arcade/jvgs/ChangeLog b/games-arcade/jvgs/ChangeLog
index 5040db3d719c..a077a0aad6fa 100644
--- a/games-arcade/jvgs/ChangeLog
+++ b/games-arcade/jvgs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/jvgs
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/ChangeLog,v 1.3 2010/07/07 14:42:48 phajdan.jr Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/ChangeLog,v 1.4 2012/09/03 19:28:12 hasufell Exp $
+
+ 03 Sep 2012; Julian Ospald <hasufell@gentoo.org> jvgs-0.5.ebuild,
+ +files/jvgs-0.5-flags.patch:
+ respect cflags wrt #430080
07 Jul 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> jvgs-0.5.ebuild:
x86 stable wrt bug #315909
diff --git a/games-arcade/jvgs/files/jvgs-0.5-flags.patch b/games-arcade/jvgs/files/jvgs-0.5-flags.patch
new file mode 100644
index 000000000000..04f88b88bc6d
--- /dev/null
+++ b/games-arcade/jvgs/files/jvgs-0.5-flags.patch
@@ -0,0 +1,14 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Aug 5 19:57:32 UTC 2012
+Subject: build system
+
+respect cxxflags
+
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" )
++SET( CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -DTIXML_USE_STL" )
+
+ INCLUDE_DIRECTORIES(
+ ${SDL_INCLUDE_DIR}
diff --git a/games-arcade/jvgs/jvgs-0.5.ebuild b/games-arcade/jvgs/jvgs-0.5.ebuild
index cfc81a2500a1..be2cfdc110a0 100644
--- a/games-arcade/jvgs/jvgs-0.5.ebuild
+++ b/games-arcade/jvgs/jvgs-0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/jvgs-0.5.ebuild,v 1.3 2010/07/07 14:42:48 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/jvgs/jvgs-0.5.ebuild,v 1.4 2012/09/03 19:28:12 hasufell Exp $
EAPI=2
CMAKE_IN_SOURCE_BUILD=1
@@ -26,6 +26,10 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}-src
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
src_configure() {
cmake-utils_src_configure
}