summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>1999-03-29 16:14:40 +0000
committertron <tron>1999-03-29 16:14:40 +0000
commit4c003af9761a9422fdfda9c2b2d08694aa43aaf4 (patch)
treef052fd5d6014767cccc9a01a0bd8563d974c7e08
parent32c6264b81db20a542d54c2188a3af343c0bf1e1 (diff)
downloadpkgsrc-4c003af9761a9422fdfda9c2b2d08694aa43aaf4.tar.gz
Repair broken command line parsing, fixes PR pkg/7276 Ignatios Souvatzis.
[Of course this bug report should have gone to the AfterStep author(s).]
-rw-r--r--x11/afterstep/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/afterstep/patches/patch-ae b/x11/afterstep/patches/patch-ae
new file mode 100644
index 00000000000..ff9cff8c991
--- /dev/null
+++ b/x11/afterstep/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 1999/03/29 16:14:40 tron Exp $
+
+--- src/afterstep/afterstep.c.orig Fri Dec 11 00:34:43 1998
++++ src/afterstep/afterstep.c Mon Mar 29 18:07:04 1999
+@@ -194,7 +194,7 @@
+ else if (!strcmp(argv[i], "-f") && i + 1 < argc)
+ {
+ shall_override_config_file = True;
+- config_file_to_override = argv[i];
++ config_file_to_override = argv[++i];
+ }
+ else
+ usage();