From 053894ca6b412ee90b0d19973b179c87d6ad3c69 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 11 Jul 2005 16:59:07 +0000 Subject: [PATCH] Clifford Wolf: Fixed rss_glx and simgear for OpenAL update [2005071118293009963] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6216 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/kasc/simgear/alutinit.patch | 22 ++++++++++++++++++++++ package/public/rss_glx/alutinit.patch | 11 +++++++++++ 2 files changed, 33 insertions(+) create mode 100644 package/kasc/simgear/alutinit.patch create mode 100644 package/public/rss_glx/alutinit.patch diff --git a/package/kasc/simgear/alutinit.patch b/package/kasc/simgear/alutinit.patch new file mode 100644 index 000000000..2d1a3e90a --- /dev/null +++ b/package/kasc/simgear/alutinit.patch @@ -0,0 +1,22 @@ +--- ./simgear/sound/soundmgr_openal.cxx.orig 2005-07-11 17:54:35.000000000 +0200 ++++ ./simgear/sound/soundmgr_openal.cxx 2005-07-11 17:54:52.000000000 +0200 +@@ -71,7 +71,7 @@ + SG_LOG( SG_GENERAL, SG_INFO, "Initializing OpenAL sound manager" ); + + // initialize OpenAL +- alutInit( 0, NULL ); ++ alutInit( 0, 0, 0 ); + atexit(alutExit); + + if ( alGetError() == AL_NO_ERROR) { +--- ./simgear/sound/openal_test1.cxx.orig 2005-07-11 17:55:17.000000000 +0200 ++++ ./simgear/sound/openal_test1.cxx 2005-07-11 17:55:27.000000000 +0200 +@@ -39,7 +39,7 @@ + + int main( int argc, char *argv[] ) { + // initialize OpenAL +- alutInit( 0, NULL ); ++ alutInit( 0, 0, 0 ); + alGetError(); + if ( alGetError() != AL_NO_ERROR) { + SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" ); diff --git a/package/public/rss_glx/alutinit.patch b/package/public/rss_glx/alutinit.patch new file mode 100644 index 000000000..b2b94719f --- /dev/null +++ b/package/public/rss_glx/alutinit.patch @@ -0,0 +1,11 @@ +--- rss_glx-0.7.5/reallyslick/cpp_src/skyrocket_sound.cpp.orig 2005-07-11 17:22:55.000000000 +0200 ++++ rss_glx-0.7.5/reallyslick/cpp_src/skyrocket_sound.cpp 2005-07-11 17:24:10.000000000 +0200 +@@ -72,7 +72,7 @@ + + j = (unsigned char *)&i; + +- alutInit (NULL, 0); ++ alutInit (0, 0, 0); + + alDistanceModel (AL_INVERSE_DISTANCE); + // As of October, 2001, AL_ROLLOFF_FACTOR isn't implemented in the Windows