Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / wm / ctwm / patches / patch-ac
blob50ebcee79ce64c75fffa55ecd958bde040ea5b24
1 $NetBSD: patch-ac,v 1.2 2005/10/13 20:20:55 rillig Exp $
3 --- parse.c.orig        2007-02-16 12:37:42.000000000 +0100
4 +++ parse.c     2007-02-16 12:37:58.000000000 +0100
5 @@ -2128,11 +2128,7 @@
6                  dup2(fids[1], 1);       /* stdout = pipe to parent */
7                  /* get_defs("m4", dpy, display_name) */
8                  tmp_file = m4_defs(dpy, display_name);
9 -                execlp("m4", "m4",
10 -#if !defined(__NetBSD__)
11 -                       "-s",
12 -#endif
13 -                       tmp_file, "-", NULL);
14 +                execlp(PATH_TO_M4, "m4", "-s", tmp_file, "-", NULL);
16                  /* If we get here we are screwed... */
17                  perror("Can't execlp() m4");