diff options
Diffstat (limited to 'net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch')
-rw-r--r-- | net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch new file mode 100644 index 000000000000..fe7ffec2d578 --- /dev/null +++ b/net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch @@ -0,0 +1,11 @@ +--- a/src/misc.c ++++ b/src/misc.c +@@ -19,7 +19,7 @@ + $Id: misc.c,v 1.13 2003/04/06 21:01:49 dspiljar Exp $ */ + + #define _XOPEN_SOURCE /* Pull in strptime(3) from time.h */ +-#define _BSD_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3) ++#define _DEFAULT_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3) + * from string.h. */ + + #include <config.h> |