diff options
Diffstat (limited to 'x11/gtk')
-rw-r--r-- | x11/gtk/patches/patch-ae | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/gtk/patches/patch-ae b/x11/gtk/patches/patch-ae new file mode 100644 index 00000000000..f3c2a9d1e98 --- /dev/null +++ b/x11/gtk/patches/patch-ae @@ -0,0 +1,19 @@ +$NetBSD: patch-ae,v 1.1 1999/01/16 04:18:02 tron Exp $ + +--- gdk/gdkimage.c.orig Mon Jan 4 10:33:27 1999 ++++ gdk/gdkimage.c Sat Jan 16 02:01:30 1999 +@@ -18,12 +18,14 @@ + */ + #include <config.h> + ++#ifdef __linux__ + /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors + * unless this is defined: + * warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" + */ + #ifndef _XOPEN_SOURCE + # define _XOPEN_SOURCE 1 ++#endif + #endif + + #include <stdlib.h> |