summary refs log tree commit diff
path: root/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/teyjus/fix-lex-to-flex.patch')
-rw-r--r--pkgs/development/compilers/teyjus/fix-lex-to-flex.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch b/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
index d2da1d3facca..fa82d80633ad 100644
--- a/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
+++ b/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
@@ -1,9 +1,9 @@
 diff --git a/source/OMakefile b/source/OMakefile
-index 6b19d84..095b8b6 100644
+index e6bd37e..1bbc0a8 100644
 --- a/source/OMakefile
 +++ b/source/OMakefile
-@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
- DEP_MAIN = $(FNT)/dependfront

+@@ -184,6 +184,12 @@ DEP_MAIN = $(FNT)/dependfront
+ PAR_MAIN = $(FNT)/parsefront

  

  ############################################################

 +# Nixpkgs specific changes

@@ -15,9 +15,11 @@ index 6b19d84..095b8b6 100644
  # Platform specific changes

  #

  

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

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

      YACC = bison -by

 -    LEX = flex

-     CFLAGS += -mno-cygwin

+     CC = i686-pc-mingw32-gcc

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

      export