diff options
Diffstat (limited to 'games-arcade/spacerider/files')
-rw-r--r-- | games-arcade/spacerider/files/digest-spacerider-0.13 | 6 | ||||
-rw-r--r-- | games-arcade/spacerider/files/spacerider-0.13-gentoo.patch | 25 |
2 files changed, 17 insertions, 14 deletions
diff --git a/games-arcade/spacerider/files/digest-spacerider-0.13 b/games-arcade/spacerider/files/digest-spacerider-0.13 index da6a14f4c823..cb39e348dbcd 100644 --- a/games-arcade/spacerider/files/digest-spacerider-0.13 +++ b/games-arcade/spacerider/files/digest-spacerider-0.13 @@ -1,3 +1,3 @@ -MD5 b908144d03d69303443cbcce065117c1 download.php?file=spacerider-0.13.tar.bz2 283861 -RMD160 bd3eeae53aa69f4adcb8c7d92044856c38b0c3a5 download.php?file=spacerider-0.13.tar.bz2 283861 -SHA256 9314945b7004a64e7f511b7318af3aef5d1ab680577ba97399a8a11ab022678e download.php?file=spacerider-0.13.tar.bz2 283861 +MD5 b908144d03d69303443cbcce065117c1 spacerider-0.13.tar.bz2 283861 +RMD160 bd3eeae53aa69f4adcb8c7d92044856c38b0c3a5 spacerider-0.13.tar.bz2 283861 +SHA256 9314945b7004a64e7f511b7318af3aef5d1ab680577ba97399a8a11ab022678e spacerider-0.13.tar.bz2 283861 diff --git a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch index 7fe1a63ef5a6..d692f87632b0 100644 --- a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch +++ b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch @@ -1,24 +1,27 @@ ---- Makefile.old 2007-02-18 11:15:20.000000000 +0100 -+++ Makefile 2007-02-18 11:19:56.000000000 +0100 -@@ -8,7 +8,6 @@ +--- Makefile ++++ Makefile +@@ -3,12 +3,12 @@ + BINDIR=/usr/bin/ + MANDIR=/usr/share/man/man1/ + DATADIR=/usr/share/games/spacerider/ +-CXX=g++ ++CXX?=g++ + CP=cp MKDIR=mkdir -p INSTALL=install RM=rm -f -CXXFLAGS=-Wall -fomit-frame-pointer -O3 `sdl-config --cflags` ++CXXFLAGS+=$(shell sdl-config --cflags) OBJS=main.o globals.o spacerider.o music.o sprite.o enemy.o effect.o visible.o box.o features.o font.o image.o bullet.o OUTPUT=spacerider LIBS=`sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_net -lSDL_gfx -@@ -22,11 +21,11 @@ +@@ -22,8 +22,7 @@ $(OUTPUT): $(OBJS) - $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) -+ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -o $(OUTPUT) $(OBJS) $(LIBS) - strip $(OUTPUT) +- strip $(OUTPUT) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) %.o: %.cpp -- $(CXX) $(CXXFLAGS) -c $< -+ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -c $< - - clean: - $(RM) $(OBJS) $(OUTPUT) + $(CXX) $(CXXFLAGS) -c $< |