rpms/openal/devel openal-gcc43.patch, NONE, 1.1 openal.spec, 1.25, 1.26

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Fri Jan 4 16:26:47 UTC 2008


Author: awjb

Update of /cvs/pkgs/rpms/openal/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1427

Modified Files:
	openal.spec 
Added Files:
	openal-gcc43.patch 
Log Message:
- fix gcc43 compilation


openal-gcc43.patch:

--- NEW FILE openal-gcc43.patch ---
diff -upNr portable.orign/common/include/AL/alc.h portable/common/include/AL/alc.h
--- portable.orign/common/include/AL/alc.h	2006-01-31 11:49:20.000000000 +0100
+++ portable/common/include/AL/alc.h	2008-01-04 15:02:31.000000000 +0100
@@ -187,7 +187,7 @@ ALC_API void            ALC_APIENTRY alc
 
 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 ALCboolean     (ALC_APIENTRY *LP
 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 );

Index: openal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openal/devel/openal.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- openal.spec	15 Dec 2007 09:09:00 -0000	1.25
+++ openal.spec	4 Jan 2008 16:26:07 -0000	1.26
@@ -1,6 +1,6 @@
 Name:           openal
 Version:        0.0.9
-Release:        0.13.20060204cvs%{?dist}
+Release:        0.14.20060204cvs%{?dist}
 Summary:        Open Audio Library
 
 Group:          System Environment/Libraries
@@ -18,6 +18,8 @@
 Patch3:         openal-pause.patch
 # fixes race condition on x86_64 for now (#203336)
 Patch4:         openal-x86_64-mmx.patch
+# fix gcc43 compilation
+Patch5:         openal-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  alsa-lib-devel
@@ -63,6 +65,7 @@
 %patch4 -p1
 ./autogen.sh
 %patch0 -p1
+%patch5 -p1
 
 %build
 %configure --enable-arts                   \
@@ -112,6 +115,10 @@
 
 
 %changelog
+* Fri Jan 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.0.0-0.14-20060204
+- fix gcc43 build
+
 * Sat Dec 15 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 0.0.9-0.13.20060204
 - directly require sdl




More information about the fedora-extras-commits mailing list