ports/sysutils/uhidd/files/patch-uhidd-lex.l
Martin Wilke 4603a533d9 - Unbreak build on clang/gcc46
PR:		163440
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
2012-01-14 19:58:48 +00:00

19 lines
217 B
Text

--- 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
%%