rpms/SDL/devel SDL-1.2.8-preferalsa.patch, NONE, 1.1 SDL.spec, 1.33, 1.34

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jan 26 13:57:06 UTC 2006


Author: twoerner

Update of /cvs/dist/rpms/SDL/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21599

Modified Files:
	SDL.spec 
Added Files:
	SDL-1.2.8-preferalsa.patch 
Log Message:
[tw] - prefer alsa sound output, then artsd and esd



SDL-1.2.8-preferalsa.patch:
 SDL_audio.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

--- NEW FILE SDL-1.2.8-preferalsa.patch ---
--- SDL-1.2.8/src/audio/SDL_audio.c.prefer	2004-12-13 08:54:31.000000000 +0100
+++ SDL-1.2.8/src/audio/SDL_audio.c	2006-01-26 14:47:17.000000000 +0100
@@ -40,6 +40,15 @@
 
 /* Available audio drivers */
 static AudioBootStrap *bootstrap[] = {
+#ifdef ALSA_SUPPORT
+	&ALSA_bootstrap,
+#endif
+#ifdef ARTSC_SUPPORT
+	&ARTSC_bootstrap,
+#endif
+#ifdef ESD_SUPPORT
+	&ESD_bootstrap,
+#endif
 #ifdef OPENBSD_AUDIO_SUPPORT
 	&OPENBSD_AUDIO_bootstrap,
 #endif
@@ -47,9 +56,6 @@
 	&DSP_bootstrap,
 	&DMA_bootstrap,
 #endif
-#ifdef ALSA_SUPPORT
-	&ALSA_bootstrap,
-#endif
 #ifdef QNXNTOAUDIO_SUPPORT
 	&QNXNTOAUDIO_bootstrap,
 #endif
@@ -59,12 +65,6 @@
 #ifdef DMEDIA_SUPPORT
 	&DMEDIA_bootstrap,
 #endif
-#ifdef ARTSC_SUPPORT
-	&ARTSC_bootstrap,
-#endif
-#ifdef ESD_SUPPORT
-	&ESD_bootstrap,
-#endif
 #ifdef NAS_SUPPORT
 	&NAS_bootstrap,
 #endif


Index: SDL.spec
===================================================================
RCS file: /cvs/dist/rpms/SDL/devel/SDL.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- SDL.spec	24 Jan 2006 13:41:09 -0000	1.33
+++ SDL.spec	26 Jan 2006 13:57:02 -0000	1.34
@@ -1,14 +1,14 @@
 Summary: A cross-platform multimedia library.
 Name: SDL
 Version: 1.2.9
-Release: 3
+Release: 4
 Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
 Patch0: SDL-1.1.7-byteorder.patch
-Patch4: SDL-1.2.3-prefersounddaemons.patch
 Patch13: SDL-1.2.7-ppc_modes.patch
 Patch15: SDL-1.2.8-gcc4.patch
 Patch17: SDL-1.2.8-libdir.patch
 Patch18: SDL-1.2.9-yuv_mmx_gcc4.patch
+Patch19: SDL-1.2.8-preferalsa.patch
 URL: http://www.libsdl.org/
 License: LGPL
 Group: System Environment/Libraries
@@ -40,11 +40,11 @@
 
 %setup -q 
 %patch0 -p1 -b .byte
-%patch4 -p1 -b .prefer
 %patch13 -p1 -b .ppc_modes
 %patch15 -p1 -b .gcc4
 %patch17 -p1 -b .libdir
 %patch18 -p1 -b .yuv_mmx_gcc4
+%patch19 -p1 -b .prefer
 
 %build
 #libtoolize --copy --force
@@ -100,6 +100,9 @@
 %{_mandir}/man3/SDL*.3*
 
 %changelog
+* Thu Jan 26 2006 Thomas Woerner <twoerner at redhat.com> 1.2.9-4
+- prefer alsa sound output, then artsd and esd
+
 * Tue Jan 24 2006 Thomas Woerner <twoerner at redhat.com> 1.2.9-3
 - dropped libtool .la files from devel package
 




More information about the fedora-cvs-commits mailing list