diff options
Diffstat (limited to 'games-arcade/blobwars/files')
3 files changed, 80 insertions, 0 deletions
diff --git a/games-arcade/blobwars/files/blobwars-1.19-ldflags.patch b/games-arcade/blobwars/files/blobwars-1.19-ldflags.patch new file mode 100644 index 00000000000..8b006f1003a --- /dev/null +++ b/games-arcade/blobwars/files/blobwars-1.19-ldflags.patch @@ -0,0 +1,22 @@ +--- makefile~ 2011-08-29 20:32:22.000000000 +0200 ++++ makefile 2011-08-29 20:33:27.052159159 +0200 +@@ -82,16 +82,16 @@ + + # linking the program. + $(PROG): $(GAMEOBJS) +- $(CXX) $(GAMEOBJS) -o $(PROG) $(LIBS) ++ $(CXX) $(LDFLAGS) $(GAMEOBJS) -o $(PROG) $(LIBS) + + pak: $(PAKOBJS) +- $(CXX) $(PAKOBJS) -o pak $(LIBS) ++ $(CXX) $(LDFLAGS) $(PAKOBJS) -o pak $(LIBS) + + %.mo: %.po + msgfmt -c -o $@ $< + + mapeditor: $(MAPOBJS) +- $(CXX) $(MAPOBJS) -o mapeditor $(LIBS) ++ $(CXX) $(LDFLAGS) $(MAPOBJS) -o mapeditor $(LIBS) + + # cleaning everything that can be automatically recreated with "make". + clean: diff --git a/games-arcade/blobwars/files/blobwars-1.19-linking-order.patch b/games-arcade/blobwars/files/blobwars-1.19-linking-order.patch new file mode 100644 index 00000000000..6b001013865 --- /dev/null +++ b/games-arcade/blobwars/files/blobwars-1.19-linking-order.patch @@ -0,0 +1,36 @@ +From 896cde549eeb254cc4960f20f54cab845e95b061 Mon Sep 17 00:00:00 2001 +From: Andreas Moog <amoog@ubuntu.com> +Date: Sun, 19 Jun 2011 22:03:10 +0200 +Subject: [PATCH] LIBS go after objects to allow linking with ld --as-needed + +--- + makefile | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/makefile b/makefile +index 0a9cc94..509c2ff 100755 +--- a/makefile ++++ b/makefile +@@ -82,16 +82,16 @@ all: $(ALL) + + # linking the program. + $(PROG): $(GAMEOBJS) +- $(CXX) $(LIBS) $(GAMEOBJS) -o $(PROG) ++ $(CXX) $(GAMEOBJS) -o $(PROG) $(LIBS) + + pak: $(PAKOBJS) +- $(CXX) $(LIBS) $(PAKOBJS) -o pak ++ $(CXX) $(PAKOBJS) -o pak $(LIBS) + + %.mo: %.po + msgfmt -c -o $@ $< + + mapeditor: $(MAPOBJS) +- $(CXX) $(LIBS) $(MAPOBJS) -o mapeditor ++ $(CXX) $(MAPOBJS) -o mapeditor $(LIBS) + + # cleaning everything that can be automatically recreated with "make". + clean: +-- +1.7.5.4 + diff --git a/games-arcade/blobwars/files/blobwars-1.19-zlib-1.2.5.2.patch b/games-arcade/blobwars/files/blobwars-1.19-zlib-1.2.5.2.patch new file mode 100644 index 00000000000..cf101170e26 --- /dev/null +++ b/games-arcade/blobwars/files/blobwars-1.19-zlib-1.2.5.2.patch @@ -0,0 +1,22 @@ +http://bugs.gentoo.org/408459 + +--- src/pak.cpp ++++ src/pak.cpp +@@ -119,7 +119,7 @@ + { + printf("Couldn't open %s for reading!\n", filename); + closedir(dirp); +- gzclose(pak); ++ gzclose((gzFile)pak); + exit(1); + } + +@@ -141,7 +141,7 @@ + { + printf("Couldn't open %s for reading!\n", filename); + closedir(dirp); +- gzclose(pak); ++ gzclose((gzFile)pak); + exit(1); + } + else |