diff options
Diffstat (limited to 'games-arcade/sdlsasteroids/files')
-rw-r--r-- | games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch | 11 | ||||
-rw-r--r-- | games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch new file mode 100644 index 000000000000..5ee05328e897 --- /dev/null +++ b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch @@ -0,0 +1,11 @@ +--- src/sbitmap.h ++++ src/sbitmap.h +@@ -36,7 +36,7 @@ + void LoadImage(char* path); + void LoadSurface(SDL_Surface* surface); + +- void put(float x, float y, float rotate = 1.0f, float rotate = 1.0f, float layer = 0.0f); ++ void put(float x, float y, float sf = 1.0f, float rotate = 1.0f, float layer = 0.0f); + void putA(float x, float y, float layer = 0.0f, float alpha = 1.0f); + + inline float width() const diff --git a/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch new file mode 100644 index 000000000000..302c912efe18 --- /dev/null +++ b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch @@ -0,0 +1,11 @@ +--- src/Makefile.old 2010-09-22 08:44:57.000000000 +0200 ++++ src/Makefile 2010-09-22 08:45:43.000000000 +0200 +@@ -26,7 +26,7 @@ + + + $(SASTEROIDS): $(SASTEROIDS_O) +- g++ -Wall -o $(SASTEROIDS) $(SASTEROIDS_O) $(DEFINES) $(DEBUG) $(OPTS) $(CFLAGS) $(LIBS) ++ g++ $(LDFLAGS) -Wall -o $(SASTEROIDS) $(SASTEROIDS_O) $(DEFINES) $(DEBUG) $(OPTS) $(CFLAGS) $(LIBS) + + + .cpp.o: |