diff options
author | wennmach <wennmach> | 2005-03-15 15:58:52 +0000 |
---|---|---|
committer | wennmach <wennmach> | 2005-03-15 15:58:52 +0000 |
commit | a3bb19858261a0432ef207ef4c3757e5c6d1bd2b (patch) | |
tree | 8861d10442c9b9314085e82332ee85bc096292b1 /net/arla/patches/patch-bm | |
parent | 824ad1c1680ee26ec5c39dc066633d5c83416fb4 (diff) | |
download | pkgsrc-a3bb19858261a0432ef207ef4c3757e5c6d1bd2b.tar.gz |
Update arla to 0.38. The update is necessary to support NetBSD-2.0.
The update during the pkgsrc freeze has been approved by <wiz>.
Two patches have been provided by <christos>.
Tested on NetBSD-1.6.1/i386 and NetBSD-2.0/i386.
Closes PR pkg/20906.
Diffstat (limited to 'net/arla/patches/patch-bm')
-rw-r--r-- | net/arla/patches/patch-bm | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net/arla/patches/patch-bm b/net/arla/patches/patch-bm deleted file mode 100644 index 6e0b24bf40d..00000000000 --- a/net/arla/patches/patch-bm +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-bm,v 1.2 2002/12/23 18:28:20 cjep Exp $ - -On NetBSD, comment out call to setgetprogname(). - ---- appl/afsutils/klog.c.orig Tue Aug 20 18:07:46 2002 -+++ appl/afsutils/klog.c Tue Aug 20 18:09:32 2002 -@@ -498,9 +498,19 @@ - - char pwbuf[PASSWD_MAX]; - -+/* -+ * The setprogname(3) function was introduced in NetBSD 1.6. -+ * It is a function provided for compatibility, and in NetBSD, -+ * calling setprogname() from main() has no effect. -+ * In order to for this to work on older NetBSD systems, -+ * we just comment the call to setprogname() out. -+ */ -+#if !defined(__NetBSD__) - setprogname (argv[0]); -- - method = log_open (getprogname(), "/dev/stderr:notime"); -+#else -+ method = log_open ("klog", "/dev/stderr:notime"); -+#endif - if (method == NULL) - errx (1, "log_open failed"); - cell_init(0, method); |