[vegastrike] Fix openal patch for new context.
Bruno Wolff III
bruno at fedoraproject.org
Sat Jul 9 18:59:54 UTC 2011
commit 73d524de5cd158df48e69a8948afc59a657f667d
Author: Bruno Wolff III <bruno at wolff.to>
Date: Sat Jul 9 09:39:45 2011 -0500
Fix openal patch for new context.
vegastrike-0.4.3-openal.patch | 15 ---------------
vegastrike-0.5.1-openal.patch | 15 +++++++++++++++
vegastrike.spec | 4 ++--
3 files changed, 17 insertions(+), 17 deletions(-)
---
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
More information about the scm-commits
mailing list