mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
libraries/OpenAL: Updated for version 0.0.8
This commit is contained in:
parent
46ed3d4254
commit
16bde590c3
3 changed files with 29 additions and 2 deletions
|
@ -27,6 +27,11 @@ cd $TMP || exit 1
|
|||
rm -rf $SRCNAM-$VERSION
|
||||
tar -zxvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1
|
||||
cd openal-$VERSION || exit 1
|
||||
|
||||
# Fix when compiling other things against OpenAL using GCC 4.2.
|
||||
# Begotten from debian.
|
||||
patch -p1 < $CWD/fix_gcc-4.2.diff || exit 1
|
||||
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="OpenAL"
|
||||
VERSION="0.0.8"
|
||||
HOMEPAGE="http://www.openal.org/"
|
||||
DOWNLOAD="http://www.openal.org/openal_webstf/downloads/openal-0.0.8.tar.gz"
|
||||
DOWNLOAD="http://stuff.mit.edu/afs/sipb/project/ghc/src/tarfiles/openal-0.0.8.tar.gz"
|
||||
MD5SUM="641cf53761f35ee979f3e888614797a0"
|
||||
MAINTAINER="Erik Hanson"
|
||||
EMAIL="erik@slackbuilds.org"
|
||||
APPROVED="rworkman,elohim"
|
||||
APPROVED="rworkman"
|
||||
|
|
22
libraries/OpenAL/fix_gcc-4.2.diff
Normal file
22
libraries/OpenAL/fix_gcc-4.2.diff
Normal file
|
@ -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 );
|
Loading…
Reference in a new issue