summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-02-13 21:11:20 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-02-13 21:11:20 +0000
commitdb9dfc3e3b54d09d6bad36a59aa3fd8e3712080c (patch)
tree66597ab13fd2c11f6be194693be32ff2b700867c /media-libs/openal/files
parentRemoved old versions. (diff)
downloadgentoo-2-db9dfc3e3b54d09d6bad36a59aa3fd8e3712080c.tar.gz
gentoo-2-db9dfc3e3b54d09d6bad36a59aa3fd8e3712080c.tar.bz2
gentoo-2-db9dfc3e3b54d09d6bad36a59aa3fd8e3712080c.zip
Added a patch for GCC 4.2 compilation provided by Ryan Hill <dirtyepic@gentoo.org> from upstream SVN. Closing bug #166723.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-libs/openal/files')
-rw-r--r--media-libs/openal/files/0.0.8/004_all_ggc42.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/openal/files/0.0.8/004_all_ggc42.patch b/media-libs/openal/files/0.0.8/004_all_ggc42.patch
new file mode 100644
index 000000000000..b921e8ca4a23
--- /dev/null
+++ b/media-libs/openal/files/0.0.8/004_all_ggc42.patch
@@ -0,0 +1,21 @@
+diff -Naur openal-0.0.8-orig/common/include/AL/alc.h openal-0.0.8/common/include/AL/alc.h
+--- openal-0.0.8-orig/common/include/AL/alc.h 2006-02-11 03:36:55.000000000 -0600
++++ openal-0.0.8/common/include/AL/alc.h 2007-02-13 14:33:57.000000000 -0600
+@@ -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 );