summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-17 08:47:09 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-17 08:47:09 +0000
commit3f7dd9d6d75f3b7802097919fff16ba74e6567db (patch)
treea9645b8f89dd87af215069a86c9a9e5f75b0a293 /games-action/clanbomber/files
parentAdd ~ppc keyword. (diff)
downloadgentoo-2-3f7dd9d6d75f3b7802097919fff16ba74e6567db.tar.gz
gentoo-2-3f7dd9d6d75f3b7802097919fff16ba74e6567db.tar.bz2
gentoo-2-3f7dd9d6d75f3b7802097919fff16ba74e6567db.zip
Fix ROOT abuse, bug #167277
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-action/clanbomber/files')
-rw-r--r--games-action/clanbomber/files/clanbomber-1.05-build.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-action/clanbomber/files/clanbomber-1.05-build.patch b/games-action/clanbomber/files/clanbomber-1.05-build.patch
new file mode 100644
index 000000000000..fceced2e8604
--- /dev/null
+++ b/games-action/clanbomber/files/clanbomber-1.05-build.patch
@@ -0,0 +1,22 @@
+--- clanbomber/Makefile.am
++++ clanbomber/Makefile.am
+@@ -19,7 +19,7 @@
+ -rm -f @datadir@/clanbomber/clanbomber.dat
+ -rm -f @datadir@/clanbomber/clanbomber.scr
+
+-clanbomber.dat: clanbomber.scr pics/*.pcx pics/*.tga wavs/*.wav maps/*.map music/bud.mod
++clanbomber.dat: clanbomber clanbomber.scr pics/*.pcx pics/*.tga wavs/*.wav maps/*.map music/bud.mod
+ @./clanbomber -datafile
+
+ all-local: clanbomber.dat
+--- configure.in
++++ configure.in
+@@ -11,6 +11,8 @@
+ AC_PROG_CXX
+ dnl Checks for libraries.
+
++CPPFLAGS=`clanlib0.6-config --cflags`
++LIBS=`clanlib0.6-config --libs`
+ AC_CHECK_LIB(z,main,,echo "ClanBomber requires zlib to run."; exit 1)
+ AC_CHECK_LIB(Hermes,main,,echo "ClanBomber requires Hermes to run."; exit 1)
+ AC_CHECK_LIB(clanCore,main,,echo "ClanBomber requires ClanLib to run."; exit 1)