File apache-commons-daemon-gcc14-compat.patch of Package apache-commons-daemon

--- a/src/native/unix/native/jsvc-unix.c
+++ b/src/native/unix/native/jsvc-unix.c
@@ -1308,7 +1308,7 @@ static int run_controller(arg_data *args
      * These will be replaced in the child process.
      */
     memset(&act, '\0', sizeof(act));
-    act.sa_sigaction = controller;
+    act.sa_sigaction = (void *) controller;
     sigemptyset(&act.sa_mask);
     act.sa_flags = SA_RESTART | SA_NOCLDSTOP | SA_SIGINFO;
 
openSUSE Build Service is sponsored by