diff options
author | Matt Housh <jaeger@crux.nu> | 2008-01-11 19:07:02 -0600 |
---|---|---|
committer | Matt Housh <jaeger@crux.nu> | 2008-01-11 19:07:02 -0600 |
commit | e51779d89417ff12ea037f3621bbb9c6e5c09442 (patch) | |
tree | 2a09c7bf926499d92af8e4bb0ba2f0cf649921e6 /openal | |
parent | 058f3872542e4c5ba0d297cf3cff40c1c2295bbe (diff) | |
download | opt-e51779d89417ff12ea037f3621bbb9c6e5c09442.tar.gz opt-e51779d89417ff12ea037f3621bbb9c6e5c09442.tar.xz |
openal: patch for ALCvoid compile errors in other apps
Diffstat (limited to 'openal')
-rw-r--r-- | openal/.md5sum | 1 | ||||
-rw-r--r-- | openal/Pkgfile | 6 | ||||
-rw-r--r-- | openal/openal-0.0.8-alcvoid.patch | 20 |
3 files changed, 25 insertions, 2 deletions
diff --git a/openal/.md5sum b/openal/.md5sum index fba4524bf..1e95b2c31 100644 --- a/openal/.md5sum +++ b/openal/.md5sum @@ -1 +1,2 @@ +949ef5eef5f8d50a60fce2ad8f08e141 openal-0.0.8-alcvoid.patch 641cf53761f35ee979f3e888614797a0 openal-0.0.8.tar.gz diff --git a/openal/Pkgfile b/openal/Pkgfile index 8e28cc79e..d7862b457 100644 --- a/openal/Pkgfile +++ b/openal/Pkgfile @@ -5,11 +5,13 @@ name=openal version=0.0.8 -release=1 -source=(http://www.openal.org/openal_webstf/downloads/$name-$version.tar.gz) +release=2 +source=(http://www.openal.org/openal_webstf/downloads/$name-$version.tar.gz \ + $name-$version-alcvoid.patch) build() { cd $name-$version + patch -i $SRC/$name-$version-alcvoid.patch common/include/AL/alc.h ./configure --prefix=/usr \ --exec-prefix=/usr \ --enable-optimization \ diff --git a/openal/openal-0.0.8-alcvoid.patch b/openal/openal-0.0.8-alcvoid.patch new file mode 100644 index 000000000..c628a6446 --- /dev/null +++ b/openal/openal-0.0.8-alcvoid.patch @@ -0,0 +1,20 @@ +--- alc.h.orig 2008-01-11 14:40:53.000000000 -0600 ++++ alc.h 2008-01-11 14:41:22.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 ); |