r5449 - packages/branches/openal/andres/debian/patches

Andres Mejia ceros-guest at alioth.debian.org
Fri Jan 18 01:19:25 UTC 2008


Author: ceros-guest
Date: 2008-01-18 01:19:24 +0000 (Fri, 18 Jan 2008)
New Revision: 5449

Added:
   packages/branches/openal/andres/debian/patches/fix_gcc-4.2.diff
   packages/branches/openal/andres/debian/patches/kfreebsd_linking.diff
   packages/branches/openal/andres/debian/patches/pkg-config_drop_requirements.diff
   packages/branches/openal/andres/debian/patches/undocumented_alext_header.diff
   packages/branches/openal/andres/debian/patches/x64_64-disable-MMX.diff
Modified:
   packages/branches/openal/andres/debian/patches/series
Log:
Readd patches from current package in archive.

Added: packages/branches/openal/andres/debian/patches/fix_gcc-4.2.diff
===================================================================
--- packages/branches/openal/andres/debian/patches/fix_gcc-4.2.diff	                        (rev 0)
+++ packages/branches/openal/andres/debian/patches/fix_gcc-4.2.diff	2008-01-18 01:19:24 UTC (rev 5449)
@@ -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 );

Added: packages/branches/openal/andres/debian/patches/kfreebsd_linking.diff
===================================================================
--- packages/branches/openal/andres/debian/patches/kfreebsd_linking.diff	                        (rev 0)
+++ packages/branches/openal/andres/debian/patches/kfreebsd_linking.diff	2008-01-18 01:19:24 UTC (rev 5449)
@@ -0,0 +1,23 @@
+--- openal-0.0.8/admin/autotools/m4/acx_pthread.m4	2006-02-11 10:36:55.000000000 +0100
++++ openal/admin/autotools/m4/acx_pthread.m4	2007-07-25 21:44:40.000000000 +0200
+@@ -122,7 +122,7 @@
+         ;;
+ 
+ 
+-        *linux*)
++        *linux*|*-k*bsd*-gnu)
+ 
+         # On Linux we want to actually link to pthread library, so test lib first
+ 
+diff -ur openal-0.0.8/configure openal/configure
+--- openal-0.0.8/configure	2006-02-11 11:40:04.000000000 +0100
++++ openal/configure	2007-07-25 21:44:41.000000000 +0200
+@@ -20678,7 +20678,7 @@
+         ;;
+ 
+ 
+-        *linux*)
++        *linux*|*-k*bsd*-gnu)
+ 
+         # On Linux we want to actually link to pthread library, so test lib first
+ 

Added: packages/branches/openal/andres/debian/patches/pkg-config_drop_requirements.diff
===================================================================
--- packages/branches/openal/andres/debian/patches/pkg-config_drop_requirements.diff	                        (rev 0)
+++ packages/branches/openal/andres/debian/patches/pkg-config_drop_requirements.diff	2008-01-18 01:19:24 UTC (rev 5449)
@@ -0,0 +1,10 @@
+--- openal-0.0.8/admin/pkgconfig/openal.pc.in	2006-02-11 10:36:55.000000000 +0100
++++ openal/admin/pkgconfig/openal.pc.in	2007-07-25 21:44:40.000000000 +0200
+@@ -5,7 +5,6 @@
+ 
+ Name: OpenAL
+ Description:  OpenAL is a cross-platform 3D audio API.
+-Requires: @requirements@
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lopenal
+ Cflags: -I${includedir}

Modified: packages/branches/openal/andres/debian/patches/series
===================================================================
--- packages/branches/openal/andres/debian/patches/series	2008-01-18 01:15:04 UTC (rev 5448)
+++ packages/branches/openal/andres/debian/patches/series	2008-01-18 01:19:24 UTC (rev 5449)
@@ -0,0 +1,5 @@
+fix_gcc-4.2.diff
+kfreebsd_linking.diff
+pkg-config_drop_requirements.diff
+undocumented_alext_header.diff
+x64_64-disable-MMX.diff -p0

