Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=806528cbfdfe1030243982b535a0957f32dfa970

commit 806528cbfdfe1030243982b535a0957f32dfa970
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon May 31 19:15:51 2010 +0200

amoebax-0.2.1-2-x86_64
*added glibc fix

diff --git a/source/games-extra/amoebax/FrugalBuild 
b/source/games-extra/amoebax/FrugalBuild
index cd26ea9..bd6ebe7 100644
--- a/source/games-extra/amoebax/FrugalBuild
+++ b/source/games-extra/amoebax/FrugalBuild
@@ -10,16 +10,18 @@ depends=('sdlimage>=1.2.10-2' 'sdl_mixer')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url/download.html"
-source=(http://www.emma-soft.com/games/amoebax/download/$pkgname-$pkgver.tar.bz2)
-sha1sums=('0d0e38dac1280bed3a16f5bc4e60b69ba513180e')
+source=(http://www.emma-soft.com/games/amoebax/download/$pkgname-$pkgver.tar.bz2
 glibc.diff)
+sha1sums=('0d0e38dac1280bed3a16f5bc4e60b69ba513180e' \
+          'c297a993faf099cefee81b2a87a13ae7de00143c')

build()
{
-  Fcd
-  Fconf
-  Fmake
-  echo "Categories=Application;Game;ArcadeGame" >> 
$Fdestdir/$pkgname-$pkgver/data/$pkgname.desktop
-  Fmakeinstall
+       Fcd
+       Fpatchall
+       Fconf
+       Fmake
+       echo "Categories=Application;Game;ArcadeGame" >> 
$Fdestdir/$pkgname-$pkgver/data/$pkgname.desktop
+       Fmakeinstall
}

# optimization OK
diff --git a/source/games-extra/amoebax/glibc.diff 
b/source/games-extra/amoebax/glibc.diff
new file mode 100644
index 0000000..a2a3730
--- /dev/null
+++ b/source/games-extra/amoebax/glibc.diff
@@ -0,0 +1,12 @@
+--- src/binreloc.cxx
++++ src/binreloc.cxx
+@@ -744,7 +744,7 @@
+       if (path == (const char *) NULL)
+               return (char *) NULL;
+
+-      end = strrchr (path, '/');
++      end = strrchr ((char *)path, '/');
+       if (end == (const char *) NULL)
+               return strdup (".");
+
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to