summaryrefslogtreecommitdiff
path: root/mail/metamail
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
parent6a1f5712969d9bf21ce80cf2c36585f1ccb84edb (diff)
downloadpkgsrc-b9c75e6138e945fddcf889a7de52707c8e9dd9ea.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>