1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.3 2007/02/17 08:27:11 obache Exp $
--- parse.c.orig 2007-02-16 12:37:42.000000000 +0100
+++ parse.c 2007-02-16 12:37:58.000000000 +0100
@@ -2128,11 +2128,7 @@
dup2(fids[1], 1); /* stdout = pipe to parent */
/* get_defs("m4", dpy, display_name) */
tmp_file = m4_defs(dpy, display_name);
- execlp("m4", "m4",
-#if !defined(__NetBSD__)
- "-s",
-#endif
- tmp_file, "-", NULL);
+ execlp(PATH_TO_M4, "m4", "-s", tmp_file, "-", NULL);
/* If we get here we are screwed... */
perror("Can't execlp() m4");
|