about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch')
-rw-r--r--nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch b/nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
new file mode 100644
index 000000000000..fa82d80633ad
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
@@ -0,0 +1,25 @@
+diff --git a/source/OMakefile b/source/OMakefile
+index e6bd37e..1bbc0a8 100644
+--- a/source/OMakefile
++++ b/source/OMakefile
+@@ -184,6 +184,12 @@ DEP_MAIN = $(FNT)/dependfront
+ PAR_MAIN = $(FNT)/parsefront

+ 

+ ############################################################

++# Nixpkgs specific changes

++#

++

++LEX = flex

++

++############################################################

+ # Platform specific changes

+ #

+ 

+@@ -194,7 +200,6 @@ if $(mem $(SYSNAME), Linux)
+ 

+ if $(mem $(OSTYPE), Cygwin Win32)

+     YACC = bison -by

+-    LEX = flex

+     CC = i686-pc-mingw32-gcc

+     INC_C[] += $(INC)/byteswap $(INC)/search

+     export