1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/games/r1q2/files/patch-client__snd_openal.h
Alejandro Pulver 333f37c2c7 R1Q2 is an enhanced client/server for Quake II. Based on the id Software 3.21
source, rather than concentrate on fancy graphics, embedded MP3 players and
other "gimmick" features, R1Q2 is focused on providing stability, security and
speed whilst remaining fully compatible with existing mods and other clients.

WWW: http://www.r1ch.net/stuff/r1q2/

Approved by:	garga (mentor)
2006-05-21 21:35:18 +00:00

29 lines
566 B
C

--- client/snd_openal.h.orig Mon Dec 5 21:03:34 2005
+++ client/snd_openal.h Thu May 18 20:09:05 2006
@@ -3,7 +3,6 @@
#ifdef USE_OPENAL
#include <AL/al.h>
#include <AL/alc.h>
-#include <AL/altypes.h>
#include "client.h"
@@ -14,7 +13,7 @@
#ifdef _WIN32
#include "../win32/alw_win.h"
#endif
-#ifdef __linux__
+#ifdef __unix__
#include "../linux/al_linux.h"
#endif
#endif
@@ -158,7 +157,7 @@
#define ALimp_Shutdown ALW_Shutdown
#else
-#ifdef __linux__
+#ifdef __unix__
#define AL_DRIVER_OPENAL "/usr/lib/libopenal.so"