diff options
author | pav <pav@FreeBSD.org> | 2007-07-29 09:30:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-07-29 09:30:33 +0800 |
commit | d974e32e7fd5a06df0312a56207e9692aee65df2 (patch) | |
tree | c3072a0d589b580e6b9ffe2411ce2ce264f68de7 /mail/metamail | |
parent | 3d6e01f0184dd207e80f335e94b604182576f9b1 (diff) | |
download | freebsd-ports-gnome-d974e32e7fd5a06df0312a56207e9692aee65df2.tar.gz freebsd-ports-gnome-d974e32e7fd5a06df0312a56207e9692aee65df2.tar.zst freebsd-ports-gnome-d974e32e7fd5a06df0312a56207e9692aee65df2.zip |
- Fix build on -CURRENT (untested)
PR: ports/114599
Submitted by: Jean-Francois Dockes <jean-francois.dockes@wanadoo.fr> (maintainer)
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; |