Needed to bump the version again in order to get rid of the %preun.
[fedora-mingw.git] / SDL / SDL-1.2.13-audiodriver.patch
1 diff -up SDL-1.2.13/src/audio/SDL_audio.c.audiodriver SDL-1.2.13/src/audio/SDL_audio.c
2 --- SDL-1.2.13/src/audio/SDL_audio.c.audiodriver        2007-12-31 05:47:59.000000000 +0100
3 +++ SDL-1.2.13/src/audio/SDL_audio.c    2008-09-01 14:53:58.000000000 +0200
4 @@ -36,6 +36,12 @@
5  
6  /* Available audio drivers */
7  static AudioBootStrap *bootstrap[] = {
8 +#if SDL_AUDIO_DRIVER_PULSE
9 +       &PULSE_bootstrap,
10 +#endif
11 +#if SDL_AUDIO_DRIVER_ALSA
12 +       &ALSA_bootstrap,
13 +#endif
14  #if SDL_AUDIO_DRIVER_BSD
15         &BSD_AUDIO_bootstrap,
16  #endif
17 @@ -43,12 +49,6 @@ static AudioBootStrap *bootstrap[] = {
18         &DSP_bootstrap,
19         &DMA_bootstrap,
20  #endif
21 -#if SDL_AUDIO_DRIVER_ALSA
22 -       &ALSA_bootstrap,
23 -#endif
24 -#if SDL_AUDIO_DRIVER_PULSE
25 -       &PULSE_bootstrap,
26 -#endif
27  #if SDL_AUDIO_DRIVER_QNXNTO
28         &QNXNTOAUDIO_bootstrap,
29  #endif