File feh-2.12-fix_sighandler.patch of Package feh

Based on the version of pascal.bleser@opensuse.org

---
 src/wallpaper.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -696,10 +696,10 @@ void enl_ipc_send(char *str)
 	return;
 }
 
-static sighandler_t *enl_ipc_timeout(int sig)
+static void enl_ipc_timeout(int sig)
 {
 	timeout = 1;
-	return((sighandler_t *) sig);
+    sig = 0;
 }
 
 char *enl_wait_for_reply(void)
openSUSE Build Service is sponsored by