diff --git a/debian/patches/remove-sdl-signal-handler.patch b/debian/patches/remove-sdl-signal-handler.patch index be1ee7a..4adf9a4 100644 --- a/debian/patches/remove-sdl-signal-handler.patch +++ b/debian/patches/remove-sdl-signal-handler.patch @@ -1,12 +1,10 @@ --- a/src/tone/tone.cpp +++ b/src/tone/tone.cpp -@@ -248,7 +248,8 @@ +@@ -248,6 +248,7 @@ void initTone() { -- if(SDL_Init( SDL_INIT_AUDIO ) < 0) { + SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1"); -+ if(SDL_Init( SDL_INIT_AUDIO ) < 0) { + if(SDL_Init( SDL_INIT_AUDIO ) < 0) { printf("Erreur d'initialisation de la SDL : %s",SDL_GetError());//on affiche l'erreur exit( EXIT_FAILURE); - }