summaryrefslogtreecommitdiff
path: root/net/arla/patches/patch-bg
diff options
context:
space:
mode:
Diffstat (limited to 'net/arla/patches/patch-bg')
-rw-r--r--net/arla/patches/patch-bg28
1 files changed, 0 insertions, 28 deletions
diff --git a/net/arla/patches/patch-bg b/net/arla/patches/patch-bg
deleted file mode 100644
index b2dc82de230..00000000000
--- a/net/arla/patches/patch-bg
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-bg,v 1.2 2002/12/23 18:28:20 cjep Exp $
-
-On NetBSD, comment out call to setgetprogname().
-
---- lib/ko/kotest.c.orig Tue Aug 20 17:23:43 2002
-+++ lib/ko/kotest.c Tue Aug 20 17:27:36 2002
-@@ -56,9 +56,20 @@
- int ret = 0;
- Log_method *method;
-
-+/*
-+ * 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");
-+#else
-+ method = log_open("kotest", "/dev/stderr");
-+#endif
-+
- if (method == NULL)
- errx (1, "log_open failed");
- cell_init(0, method);