diff options
Diffstat (limited to 'x11-wm/ctwm/files')
-rw-r--r-- | x11-wm/ctwm/files/patch-aa | 26 | ||||
-rw-r--r-- | x11-wm/ctwm/files/patch-ab | 19 |
2 files changed, 43 insertions, 2 deletions
diff --git a/x11-wm/ctwm/files/patch-aa b/x11-wm/ctwm/files/patch-aa index 38f54d1632f0..430b53e4ab45 100644 --- a/x11-wm/ctwm/files/patch-aa +++ b/x11-wm/ctwm/files/patch-aa @@ -1,5 +1,5 @@ -*** Imakefile.orig Sat Nov 15 16:09:18 1997 ---- Imakefile Sat Nov 15 16:09:09 1997 +*** Imakefile.orig Mon Oct 4 15:51:08 1999 +--- Imakefile Sun Feb 13 19:01:33 2000 *************** *** 11,17 **** #undef USE_SOUND @@ -36,3 +36,25 @@ XPMDEFINES = -DXPM XPMLIB = $(XPMLIBDIR) -lXpm +*************** +*** 44,52 **** + #endif + + #ifdef USEM4 + M4LIBDIR = + M4INCDIR = +! M4DEFINES = -DUSEM4 + M4LIB = $(M4LIBDIR) + #else + M4LIBDIR = +--- 44,53 ---- + #endif + + #ifdef USEM4 ++ M4PROG = ${LOCALBASE}/bin/gm4 + M4LIBDIR = + M4INCDIR = +! M4DEFINES = -DUSEM4 -DM4PROG=\"${M4PROG}\" + M4LIB = $(M4LIBDIR) + #else + M4LIBDIR = diff --git a/x11-wm/ctwm/files/patch-ab b/x11-wm/ctwm/files/patch-ab new file mode 100644 index 000000000000..e1d571d10e4e --- /dev/null +++ b/x11-wm/ctwm/files/patch-ab @@ -0,0 +1,19 @@ +*** parse.c.orig Sun Feb 13 19:00:24 2000 +--- parse.c Sun Feb 13 19:02:13 2000 +*************** +*** 2070,2076 **** + 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); + /* If we get here we are screwed... */ + perror("Can't execlp() m4"); + exit(124); +--- 2070,2076 ---- + dup2(fids[1], 1); /* stdout = pipe to parent */ + /* get_defs("m4", dpy, display_name) */ + tmp_file = m4_defs(dpy, display_name); +! execlp(M4PROG, "-s", tmp_file, "-", NULL); + /* If we get here we are screwed... */ + perror("Can't execlp() m4"); + exit(124); |