diff options
Diffstat (limited to 'net/arla/patches/patch-be')
-rw-r--r-- | net/arla/patches/patch-be | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net/arla/patches/patch-be b/net/arla/patches/patch-be deleted file mode 100644 index f9cf1747062..00000000000 --- a/net/arla/patches/patch-be +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-be,v 1.2 2002/12/23 18:28:20 cjep Exp $ - -On NetBSD, comment out call to setgetprogname(). - ---- lib/cmd/testc.c.orig Tue Aug 20 17:11:59 2002 -+++ lib/cmd/testc.c Tue Aug 20 17:12:37 2002 -@@ -103,7 +103,16 @@ - struct cmd_syndesc *ts; - int ret; - -+/* -+ * 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]); -+#endif - - ts = cmd_CreateSyntax (NULL, MainProc, NULL, "foo"); - |