aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-04-07 14:10:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-04-07 14:10:26 +0000
commit261c1e3936ca23c1b6507d7fe1012f8ad2281d62 (patch)
tree9c64dd7565e1cb08af620ce8f63f0751f4bb9569 /games
parent8b93f9f519a386566e8d574ea004d67fe72edc7b (diff)
downloadports-261c1e3936ca23c1b6507d7fe1012f8ad2281d62.tar.gz
ports-261c1e3936ca23c1b6507d7fe1012f8ad2281d62.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/tnl/files/patch-src-sound.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/tnl/files/patch-src-sound.cc b/games/tnl/files/patch-src-sound.cc
new file mode 100644
index 000000000000..196acb263c51
--- /dev/null
+++ b/games/tnl/files/patch-src-sound.cc
@@ -0,0 +1,29 @@
+--- src/sound.cc.orig 2010-04-07 17:42:43.000000000 +0400
++++ src/sound.cc 2010-04-07 17:44:00.000000000 +0400
+@@ -31,7 +31,7 @@
+ ALenum error = alGetError();
+ if (error != AL_NO_ERROR) {
+ ls_error("OpenAL Error %d", error);
+- const ALbyte * errtxt = alGetString(error);
++ const ALchar * errtxt = alGetString(error);
+ error = alGetError();
+ if (error == AL_NO_ERROR) {
+ ls_error(": %s \n", errtxt);
+@@ -318,7 +318,7 @@
+ ALCenum error = alcGetError(dev);
+ if (error != ALC_NO_ERROR) {
+ ls_error("OpenAL (ALC) Error %d", error);
+- const ALbyte * errtxt = alcGetString(NULL,error);
++ const ALCchar * errtxt = alcGetString(NULL,error);
+ error = alcGetError(dev);
+ if (error == ALC_NO_ERROR) {
+ ls_error(": %s \n", errtxt);
+@@ -340,7 +340,7 @@
+ if (device == NULL ) {
+ throw std::runtime_error("SoundMan: Failed to initialize Sound subsystem.");
+ } else {
+- const ALCbyte * device_specifier =
++ const ALCchar * device_specifier =
+ alcGetString(device, ALC_DEVICE_SPECIFIER);
+ check(device);
+ ls_message(" Using device \"%s\"\n", device_specifier);