summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/gcube/ChangeLog6
-rw-r--r--games-emulation/gcube/files/gcube-0.4-underlink.patch10
-rw-r--r--games-emulation/gcube/gcube-0.4-r1.ebuild5
3 files changed, 18 insertions, 3 deletions
diff --git a/games-emulation/gcube/ChangeLog b/games-emulation/gcube/ChangeLog
index 89c34e25718d..33107cb7c242 100644
--- a/games-emulation/gcube/ChangeLog
+++ b/games-emulation/gcube/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/gcube
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gcube/ChangeLog,v 1.10 2011/03/15 20:18:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gcube/ChangeLog,v 1.11 2011/06/10 12:27:14 tupone Exp $
+
+ 10 Jun 2011; Tupone Alfredo <tupone@gentoo.org> gcube-0.4-r1.ebuild,
+ +files/gcube-0.4-underlink.patch:
+ Fix underlink. Bug #367875 by Diego Elio Pettenò
15 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org> gcube-0.4-r1.ebuild:
Add use deps for libsdl (bug #359079)
diff --git a/games-emulation/gcube/files/gcube-0.4-underlink.patch b/games-emulation/gcube/files/gcube-0.4-underlink.patch
new file mode 100644
index 000000000000..f1cff91cb158
--- /dev/null
+++ b/games-emulation/gcube/files/gcube-0.4-underlink.patch
@@ -0,0 +1,10 @@
+--- Makefile.rules.old 2011-06-10 14:14:08.372105234 +0200
++++ Makefile.rules 2011-06-10 14:14:18.504746649 +0200
+@@ -1,6 +1,6 @@
+
+ SDL_CONFIG=sdl-config
+-LIBS=`$(SDL_CONFIG) --libs` -mno-windows -mcygwin -lz -l$(OPENGL)
++LIBS=`$(SDL_CONFIG) --libs` -mno-windows -mcygwin -lz -l$(OPENGL) -lm
+
+ PROFLAGS=-g -Wall -pg -fprofile-arcs -ftest-coverage
+ OPTFLAGS=-O3 -fno-strict-aliasing -fomit-frame-pointer -ffast-math -march=$(CPU) $(OPTIMIZE)
diff --git a/games-emulation/gcube/gcube-0.4-r1.ebuild b/games-emulation/gcube/gcube-0.4-r1.ebuild
index d2a0d2037d28..6f0e61b86874 100644
--- a/games-emulation/gcube/gcube-0.4-r1.ebuild
+++ b/games-emulation/gcube/gcube-0.4-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/gcube/gcube-0.4-r1.ebuild,v 1.6 2011/03/15 20:18:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gcube/gcube-0.4-r1.ebuild,v 1.7 2011/06/10 12:27:14 tupone Exp $
EAPI=2
inherit eutils games
@@ -26,7 +26,8 @@ src_prepare() {
sed -i \
-e '/^CFLAGS=-g/d' Makefile.rules \
|| die "sed failed"
- epatch "${FILESDIR}"/${P}-ldflags.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch \
+ "${FILESDIR}"/${P}-underlink.patch
}
src_install() {