summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-arcade/epiar/ChangeLog8
-rw-r--r--games-arcade/epiar/epiar-0.5-r1.ebuild7
-rw-r--r--games-arcade/epiar/files/epiar-0.5-underlink.patch10
3 files changed, 20 insertions, 5 deletions
diff --git a/games-arcade/epiar/ChangeLog b/games-arcade/epiar/ChangeLog
index a8d103ba1c93..724f9fc03ae3 100644
--- a/games-arcade/epiar/ChangeLog
+++ b/games-arcade/epiar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/epiar
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/ChangeLog,v 1.17 2010/10/15 13:15:42 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/ChangeLog,v 1.18 2011/06/22 13:33:43 tupone Exp $
+
+ 22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> epiar-0.5-r1.ebuild,
+ +files/epiar-0.5-underlink.patch:
+ Fix underlink. Bug #371813 by Diego Elio Pettenò
15 Oct 2010; Brent Baude <ranger@gentoo.org> epiar-0.5-r1.ebuild:
stable ppc, bug 332323
diff --git a/games-arcade/epiar/epiar-0.5-r1.ebuild b/games-arcade/epiar/epiar-0.5-r1.ebuild
index 4814901f3294..35f5370b523d 100644
--- a/games-arcade/epiar/epiar-0.5-r1.ebuild
+++ b/games-arcade/epiar/epiar-0.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/epiar-0.5-r1.ebuild,v 1.3 2010/10/15 13:15:42 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/epiar/epiar-0.5-r1.ebuild,v 1.4 2011/06/22 13:33:43 tupone Exp $
EAPI=2
inherit flag-o-matic eutils games
@@ -31,7 +31,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-paths.patch \
"${FILESDIR}"/${P}-gcc41.patch \
- "${FILESDIR}"/${P}-Makefile.linux.patch
+ "${FILESDIR}"/${P}-Makefile.linux.patch \
+ "${FILESDIR}"/${P}-underlink.patch
sed -i \
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \
src/main.c \
diff --git a/games-arcade/epiar/files/epiar-0.5-underlink.patch b/games-arcade/epiar/files/epiar-0.5-underlink.patch
new file mode 100644
index 000000000000..13146cb68b27
--- /dev/null
+++ b/games-arcade/epiar/files/epiar-0.5-underlink.patch
@@ -0,0 +1,10 @@
+--- Makefile.linux.old 2011-06-22 15:15:50.000000000 +0200
++++ Makefile.linux 2011-06-22 15:17:01.000000000 +0200
+@@ -1,6 +1,6 @@
+ CFLAGS=-W -Wall `sdl-config --cflags` -Isrc/ -DLINUX -DDEVEL -export-dynamic -I/usr/include/SDL -I/usr/local/include/SDL -DBLIT_METHOD_2 -DNAUDIO -O2 -march=pentium4 -pipe -mfpmath=sse -ggdb -Wl,-O1 -Wl,--as-needed
+
+-LIBS=-lm `sdl-config --libs` -lSDL_image
++LIBS=-lm `sdl-config --libs` -lSDL_image -ldl
+ STATIC_LIBS=-lm /usr/local/lib/libSDL.a /usr/local/lib/libSDL_image.a /usr/local/lib/libSDL_ttf.a /usr/local/lib/libopenal.a /usr/local/lib/libvorbisfile.a /usr/local/lib/libvorbis.a /usr/local/lib/libogg.a /usr/lib/libpng.a /usr/lib/libz.a -lpthread -ldl -lfreetype /usr/lib/libjpeg.a -lX11 -lXext -lesd
+
+ OBJS=main.o init.o video.o backbuffer.o debug.o audio.o linux_video.o \