diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
commit | 240eed442d1f97f7d7dd9430673499ef25dd1f36 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /x11/xless/patches | |
parent | 652e2956ee0721786181dcf43d7559a17c9b93f9 (diff) | |
download | pkgsrc-240eed442d1f97f7d7dd9430673499ef25dd1f36.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'x11/xless/patches')
-rw-r--r-- | x11/xless/patches/patch-aa | 12 | ||||
-rw-r--r-- | x11/xless/patches/patch-ab | 32 |
2 files changed, 44 insertions, 0 deletions
diff --git a/x11/xless/patches/patch-aa b/x11/xless/patches/patch-aa new file mode 100644 index 00000000000..a71f4ffc80e --- /dev/null +++ b/x11/xless/patches/patch-aa @@ -0,0 +1,12 @@ +--- Imakefile.orig Thu Jun 2 16:22:14 1994 ++++ Imakefile Fri Dec 27 18:52:23 1996 +@@ -5,7 +5,8 @@ + * -DPRINTCMD=\"/usr/ucb/lpr\" - path to send file to printer + * -DTILDE_EXPANSION - perform ~ expansion on filenames + */ +- DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION ++ DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION \ ++ -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\" + + + SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \ diff --git a/x11/xless/patches/patch-ab b/x11/xless/patches/patch-ab new file mode 100644 index 00000000000..b41554543c2 --- /dev/null +++ b/x11/xless/patches/patch-ab @@ -0,0 +1,32 @@ +*** ../work/xless-1.7/xless.h Mon Dec 23 15:57:37 1996 +--- xless.h Mon Dec 23 16:11:53 1996 +*************** +*** 38,50 **** + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C */ + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif + + /* + * The default editor; make sure the file exists. +--- 38,51 ---- + + #define XLESS_MAX_INPUT 256 + +! /* handle differences between K&R and ANSI C + #if __STDC__ + #define __P(a) a + #else + #define __P(a) () + #define const + #endif ++ */ + + /* + * The default editor; make sure the file exists. |