diff --git a/media-libs/libsdl/patches/sdl-1.2-svn-trunk.patch b/media-libs/libsdl/patches/sdl-1.2-svn-trunk.patch new file mode 100644 index 000000000..9a197822a --- /dev/null +++ b/media-libs/libsdl/patches/sdl-1.2-svn-trunk.patch @@ -0,0 +1,30 @@ +Index: src/main/beos/SDL_BeApp.cc +=================================================================== +--- src/main/beos/SDL_BeApp.cc (revision 5545) ++++ src/main/beos/SDL_BeApp.cc (working copy) +@@ -39,13 +39,15 @@ + + static int StartBeApp(void *unused) + { ++ if(!be_app) { + BApplication *App; + + App = new BApplication("application/x-SDL-executable"); + + App->Run(); + delete App; +- return(0); ++ } ++ return(0); + } + + /* Initialize the Be Application, if it's not already started */ +@@ -86,7 +88,7 @@ + ++SDL_BeAppActive; + + /* The app is running, and we're ready to go */ +- return(0); ++ return(0); + } + + /* Quit the Be Application, if there's nothing left to do */