summaryrefslogtreecommitdiff
path: root/mail/metamail
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-22 01:57:44 +0000
committerjoerg <joerg>2006-01-22 01:57:44 +0000
commit81f2bff82f59ef82f6a53c87423a3f92d0c2d9c6 (patch)
treea66b8a7e40c40ffb37dc1cd5374820cb1d1c4fa0 /mail/metamail
parent7cc192749943c06580bc8c0cc4ddeb24868698f1 (diff)
downloadpkgsrc-81f2bff82f59ef82f6a53c87423a3f92d0c2d9c6.tar.gz
Kill !STDC_HEADERS, it is not defined, but should be.
Diffstat (limited to 'mail/metamail')
-rw-r--r--mail/metamail/distinfo3
-rw-r--r--mail/metamail/patches/patch-as22
2 files changed, 24 insertions, 1 deletions
diff --git a/mail/metamail/distinfo b/mail/metamail/distinfo
index e866b8194ba..2d40e891a63 100644
--- a/mail/metamail/distinfo
+++ b/mail/metamail/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2006/01/19 10:55:30 tron Exp $
+$NetBSD: distinfo,v 1.18 2006/01/22 01:57:44 joerg Exp $
SHA1 (mm2.7.tar.Z) = 8f213baec9b17c05bcb066f616977a561757d7a6
RMD160 (mm2.7.tar.Z) = ae322cad0653140cbe7f0148ce48757df98c26b0
@@ -21,3 +21,4 @@ SHA1 (patch-ao) = 90566d47642fe8ee71295ea47f3cf7420d0b2880
SHA1 (patch-ap) = ade6fba2254e7db3f9cf52acf453bb512c0a3d32
SHA1 (patch-aq) = 90f84381aaf91db03cecef84d9433c3ffd1152db
SHA1 (patch-ar) = 21e137edd2bb1dc09048f7ef23e86859d698d848
+SHA1 (patch-as) = 8d8c31f1ff508e9d7fc73a03a5f7ba63faa118ef
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>