1
0
forked from ports/contrib

sdl_gfx: fix compiling at -Os and -O3 (thanks Rotwang and cptn)

This commit is contained in:
Danny Rawlins 2008-05-23 19:22:55 +10:00
parent e010b439cf
commit 46b3bfd2d9
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1,2 @@
b1ce778232db0b1979695f0a5a945a13 SDL_gfx-2.0.13.tar.gz
f969da9d8bf714e1122c40d807ef3ca5 sdl_gfx-2.0.13-imageFilter-asm.fix.patch

View File

@ -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