diff options
Diffstat (limited to 'net/llnlxdir/patches/patch-ab')
-rw-r--r-- | net/llnlxdir/patches/patch-ab | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llnlxdir/patches/patch-ab b/net/llnlxdir/patches/patch-ab index b822a753854..1be2e460eb4 100644 --- a/net/llnlxdir/patches/patch-ab +++ b/net/llnlxdir/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1 2004/02/23 14:45:57 ben Exp $ +$NetBSD: patch-ab,v 1.2 2006/03/22 23:15:30 joerg Exp $ --- lconnect.c.orig 1999-11-22 16:07:32.000000000 -0800 +++ lconnect.c @@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1 2004/02/23 14:45:57 ben Exp $ /* Get user name */ -#if defined(__sony_news) || defined(__MACHTEN__) -+#if defined(__sony_news) || defined(__MACHTEN__) || defined(__NetBSD__) ++#if defined(__sony_news) || defined(__MACHTEN__) || defined(__NetBSD__) || defined(__DragonFly__) if((username = getenv("USER")) || (username = getlogin())) #else if((username = getenv("USER")) || (username = cuserid(NULL))) |