diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-29 01:30:33 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-07-29 01:30:33 +0000 |
commit | a4f7a538a2ac20ba360d6f9a751341e8bf593c56 (patch) | |
tree | abc4527c14e894fc85c7f588aa20514b76ac3081 /mail/metamail | |
parent | 5a6b140b9034ed3b425a024251aba1a0635d919b (diff) | |
download | ports-a4f7a538a2ac20ba360d6f9a751341e8bf593c56.tar.gz ports-a4f7a538a2ac20ba360d6f9a751341e8bf593c56.zip |
- Fix build on -CURRENT (untested)
PR: ports/114599
Submitted by: Jean-Francois Dockes <jean-francois.dockes@wanadoo.fr> (maintainer)
Notes
Notes:
svn path=/head/; revision=196537
Diffstat (limited to 'mail/metamail')
-rw-r--r-- | mail/metamail/files/patch-metamail_putenv.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/metamail/files/patch-metamail_putenv.c b/mail/metamail/files/patch-metamail_putenv.c index 72b2806df1bf..d80ab84eba62 100644 --- a/mail/metamail/files/patch-metamail_putenv.c +++ b/mail/metamail/files/patch-metamail_putenv.c @@ -1,5 +1,5 @@ --- metamail/putenv.c.orig Tue Oct 12 17:17:43 1993 -+++ metamail/putenv.c Mon Dec 18 11:46:22 2006 ++++ metamail/putenv.c Sat Jul 14 17:35:44 2007 @@ -17,6 +17,8 @@ Cambridge, MA 02139, USA. */ @@ -9,3 +9,15 @@ #include <sys/types.h> #include <errno.h> #ifdef STDC_HEADERS +@@ -48,7 +50,11 @@ + /* Put STRING, which is of the form "NAME=VALUE", in the environment. */ + int + putenv (string) ++#if defined __FreeBSD__ && __FreeBSD__ <= 6 + const char *string; ++#else ++ char *string; ++#endif + { + char *name_end = index (string, '='); + register size_t size; |