summaryrefslogtreecommitdiff
path: root/net/llnlxdir
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-02-23 14:41:42 +0000
committerben <ben@pkgsrc.org>2004-02-23 14:41:42 +0000
commite3a2a92208603c011e5976c664e97e99512e447d (patch)
tree120cee3689681fab944dd0ff0798c7ebd8453044 /net/llnlxdir
parent83b189fb38edb9f1b830422cf6e93ef70e3248df (diff)
downloadpkgsrc-e3a2a92208603c011e5976c664e97e99512e447d.tar.gz
Use getlogin() instead of cuserid() on NetBSD.
Diffstat (limited to 'net/llnlxdir')
-rw-r--r--net/llnlxdir/distinfo3
-rw-r--r--net/llnlxdir/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/llnlxdir/distinfo b/net/llnlxdir/distinfo
index 33c35ac38d9..a69fdea4c40 100644
--- a/net/llnlxdir/distinfo
+++ b/net/llnlxdir/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/02/12 05:43:42 ben Exp $
+$NetBSD: distinfo,v 1.2 2004/02/23 14:45:57 ben Exp $
SHA1 (llnlxdir2_1_2.tar.Z) = b9e8f79929e693d4f0fd3b41f7ce3ceb76abd252
Size (llnlxdir2_1_2.tar.Z) = 574027 bytes
SHA1 (patch-aa) = 54ebaf3b006d6f1253b6baaad984addd698e9728
+SHA1 (patch-ab) = 734e8b92bc3c1efeb71138acf60eab04bd8639a6
diff --git a/net/llnlxdir/patches/patch-ab b/net/llnlxdir/patches/patch-ab
new file mode 100644
index 00000000000..b822a753854
--- /dev/null
+++ b/net/llnlxdir/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/02/23 14:45:57 ben Exp $
+
+--- lconnect.c.orig 1999-11-22 16:07:32.000000000 -0800
++++ lconnect.c
+@@ -92,7 +92,7 @@ init_local_host()
+ hinfo[LOCAL].hostname = local_host_name();
+
+ /* Get user name */
+-#if defined(__sony_news) || defined(__MACHTEN__)
++#if defined(__sony_news) || defined(__MACHTEN__) || defined(__NetBSD__)
+ if((username = getenv("USER")) || (username = getlogin()))
+ #else
+ if((username = getenv("USER")) || (username = cuserid(NULL)))