Subject: [patch] [security/AiSSLtelnet] build on Linux
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 07/03/2004 14:09:06
This is a multi-part message in MIME format.
--------------080704000100020608080806
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

can someone please replace patches/patch-aa with the appended patch to 
make it build on Linux?

Thanks,

Roland

--------------080704000100020608080806
Content-Type: text/plain;
 name="patch-aa"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-aa"

$NetBSD$

--- ./lib/libbsd/setenv.c.orig	2001-08-02 15:42:43.000000000 +0200
+++ ./lib/libbsd/setenv.c	2004-07-03 14:02:51.000000000 +0200
@@ -37,6 +37,7 @@
 
 /* 	$Id: setenv.c,v 1.3 1996/01/31 10:02:12 martin Exp $	 */
 
+#ifndef __NetBSD__
 #ifndef lint
 static char vcid[] = "$Id: setenv.c,v 1.3 1996/01/31 10:02:12 martin Exp $";
 #endif /* lint */
@@ -108,6 +109,7 @@
 	return (0);
 }
 
+#ifndef __linux__
 /*
  * unsetenv(name) --
  *	Delete environmental variable "name".
@@ -126,3 +128,5 @@
 			if (!(*P = *(P + 1)))
 				break;
 }
+#endif
+#endif /* __NetBSD__ */

--------------080704000100020608080806--