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