summaryrefslogtreecommitdiff
path: root/sysutils/uhidd/files/patch-uhidd-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/uhidd/files/patch-uhidd-lex.l')
-rw-r--r--sysutils/uhidd/files/patch-uhidd-lex.l19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/uhidd/files/patch-uhidd-lex.l b/sysutils/uhidd/files/patch-uhidd-lex.l
new file mode 100644
index 000000000000..1feea71aa942
--- /dev/null
+++ b/sysutils/uhidd/files/patch-uhidd-lex.l
@@ -0,0 +1,19 @@
+--- uhidd/lex.l~
++++ uhidd/lex.l
+@@ -34,7 +34,6 @@
+
+ #include "y.tab.h"
+
+-#define YY_NO_UNPUT
+ int lineno = 1;
+
+ int yylex(void);
+@@ -42,6 +41,8 @@
+ %}
+
+ %option noyywrap
++%option nounput
++%option noinput
+
+ %%
+