diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /net-mail/mboxgrep/files | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'net-mail/mboxgrep/files')
-rw-r--r-- | net-mail/mboxgrep/files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch | 11 | ||||
-rw-r--r-- | net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch | 20 |
2 files changed, 31 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> diff --git a/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch b/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch new file mode 100644 index 000000000000..09c8388998cb --- /dev/null +++ b/net-mail/mboxgrep/files/mboxgrep-0.7.9-fno-common.patch @@ -0,0 +1,20 @@ +--- a/src/mboxgrep.h ++++ b/src/mboxgrep.h +@@ -129,6 +129,6 @@ + } + option_t; + +-option_t config; ++extern option_t config; + + #endif /* MBOXGREP_H */ +--- a/src/main.c ++++ b/src/main.c +@@ -57,6 +57,7 @@ + int count = 0; + void *tmpp; + checksum_t *cs; ++option_t config; + + int + main (int argc, char **argv) |