summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-03-27 23:09:53 +0000
committernsayer <nsayer@FreeBSD.org>2001-03-27 23:09:53 +0000
commitb70a1c85168047106ebe05299a71f0fe5f744321 (patch)
tree39849673cd98d10b128064f9c1ffa63e4d67582c
parent460324eb298e7aa557b6ae6146c8d8b172b1ed1b (diff)
downloadFreeBSD-ports-b70a1c85168047106ebe05299a71f0fe5f744321.zip
FreeBSD-ports-b70a1c85168047106ebe05299a71f0fe5f744321.tar.gz
1. Properly disable the half rate audio hack.
2. Fix the XF86 video mode switching code. 3. Respect CC and CXX.
-rw-r--r--games/bzflag/files/config-sys10
-rw-r--r--games/bzflag/files/patch-LinuxDisplay.h11
2 files changed, 15 insertions, 6 deletions
diff --git a/games/bzflag/files/config-sys b/games/bzflag/files/config-sys
index d3b06c9..58be951 100644
--- a/games/bzflag/files/config-sys
+++ b/games/bzflag/files/config-sys
@@ -29,8 +29,8 @@ INSTALL_DATA_DIR = ${PORTPREFIX}/share/bzflag/data
# tools
#
AR = /usr/bin/ar cru
-CC = /usr/bin/gcc
-CXX = /usr/bin/g++
+#CC = /usr/bin/gcc
+#CXX = /usr/bin/g++
CD = cd
CP = /bin/cp
LD = /usr/bin/ld
@@ -44,10 +44,8 @@ ECHO = echo
#
# compiler definitions
#
-PCDEFS = -D_BSD_SOURCE -DHALF_RATE_AUDIO \
- $(XF86VIDMODE_DEF)
-PCXXDEFS = -D_BSD_SOURCE -DHALF_RATE_AUDIO \
- $(XF86VIDMODE_DEF)
+PCDEFS = -D_BSD_SOURCE $(XF86VIDMODE_DEF)
+PCXXDEFS = -D_BSD_SOURCE $(XF86VIDMODE_DEF)
#
# compiler options
diff --git a/games/bzflag/files/patch-LinuxDisplay.h b/games/bzflag/files/patch-LinuxDisplay.h
new file mode 100644
index 0000000..a436dbc
--- /dev/null
+++ b/games/bzflag/files/patch-LinuxDisplay.h
@@ -0,0 +1,11 @@
+--- src/platform/LinuxDisplay.h.orig Tue Mar 27 14:54:59 2001
++++ src/platform/LinuxDisplay.h Tue Mar 27 14:55:06 2001
+@@ -18,7 +18,7 @@
+ #define BZF_LINUXDISPLAY_H
+
+ #include "XDisplay.h"
+-#if defined(__linux__) && defined(XF86VIDMODE_EXT)
++#if defined(XF86VIDMODE_EXT)
+ #define USE_XF86VIDMODE_EXT
+ #define private c_private
+ #include <X11/extensions/xf86vmode.h>
OpenPOWER on IntegriCloud