View | Details | Raw Unified | Return to bug 114599
Collapse All | Expand All

(-)metamail/files/patch-metamail_putenv.c (-1 / +13 lines)
Lines 1-5 Link Here
1
--- metamail/putenv.c.orig	Tue Oct 12 17:17:43 1993
1
--- metamail/putenv.c.orig	Tue Oct 12 17:17:43 1993
2
+++ metamail/putenv.c	Mon Dec 18 11:46:22 2006
2
+++ metamail/putenv.c	Sat Jul 14 17:35:44 2007
3
@@ -17,6 +17,8 @@
3
@@ -17,6 +17,8 @@
4
 Cambridge, MA 02139, USA.  */
4
 Cambridge, MA 02139, USA.  */
5
 
5
 
Lines 9-11 Link Here
9
 #include <sys/types.h>
9
 #include <sys/types.h>
10
 #include <errno.h>
10
 #include <errno.h>
11
 #ifdef STDC_HEADERS
11
 #ifdef STDC_HEADERS
12
@@ -48,7 +50,11 @@
13
 /* Put STRING, which is of the form "NAME=VALUE", in the environment.  */
14
 int
15
 putenv (string)
16
+#if defined __FreeBSD__ && __FreeBSD__ <= 6
17
      const char *string;
18
+#else
19
+     char *string;
20
+#endif
21
 {
22
   char *name_end = index (string, '=');
23
   register size_t size;

Return to bug 114599