c2b5905a49
Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and most will agree it didn't enjoy the commercial success it could have had. The game's source code was liberated on December 6th, 2004, under a GPL license. Soon after that, the Warzone 2100 ReDev project was formed to take care of its future. feedback, help & ok ajacoutot@
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2007/07/22 14:57:52 simon Exp $
|
|
--- configure.orig Sat Jun 23 11:20:09 2007
|
|
+++ configure Sat Jul 21 21:20:43 2007
|
|
@@ -6485,7 +6485,7 @@ if test "${ac_cv_lib_GLU_main+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lGLU $LIBS"
|
|
+LIBS="-lGLU -lGL $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -6964,7 +6964,7 @@ if test "${ac_cv_lib_openal_main+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lopenal $LIBS"
|
|
+LIBS="-lopenal -lossaudio $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -7810,7 +7810,7 @@ fi
|
|
# add some required C flags here
|
|
# -DYY_STATIC is required by flex
|
|
# -m32 forces 32-bit compile, since code is not clean enough for 64-bit yet
|
|
-WZ_CFLAGS="${WZ_CFLAGS} -m32 -DYY_STATIC -DDATADIR=\\\"${datadir}/${PACKAGE}\\\""
|
|
+WZ_CFLAGS="${WZ_CFLAGS} -DYY_STATIC -DDATADIR=\\\"${datadir}/${PACKAGE}\\\""
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I\$(top_srcdir)"
|
|
CFLAGS="${CFLAGS} ${WZ_CFLAGS}"
|