summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-06-20 19:41:14 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-06-20 19:41:14 +0000
commit09d0e144e1281e6d09be8faa1d9916052a669158 (patch)
tree58a3f4ff42ed1f94e2afbb61c6f1be639b5d51f6 /games-emulation/generator
parentFix underlink. Bug #370129 (diff)
downloadgentoo-2-09d0e144e1281e6d09be8faa1d9916052a669158.tar.gz
gentoo-2-09d0e144e1281e6d09be8faa1d9916052a669158.tar.bz2
gentoo-2-09d0e144e1281e6d09be8faa1d9916052a669158.zip
Fix underlink. Bug #370133
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/generator')
-rw-r--r--games-emulation/generator/ChangeLog6
-rw-r--r--games-emulation/generator/files/generator-0.35_p3-underlink.patch11
-rw-r--r--games-emulation/generator/generator-0.35_p3.ebuild5
3 files changed, 19 insertions, 3 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog
index e3198ff953be..b84c717dfb4e 100644
--- a/games-emulation/generator/ChangeLog
+++ b/games-emulation/generator/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/generator
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.25 2011/02/25 22:10:41 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.26 2011/06/20 19:41:14 tupone Exp $
+
+ 20 Jun 2011; Tupone Alfredo <tupone@gentoo.org> generator-0.35_p3.ebuild,
+ +files/generator-0.35_p3-underlink.patch:
+ Fix underlink. Bug #370133 by Diego Elio Pettenò
25 Feb 2011; Kevin McCarthy <signals@gentoo.org> generator-0.35_p3.ebuild:
Updated depends from media-libs/jpeg to virtual/jpeg
diff --git a/games-emulation/generator/files/generator-0.35_p3-underlink.patch b/games-emulation/generator/files/generator-0.35_p3-underlink.patch
new file mode 100644
index 000000000000..964a6bea0883
--- /dev/null
+++ b/games-emulation/generator/files/generator-0.35_p3-underlink.patch
@@ -0,0 +1,11 @@
+--- main/Makefile.am.old 2011-06-20 21:35:25.832460030 +0200
++++ main/Makefile.am 2011-06-20 21:36:29.490503981 +0200
+@@ -7,7 +7,7 @@
+ bin_PROGRAMS = @PROGRAM@
+ EXTRA_PROGRAMS = generator-svgalib generator-tcltk generator-allegro \
+ generator-gtk generator-sdl
+-LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ \
++LDADD = ../cpu68k/lib68k.a ../ym2612/libym2612.a @MY_LIBS@ -lm \
+ ../sn76496/libsn76496.a
+
+ ## this should be generator_tcltk_DATA but it won't let me do that
diff --git a/games-emulation/generator/generator-0.35_p3.ebuild b/games-emulation/generator/generator-0.35_p3.ebuild
index b6dbd16ba9c3..79c648130dec 100644
--- a/games-emulation/generator/generator-0.35_p3.ebuild
+++ b/games-emulation/generator/generator-0.35_p3.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/generator/generator-0.35_p3.ebuild,v 1.8 2011/02/25 22:10:41 signals Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35_p3.ebuild,v 1.9 2011/06/20 19:41:14 tupone Exp $
EAPI=2
inherit autotools eutils toolchain-funcs games
@@ -26,7 +26,8 @@ src_prepare() {
mkdir my-bins
epatch \
- "${FILESDIR}"/${P}-configure.patch
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${P}-underlink.patch
sed -i \
-e 's/@GTK_CFLAGS@//g' \