about 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.patch22
1 files changed, 11 insertions, 11 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..52d259bb64de 100644
--- a/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
+++ b/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
@@ -1,23 +1,23 @@
-diff --git a/source/OMakefile b/source/OMakefile
-index 6b19d84..095b8b6 100644
---- a/source/OMakefile
-+++ b/source/OMakefile
-@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
+--- a/source/OMakefile	1970-01-01 00:00:01.000000000 +0000
++++ b/source/OMakefile	2016-12-02 08:48:42.000000000 +0000
+@@ -183,18 +183,18 @@
  DEP_MAIN = $(FNT)/dependfront

+ PAR_MAIN = $(FNT)/parsefront

  

- ############################################################

-+# Nixpkgs specific changes

-+#

-+

 +LEX = flex

 +

-+############################################################

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

  # Platform specific changes

  #

  

+ if $(mem $(SYSNAME), Linux)

+     YACC = bison -by

+-    LEX = flex

+     export

+ 

  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