Added: packages/branches/openal/andres/debian/patches/undocumented_alext_header.diff
===================================================================
--- packages/branches/openal/andres/debian/patches/undocumented_alext_header.diff	                        (rev 0)
+++ packages/branches/openal/andres/debian/patches/undocumented_alext_header.diff	2008-01-18 01:19:24 UTC (rev 5449)
@@ -0,0 +1,16 @@
+--- openal-0.0.8/src/backends/alc_backend_bsd.c	2006-01-05 16:11:20.000000000 +0100
++++ openal/src/backends/alc_backend_bsd.c	2007-07-25 21:44:40.000000000 +0200
+@@ -8,7 +8,7 @@
+  *
+  */
+ #include "al_siteconfig.h"
+-
++#include <AL/alext.h>
+ #include <AL/al.h>
+ #include <assert.h>
+ #include <fcntl.h>
+Seulement dans openal/src/backends: alc_backend_bsd.c.diff
+Seulement dans openal/src/backends: .svn
+Seulement dans openal/src/extensions: .svn
+Seulement dans openal/src: .svn
+Seulement dans openal: .svn

Added: packages/branches/openal/andres/debian/patches/x64_64-disable-MMX.diff
===================================================================
--- packages/branches/openal/andres/debian/patches/x64_64-disable-MMX.diff	                        (rev 0)
+++ packages/branches/openal/andres/debian/patches/x64_64-disable-MMX.diff	2008-01-18 01:19:24 UTC (rev 5449)
@@ -0,0 +1,64 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -22428,7 +22428,7 @@
+ esac
+ 
+ case "$target" in
+-    *i386* | *i486* | *i586* | *i686* | *x86_64*)
++    *i386* | *i486* | *i586* | *i686*)
+     openal_x86_support_yn=yes
+ 
+     echo "$as_me:$LINENO: checking for MMX support" >&5
+Index: configure.ac
+===================================================================
+--- configure.ac.orig
++++ configure.ac
+@@ -365,7 +365,7 @@
+ 
+ dnl Special objs for architectures
+ case "$target" in
+-    *i386* | *i486* | *i586* | *i686* | *x86_64*)
++    *i386* | *i486* | *i586* | *i686*)
+     openal_x86_support_yn=yes
+ 
+     AC_MSG_CHECKING([for MMX support])
+Index: src/al_mixfunc.c
+===================================================================
+--- src/al_mixfunc.c.orig
++++ src/al_mixfunc.c
+@@ -38,7 +38,7 @@
+ 		return AL_FALSE;
+ 	}
+ 
+-#ifdef __MMX__
++#ifdef USE_LIGHT_GEN_MIXING
+ 	if (_alHaveMMX()) {
+ 		/* FIXME: we really ignore size. */
+ 		mf->max      = MMXMIXSOURCES;
+@@ -83,7 +83,7 @@
+ 	
+ 		return AL_TRUE;
+ 	}
+-#endif /* __MMX__ */
++#endif /* USE_LIGHT_GEN_MIXING */
+ 
+ 	/* FIXME: we really ignore size. */
+ 	mf->max      = GENMIXSOURCES;
+Index: src/mixaudio16.h
+===================================================================
+--- src/mixaudio16.h.orig
++++ src/mixaudio16.h
+@@ -12,9 +12,9 @@
+ #include "al_types.h"
+ #include "al_siteconfig.h"
+ 
+-#ifdef __MMX__
++#ifdef USE_LIGHT_GEN_MIXING
+ #include "mixaudio16_mmx_prk.h"
+-#endif /* __MMX__ */
++#endif /* USE_LIGHT_GEN_MIXING */
+ 
+ /*
+  * max_audioval is the maximum value of a signed short.




More information about the Pkg-games-commits mailing list