diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-15 22:02:13 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-15 22:02:13 +0800 |
commit | 87f29ffc934075019da2116946d0ff49982ea6ab (patch) | |
tree | c333a80ee7eef1afabb0bfc435549bf0e4db2667 /audio | |
parent | ddc3ad655d03af9b22e676a158f2e109a6117381 (diff) | |
download | freebsd-ports-gnome-87f29ffc934075019da2116946d0ff49982ea6ab.tar.gz freebsd-ports-gnome-87f29ffc934075019da2116946d0ff49982ea6ab.tar.zst freebsd-ports-gnome-87f29ffc934075019da2116946d0ff49982ea6ab.zip |
- Fix build with gcc 4.2
PR: 114587
Submitted by: Max Brazhnikov <makc@issp.ac.ru>
Approved by: portmgr (pav)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/openal/files/patch-common__include__AL__alc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/openal/files/patch-common__include__AL__alc.h b/audio/openal/files/patch-common__include__AL__alc.h new file mode 100644 index 000000000000..e9b754a9eca0 --- /dev/null +++ b/audio/openal/files/patch-common__include__AL__alc.h @@ -0,0 +1,20 @@ +--- ./common/include/AL/alc.h.orig Sat Feb 11 12:36:55 2006 ++++ ./common/include/AL/alc.h Sat Jul 14 19:33:48 2007 +@@ -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 ); |