summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-10 12:27:14 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-10 12:27:14 +0000
commit6657a706930792accc9b2515d8bb46d8b0bca8fe (patch)
tree891a4c17a57c4e4037e345f096e031bdfe01121f /games-emulation
parentRemove old - bug #300298 (diff)
downloadgentoo-2-6657a706930792accc9b2515d8bb46d8b0bca8fe.tar.gz
gentoo-2-6657a706930792accc9b2515d8bb46d8b0bca8fe.tar.bz2
gentoo-2-6657a706930792accc9b2515d8bb46d8b0bca8fe.zip
Fix underlink. Bug #367875
(Portage version: 2.1.10/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation')
-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() {