aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenAL/fix_gcc-4.2.diff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:20 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:23:20 +0200
commit16bde590c3a77f8826754887517ec8d5386667f5 (patch)
tree1124f8786603b2aba65bdb63a7bd617959eac31a /libraries/OpenAL/fix_gcc-4.2.diff
parent46ed3d4254b3a569d7eb5f9e4352598ccd0f8b6c (diff)
libraries/OpenAL: Updated for version 0.0.8
Diffstat (limited to 'libraries/OpenAL/fix_gcc-4.2.diff')
-rw-r--r--libraries/OpenAL/fix_gcc-4.2.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/libraries/OpenAL/fix_gcc-4.2.diff b/libraries/OpenAL/fix_gcc-4.2.diff
new file mode 100644
index 0000000000000..ecc629b50b2da
--- /dev/null
+++ b/libraries/OpenAL/fix_gcc-4.2.diff
@@ -0,0 +1,22 @@
+Index: openal-0.0.8/common/include/AL/alc.h
+===================================================================
+--- openal-0.0.8.orig/common/include/AL/alc.h 2007-06-28 15:56:06.000000000 +0000
++++ openal-0.0.8/common/include/AL/alc.h 2007-06-28 16:03:26.000000000 +0000
+@@ -187,7 +187,7 @@
+
+ ALC_API void ALC_APIENTRY alcDestroyContext( ALCcontext *context );
+
+-ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( ALCvoid );
++ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( void );
+
+ ALC_API ALCdevice* ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
+
+@@ -248,7 +248,7 @@
+ typedef void (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
+ typedef void (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
+ typedef void (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
+-typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
++typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
+ typedef ALCdevice * (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
+ typedef ALCdevice * (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
+ typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );