summaryrefslogtreecommitdiff
path: root/x11/xless/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xless/patches/patch-ab')
-rw-r--r--x11/xless/patches/patch-ab32
1 files changed, 32 insertions, 0 deletions
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.