summaryrefslogtreecommitdiff
path: root/games/Scorched3D/scorched3d-42.1-fixups.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-08-24 00:16:58 -0400
committerErik Hanson <erik@slackbuilds.org>2010-08-29 15:32:11 -0500
commita1f00d22d4a812ebe68f0e81dba088c479c5869c (patch)
tree912d0cfa7c5836a84cf8c5e0372c02fc32d5cf59 /games/Scorched3D/scorched3d-42.1-fixups.patch
parent1fdd97021286188c2ec47939c0c2a0727c13ab10 (diff)
downloadslackbuilds-a1f00d22d4a812ebe68f0e81dba088c479c5869c.tar.gz
games/Scorched3D: Added (3D artillery game)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/Scorched3D/scorched3d-42.1-fixups.patch')
-rw-r--r--games/Scorched3D/scorched3d-42.1-fixups.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/Scorched3D/scorched3d-42.1-fixups.patch b/games/Scorched3D/scorched3d-42.1-fixups.patch
new file mode 100644
index 0000000000..791fbe7f33
--- /dev/null
+++ b/games/Scorched3D/scorched3d-42.1-fixups.patch
@@ -0,0 +1,32 @@
+diff -ru scorched.orig/configure-al.m4 scorched/configure-al.m4
+--- scorched.orig/configure-al.m4 2008-03-03 16:17:18.000000000 -0500
++++ scorched/configure-al.m4 2009-02-15 20:43:35.000000000 -0500
+@@ -7,25 +7,9 @@
+ [ --disable-openaltest Do not try to compile and run a test OpenAL program],
+ , enable_openaltest=yes)
+ AC_MSG_CHECKING(for OpenAL support)
+-AC_PATH_PROG(OPENAL_CONFIG, openal-config, no)
+-if test x$OPENAL_CONFIG = xno; then
+- echo "*** The openal-config script installed by OpenAL could not be found"
+- echo "*** Make sure openal-config is in your path, or set the OPENAL_CONFIG"
+- echo "*** environment variable to the full path to openal-config."
+-
+- AC_MSG_ERROR([*** Can't find the openal library. Try: http://www.openal.org/])
+-else
+-
+- if test x"$use_static_openal" = x"yes"; then
+- AL_LIBS="/usr/local/lib/libopenal.a"
+- else
+- AL_LIBS="`$OPENAL_CONFIG --libs`"
+- fi
+-
+- AL_CFLAGS="`$OPENAL_CONFIG --cflags`"
+-
+- AC_MSG_RESULT(yes)
+-fi
++AL_LIBS="-lopenal"
++AL_CFLAGS="-I/usr/include/AL"
++AC_MSG_RESULT(yes)
+
+ AC_MSG_CHECKING(for Freealut support)
+ AC_PATH_PROG(FREEALUT_CONFIG, freealut-config, no)