summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-05-23 19:22:55 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-05-23 19:23:46 +1000
commit46b3bfd2d98137ecba428d305ec3d840c6cffbcd (patch)
tree4b6e97b8dafd835eb561425d23852f36434a4afd
parente010b439cfa6dd9b013d730c6ad5a7ca26155f55 (diff)
downloadcontrib-46b3bfd2d98137ecba428d305ec3d840c6cffbcd.tar.gz
contrib-46b3bfd2d98137ecba428d305ec3d840c6cffbcd.tar.xz
sdl_gfx: fix compiling at -Os and -O3 (thanks Rotwang and cptn)
-rw-r--r--sdl_gfx/.md5sum1
-rw-r--r--sdl_gfx/Pkgfile6
2 files changed, 5 insertions, 2 deletions
diff --git a/sdl_gfx/.md5sum b/sdl_gfx/.md5sum
index e28af16d2..db9b97b9a 100644
--- a/sdl_gfx/.md5sum
+++ b/sdl_gfx/.md5sum
@@ -1 +1,2 @@
b1ce778232db0b1979695f0a5a945a13 SDL_gfx-2.0.13.tar.gz
+f969da9d8bf714e1122c40d807ef3ca5 sdl_gfx-2.0.13-imageFilter-asm.fix.patch
diff --git a/sdl_gfx/Pkgfile b/sdl_gfx/Pkgfile
index 0e26ce926..e010ba4d1 100644
--- a/sdl_gfx/Pkgfile
+++ b/sdl_gfx/Pkgfile
@@ -6,11 +6,13 @@
name=sdl_gfx
version=2.0.13
-release=1
-source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz)
+release=2
+source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz
+ sdl_gfx-$version-imageFilter-asm.fix.patch)
build() {
cd SDL_gfx-$version
+ patch -p 1 -i $SRC/sdl_gfx-$version-imageFilter-asm.fix.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install

Generated by cgit