diff --git a/vegastrike-0.4.3-openal.patch b/vegastrike-0.4.3-openal.patch deleted file mode 100644 index 0ea454a..0000000 --- a/vegastrike-0.4.3-openal.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- vegastrike-0.4.3/src/aldrv/al_init.cpp.openal 2007-02-25 16:17:45.000000000 +0100 -+++ vegastrike-0.4.3/src/aldrv/al_init.cpp 2007-02-25 16:17:45.000000000 +0100 -@@ -135,12 +135,8 @@ - ///I don't think we'll need to switch contexts or devices in vegastrike - static ALCdevice *dev=NULL; - --#ifndef _WIN32 --static ALvoid *context_id=NULL; --#else - static ALCcontext * context_id=NULL; - #endif --#endif - bool AUDInit () { - g_game.sound_enabled = false; - #ifdef HAVE_AL diff --git a/vegastrike-0.5.1-openal.patch b/vegastrike-0.5.1-openal.patch new file mode 100644 index 0000000..ce73114 --- /dev/null +++ b/vegastrike-0.5.1-openal.patch @@ -0,0 +1,15 @@ +--- src/aldrv/al_init.cpp.orig 2011-07-09 09:36:54.914963733 -0500 ++++ src/aldrv/al_init.cpp 2011-07-09 09:37:51.982216718 -0500 +@@ -123,12 +123,8 @@ + ///I don't think we'll need to switch contexts or devices in vegastrike + static ALCdevice *dev = NULL; + +-#ifndef _WIN32 +-static ALvoid *context_id = NULL; +-#else + static ALCcontext *context_id = NULL; + #endif +-#endif + bool AUDInit() + { + g_game.sound_enabled = diff --git a/vegastrike.spec b/vegastrike.spec index 63f5cf8..44543a0 100644 --- a/vegastrike.spec +++ b/vegastrike.spec @@ -16,7 +16,7 @@ Patch1: vegastrike-0.5.1-paths-fix.patch Patch2: vegastrike-0.4.2-posh-fix.patch Patch3: vegastrike-0.4.2-vssetup-fix.patch Patch4: vegastrike-0.4.3-64-bit.patch -Patch5: vegastrike-0.4.3-openal.patch +Patch5: vegastrike-0.5.1-openal.patch Patch6: vegastrike-0.4.3-sys-python.patch Patch7: vegastrike-0.5.0-boost-make_shared.patch Patch8: vegastrike-0.5.0-gcc44.patch @@ -45,7 +45,7 @@ Yet danger lurks in the space beyond. %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 +%patch5 -p0 %patch6 -p1 %patch7 -p1 %patch8 -p1