[Pkg-e-devel] Bug#535768: closed by Albin Tonnerre <lutin at debian.org> (Bug#535768: fixed in evas 0.9.9.49898-1)

Mark-Willem Jansen markwillem at hotmail.com
Thu May 5 11:47:52 UTC 2011


Hi,

Maybe you could rewrite the patch, so the pre-compiler checks the existence 
of SA_SIGINFO and selects the appropriate code. For example.

@@ -1454,13 +1454,13 @@ parse_args(int argc, char **argv)
 static int exit_flag = 0;

 static void
+#ifdef SA_SIGINFO
 exit_handler(int x, siginfo_t *info, void *data)
+#else
+exit_handler(int x)
+#endif
 {
    exit_flag = 1;
 }

 static void
+#ifdef SA_SIGINFO
 pipe_handler(int x, siginfo_t *info, void *data)
+#else

+pipe_handler(int x)

+#endif
 
{
 }

This way the patch will not effect the architects that have SA_SIGINFO defined.

Mark-Willem Jansen
 		 	   		  




More information about the Pkg-e-devel mailing list