File fix-no-return-in-nonvoid-function.patch of Package sfxr

diff -Naur sfxr-sdl-1.2.1.org/sdlkit.h sfxr-sdl-1.2.1/sdlkit.h
--- sfxr-sdl-1.2.1.org/sdlkit.h	2012-04-28 12:33:53.000000000 +0200
+++ sfxr-sdl-1.2.1/sdlkit.h	2020-07-10 12:23:45.517068927 +0200
@@ -77,6 +77,7 @@
 	ddkpitch = sdlscreen->pitch / (sdlscreen->format->BitsPerPixel == 32 ? 4 : 2);
 	ddkscreen16 = (Uint16*)(sdlscreen->pixels);
 	ddkscreen32 = (Uint32*)(sdlscreen->pixels);
+	return true;
 }
 
 static void ddkUnlock ()
openSUSE Build Service is sponsored by