summaryrefslogtreecommitdiff
path: root/user/heirloom-devtools/lex-compiler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/heirloom-devtools/lex-compiler.patch')
-rw-r--r--user/heirloom-devtools/lex-compiler.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/heirloom-devtools/lex-compiler.patch b/user/heirloom-devtools/lex-compiler.patch
new file mode 100644
index 000000000..e0d6e9967
--- /dev/null
+++ b/user/heirloom-devtools/lex-compiler.patch
@@ -0,0 +1,11 @@
+--- heirloom-devtools-070527/lex/sub1.c.old 2005-11-26 12:50:23.000000000 -0600
++++ heirloom-devtools-070527/lex/sub1.c 2017-12-12 04:13:27.493347227 -0600
+@@ -162,7 +162,8 @@
+ }
+
++#undef index
+ int
+ index(int a, CHR *s)
+ {
+ int k;
+ for (k = 0; s[k]; k++)