summaryrefslogtreecommitdiff
path: root/wm/ctwm/patches/patch-ac
blob: a75066ffe91e5e0cff06659da064e533d05fb8eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1 2003/06/10 07:40:53 wiz Exp $

Remove -s option from call to m4.

--- parse.c.dist	Tue Dec 11 16:38:52 2001
+++ parse.c	Sat Mar  8 13:34:59 2003
@@ -2097,7 +2097,8 @@
                 dup2(fids[1], 1);       /* stdout = pipe to parent */
                 /* get_defs("m4", dpy, display_name) */
                 tmp_file = m4_defs(dpy, display_name);
-                execlp("m4", "m4", "-s", tmp_file, "-", NULL);
+		/* Not all m4s know about -s */
+                execlp("m4", "m4", tmp_file, "-", NULL);
                 /* If we get here we are screwed... */
                 perror("Can't execlp() m4");
                 exit(124);