File wwwoffle-2.9e-implicit.patch of Package wwwoffle

Index: wwwoffle-2.9j/src/cgi.c
===================================================================
--- wwwoffle-2.9j.orig/src/cgi.c
+++ wwwoffle-2.9j/src/cgi.c
@@ -13,6 +13,7 @@
   ***************************************/
 
 
+#define _GNU_SOURCE
 #include "autoconfig.h"
 
 #define _GNU_SOURCE  /* To pick up getresgid() & getresgid() */
Index: wwwoffle-2.9j/src/wwwoffled.c
===================================================================
--- wwwoffle-2.9j.orig/src/wwwoffled.c
+++ wwwoffle-2.9j/src/wwwoffled.c
@@ -11,7 +11,7 @@
   for conditions under which this file may be redistributed.
   ***************************************/
 
-
+#define _GNU_SOURCE
 #include "autoconfig.h"
 
 #define _GNU_SOURCE  /* To pick up setresgid() & setresgid() */
openSUSE Build Service is sponsored by