Comment out setenv.c for NetBSD. System library has working copies and

unsetenv conflicts anyways.
This commit is contained in:
jmc 2003-09-21 08:53:35 +00:00
parent 207ce032a0
commit b10fb83eb5
3 changed files with 21 additions and 2 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.3 2003/07/17 22:52:49 grant Exp $
# $NetBSD: Makefile,v 1.4 2003/09/21 08:53:35 jmc Exp $
#
DISTNAME= AiSSLtelnet-0.15
PKGREVISION= 1
WRKSRC= ${WRKDIR}/AiSSLtelnet
CATEGORIES= security
MASTER_SITES= http://mars.elcom.nitech.ac.jp/security/

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.4 2001/08/17 05:04:29 jun Exp $
$NetBSD: distinfo,v 1.5 2003/09/21 08:53:36 jmc Exp $
SHA1 (AiSSLtelnet-0.15.tar.gz) = 533662049ac44dbf45bb5b53f37eabf269017a79
Size (AiSSLtelnet-0.15.tar.gz) = 669686 bytes
SHA1 (patch-aa) = 8bcf289daf06a2a58af7cd1eb8dee264ab79f75b

View file

@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.3 2003/09/21 08:53:37 jmc Exp $
--- lib/libbsd/setenv.c.orig 2003-09-21 03:45:39.000000000 +0000
+++ lib/libbsd/setenv.c 2003-09-21 03:46:02.000000000 +0000
@@ -37,6 +37,7 @@
/* $Id: patch-aa,v 1.3 2003/09/21 08:53:37 jmc Exp $ */
+#ifndef __NetBSD__
#ifndef lint
static char vcid[] = "$Id: patch-aa,v 1.3 2003/09/21 08:53:37 jmc Exp $";
#endif /* lint */
@@ -126,3 +127,4 @@
if (!(*P = *(P + 1)))
break;
}
+#endif /* __NetBSD__ */