summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-09-20 07:37:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-09-20 07:37:57 +0000
commitcd02614ff485206f24a1b1e3725875371b009688 (patch)
tree3551162866d29854aad89ef9795fe02677ed9c48 /games-puzzle/fish-fillets
parentStable on ppc64; bug #148283 (diff)
downloadhistorical-cd02614ff485206f24a1b1e3725875371b009688.tar.gz
historical-cd02614ff485206f24a1b1e3725875371b009688.tar.bz2
historical-cd02614ff485206f24a1b1e3725875371b009688.zip
gcc4 patch from vapier to fix bug #136252
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'games-puzzle/fish-fillets')
-rw-r--r--games-puzzle/fish-fillets/ChangeLog6
-rw-r--r--games-puzzle/fish-fillets/Manifest20
-rw-r--r--games-puzzle/fish-fillets/files/fish-fillets-0.7.3-gcc4.patch56
-rw-r--r--games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild13
4 files changed, 83 insertions, 12 deletions
diff --git a/games-puzzle/fish-fillets/ChangeLog b/games-puzzle/fish-fillets/ChangeLog
index 011b3c7186b6..30ebbb216afb 100644
--- a/games-puzzle/fish-fillets/ChangeLog
+++ b/games-puzzle/fish-fillets/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/fish-fillets
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/ChangeLog,v 1.19 2006/08/15 14:59:16 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/ChangeLog,v 1.20 2006/09/20 07:37:57 mr_bones_ Exp $
+
+ 20 Sep 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/fish-fillets-0.7.3-gcc4.patch, fish-fillets-0.7.3.ebuild:
+ gcc4 patch from vapier to fix bug #136252
15 Aug 2006; Thomas Cort <tcort@gentoo.org> fish-fillets-0.7.3.ebuild:
Stable on amd64 wrt Bug #143961
diff --git a/games-puzzle/fish-fillets/Manifest b/games-puzzle/fish-fillets/Manifest
index c8c68465224f..ee19e0503c1b 100644
--- a/games-puzzle/fish-fillets/Manifest
+++ b/games-puzzle/fish-fillets/Manifest
@@ -1,13 +1,17 @@
+AUX fish-fillets-0.7.3-gcc4.patch 1976 RMD160 777e316b6149dfec84cc004fc390e5b9e83b4496 SHA1 d56d69e05335beb40005195e9a2e240d8ca0174f SHA256 8f66bdef6ebb7d3fe1ab27bb2ad96f0d989fee582defe9c3098f82db74b587f5
+MD5 3c7bea0ee5abe6dedbf80f5d724e7722 files/fish-fillets-0.7.3-gcc4.patch 1976
+RMD160 777e316b6149dfec84cc004fc390e5b9e83b4496 files/fish-fillets-0.7.3-gcc4.patch 1976
+SHA256 8f66bdef6ebb7d3fe1ab27bb2ad96f0d989fee582defe9c3098f82db74b587f5 files/fish-fillets-0.7.3-gcc4.patch 1976
DIST fillets-ng-0.7.3.tar.gz 311799 RMD160 6c8f41feab9df2b6dee3942c18848d61ab2f2c7d SHA1 58937e59c3108e0ed4d2a5e542f3d9b813655287 SHA256 cbcc62fa399f96f636f547cd424c0abbbc7860227e837f191e8eded686b6ffc2
DIST fillets-ng-data-0.7.1.tar.gz 95672064 RMD160 bee5a815bbcb439bb3bf1fdcf925fb3db304a566 SHA1 37731b58877565165a258ff0df48243f29001d50 SHA256 7f9196e81e279ad088dd64a604bc6a8e9e10eedb75f080b6e845536e3ee13659
-EBUILD fish-fillets-0.7.3.ebuild 1251 RMD160 ce7d2f6745104d650ff68bfbe434adb685035c3b SHA1 37d3554060fd608bfbc78834a9bca0be992900f4 SHA256 463bd240e3dc88b7359aeab5fad9965fa4059f17f9d23c81a78a1a8c55a5c15d
-MD5 3080d75e0387619912c7b12fd87d3b6e fish-fillets-0.7.3.ebuild 1251
-RMD160 ce7d2f6745104d650ff68bfbe434adb685035c3b fish-fillets-0.7.3.ebuild 1251
-SHA256 463bd240e3dc88b7359aeab5fad9965fa4059f17f9d23c81a78a1a8c55a5c15d fish-fillets-0.7.3.ebuild 1251
-MISC ChangeLog 2773 RMD160 32a76b4a54e70174ffc848fc346292c53f09e717 SHA1 2f02e3e1c8740684eaed98303aa0c9550dbc59b9 SHA256 be9d45512501df54db0068b9d8432d07da9601a0c403e8435030bd335a211386
-MD5 60800621fb12f4817b0127c3dd835c8b ChangeLog 2773
-RMD160 32a76b4a54e70174ffc848fc346292c53f09e717 ChangeLog 2773
-SHA256 be9d45512501df54db0068b9d8432d07da9601a0c403e8435030bd335a211386 ChangeLog 2773
+EBUILD fish-fillets-0.7.3.ebuild 1360 RMD160 52785ebd6675df28cee687810a682eeaf70959c6 SHA1 dc9c928d55519d3f954b12a07972465192900bb4 SHA256 cca600cfa4771db20633829f4bca72387e1c26475d9a80ba4e4f8a24a1e70171
+MD5 2b4886ca4e1f52b1b2a4237144884bdb fish-fillets-0.7.3.ebuild 1360
+RMD160 52785ebd6675df28cee687810a682eeaf70959c6 fish-fillets-0.7.3.ebuild 1360
+SHA256 cca600cfa4771db20633829f4bca72387e1c26475d9a80ba4e4f8a24a1e70171 fish-fillets-0.7.3.ebuild 1360
+MISC ChangeLog 2944 RMD160 7df023a37ebe29d259206e10f7b357d8363b3b96 SHA1 733c461276fc50cc90cf577a9a1fdf3dc5ae6d25 SHA256 c4c31869592b4e29225ec4690c8ff942b8255268af11fa2617d067c79cc738f1
+MD5 af3a1e3838fdf1a3131b10e2b6636448 ChangeLog 2944
+RMD160 7df023a37ebe29d259206e10f7b357d8363b3b96 ChangeLog 2944
+SHA256 c4c31869592b4e29225ec4690c8ff942b8255268af11fa2617d067c79cc738f1 ChangeLog 2944
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-gcc4.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-gcc4.patch
new file mode 100644
index 000000000000..3b215255721b
--- /dev/null
+++ b/games-puzzle/fish-fillets/files/fish-fillets-0.7.3-gcc4.patch
@@ -0,0 +1,56 @@
+--- configure.in
++++ configure.in
+@@ -89,21 +89,31 @@ AC_CHECK_LIB([SDL_ttf], [TTF_OpenFont],
+
+ ###################################################
+ # Test X11
+-OLD_CPPFLAGS="$CPPFLAGS"
+-CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
+-AC_TRY_COMPILE([
+- #include "SDL.h"
+- #include "SDL_syswm.h"
+- #include <X11/Xutil.h>
+- ], [
+- SDL_SysWMinfo info;
+- info.subsystem = SDL_SYSWM_X11;
+- ], [have_x11="yes"], [have_x11="no"])
+-CPPFLAGS="$OLD_CPPFLAGS"
+-if test "x$have_x11" = xyes; then
+- AC_DEFINE(HAVE_X11)
++X_LIBS=""
++AC_ARG_WITH(X,
++ [AC_HELP_STRING([--with-x],[enable X window manager support [default=detect]])],
++ [with_x11=$withval],[with_x11="maybe"])
++if test "x$with_x11" != "xno" ; then
++ AC_CHECK_LIB([X11], [Xutf8TextListToTextProperty], [with_x11="yes"], [with_x11="no"])
++ if test "x$with_x11" != "xno" ; then
++ OLD_CPPFLAGS="$CPPFLAGS"
++ CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
++ AC_TRY_COMPILE([
++ #include "SDL.h"
++ #include "SDL_syswm.h"
++ #include <X11/Xutil.h>
++ ], [
++ SDL_SysWMinfo info;
++ info.subsystem = SDL_SYSWM_X11;
++ ], [have_x11="yes"], [have_x11="no"])
++ CPPFLAGS="$OLD_CPPFLAGS"
++ if test "x$have_x11" = xyes; then
++ AC_DEFINE(HAVE_X11)
++ X_LIBS="-lX11"
++ fi
++ fi
+ fi
+-
++AC_SUBST(X_LIBS)
+
+ ###################################################
+ # Test FriBidi
+--- src/game/Makefile.am
++++ src/game/Makefile.am
+@@ -18,4 +18,4 @@ ICON_LIBS =
+ endif
+
+
+-fillets_LDADD = $(ICON_LIBS) ../menu/libmenu.a ../level/liblevel.a ../state/libstate.a ../option/liboption.a ../plan/libplan.a ../widget/libwidget.a ../effect/libeffect.a ../gengine/libgengine.a $(SDL_GFX_LIBS) $(SDL_LIBS) $(LUA_LIBS) $(BOOST_LIBS) $(FRIBIDI_LIBS)
++fillets_LDADD = $(ICON_LIBS) ../menu/libmenu.a ../level/liblevel.a ../state/libstate.a ../option/liboption.a ../plan/libplan.a ../widget/libwidget.a ../effect/libeffect.a ../gengine/libgengine.a $(SDL_GFX_LIBS) $(SDL_LIBS) $(LUA_LIBS) $(BOOST_LIBS) $(FRIBIDI_LIBS) $(X_LIBS)
diff --git a/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild b/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild
index e03b0c913e79..9207523a0f3d 100644
--- a/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild
+++ b/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild,v 1.2 2006/08/15 14:59:16 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/fish-fillets-0.7.3.ebuild,v 1.3 2006/09/20 07:37:57 mr_bones_ Exp $
-inherit eutils games
+inherit autotools eutils games
DATA_PV="0.7.1"
DESCRIPTION="Underwater puzzle game - find a safe way out"
@@ -23,6 +23,13 @@ DEPEND=">=media-libs/libsdl-1.2
S=${WORKDIR}/fillets-ng-${PV}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc4.patch"
+ eautoreconf
+}
+
src_compile() {
CPPFLAGS="-DSYSTEM_DATA_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\"" \
egamesconf \
@@ -31,7 +38,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
dodir "${GAMES_DATADIR}/${PN}"
cd ../fillets-ng-data-${DATA_PV}