diff options
author | hans <hans@pkgsrc.org> | 2012-03-21 19:58:47 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-21 19:58:47 +0000 |
commit | d60ae250d38746e28c9b160fb8e86443775db5ae (patch) | |
tree | 5e522da2f07105adfecefeeebc2eb56add51419c /x11/gtk3/patches | |
parent | c683a35a48a5d8ba5d4a937131685f4396542418 (diff) | |
download | pkgsrc-d60ae250d38746e28c9b160fb8e86443775db5ae.tar.gz |
Don't override an existing _XOPEN_SOURCE definition. Define it on SunOS
to make this build with std=gnu99.
Diffstat (limited to 'x11/gtk3/patches')
-rw-r--r-- | x11/gtk3/patches/patch-gtk_gtksearchenginesimple.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/gtk3/patches/patch-gtk_gtksearchenginesimple.c b/x11/gtk3/patches/patch-gtk_gtksearchenginesimple.c new file mode 100644 index 00000000000..9d9b52ff811 --- /dev/null +++ b/x11/gtk3/patches/patch-gtk_gtksearchenginesimple.c @@ -0,0 +1,14 @@ +$NetBSD: patch-gtk_gtksearchenginesimple.c,v 1.1 2012/03/21 19:58:47 hans Exp $ + +--- gtk/gtksearchenginesimple.c.orig 2011-12-19 14:58:28.000000000 +0100 ++++ gtk/gtksearchenginesimple.c 2012-03-21 20:36:33.118910490 +0100 +@@ -27,7 +27,9 @@ + * export ftw() and friends only if _XOPEN_SOURCE and _GNU_SOURCE + * are defined. see bug #444097. + */ ++#ifndef _XOPEN_SOURCE + #define _XOPEN_SOURCE 500 ++#endif + #define _GNU_SOURCE + + #ifdef HAVE_FTW_H |