nixpkgs/pkgs/development/compilers/teyjus/fix-lex-to-flex.patch
Ryan Mulligan 4332e697df teyjus: actually update to 2.1
Note, the version in the source of this release is still 2.0-b2

https://github.com/teyjus/teyjus/issues/117 tracks asking upstream to
release versions with new version numbers.
2018-03-15 10:37:55 -07:00

26 lines
643 B
Diff

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