summary refs log tree commit diff
path: root/pkgs/os-specific/gnu/mig/noyywrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/gnu/mig/noyywrap.patch')
-rw-r--r--pkgs/os-specific/gnu/mig/noyywrap.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/os-specific/gnu/mig/noyywrap.patch b/pkgs/os-specific/gnu/mig/noyywrap.patch
new file mode 100644
index 000000000000..40ca6171f64b
--- /dev/null
+++ b/pkgs/os-specific/gnu/mig/noyywrap.patch
@@ -0,0 +1,12 @@
+Fix undefined reference to `yywrap'.
+
+diff --git a/lexxer.l b/lexxer.l
+index 9725d0b..15264bc 100644
+--- a/lexxer.l
++++ b/lexxer.l
+@@ -1,4 +1,5 @@
+ %option nounput
++%option noyywrap
+ 
+ %k 10000
+ %n 5000