summaryrefslogtreecommitdiff
path: root/mail/metamail/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-22 01:57:44 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-22 01:57:44 +0000
commitb9c75e6138e945fddcf889a7de52707c8e9dd9ea (patch)
treea66b8a7e40c40ffb37dc1cd5374820cb1d1c4fa0 /mail/metamail/patches
parent6a1f5712969d9bf21ce80cf2c36585f1ccb84edb (diff)
downloadpkgsrc-b9c75e6138e945fddcf889a7de52707c8e9dd9ea.tar.gz
Kill !STDC_HEADERS, it is not defined, but should be.
Diffstat (limited to 'mail/metamail/patches')
-rw-r--r--mail/metamail/patches/patch-as22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/metamail/patches/patch-as b/mail/metamail/patches/patch-as
new file mode 100644
index 00000000000..9d1b68f8cf7
--- /dev/null
+++ b/mail/metamail/patches/patch-as
@@ -0,0 +1,22 @@
+$NetBSD: patch-as,v 1.1 2006/01/22 01:57:44 joerg Exp $
+
+--- metamail/putenv.c.orig 2006-01-22 01:55:38.000000000 +0000
++++ metamail/putenv.c
+@@ -19,17 +19,9 @@ Cambridge, MA 02139, USA. */
+ #include <config.h>
+ #include <sys/types.h>
+ #include <errno.h>
+-#ifdef STDC_HEADERS
+ #include <stdlib.h>
+-#else
+-extern int errno;
+-#endif
+
+-#if defined(STDC_HEADERS) || defined(USG) || defined(SYSV)
+ #include <string.h>
+-#else /* not (STDC_HEADERS or USG) */
+-#include <strings.h>
+-#endif /* STDC_HEADERS or USG */
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>