summaryrefslogtreecommitdiff
path: root/net/xorp/files/patch-rtrmgr__lex.boot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/xorp/files/patch-rtrmgr__lex.boot.cc')
-rw-r--r--net/xorp/files/patch-rtrmgr__lex.boot.cc27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/xorp/files/patch-rtrmgr__lex.boot.cc b/net/xorp/files/patch-rtrmgr__lex.boot.cc
new file mode 100644
index 000000000000..caf43c9dc51a
--- /dev/null
+++ b/net/xorp/files/patch-rtrmgr__lex.boot.cc
@@ -0,0 +1,27 @@
+--- ./rtrmgr/lex.boot.cc.orig 2010-07-19 21:10:33.000000000 +0000
++++ ./rtrmgr/lex.boot.cc 2014-02-26 21:17:13.000000000 +0000
+@@ -9552,6 +9552,7 @@
+ static int yy_flex_strlen YY_PROTO(( yyconst char * ));
+ #endif
+
++#define YY_NO_INPUT
+ #ifndef YY_NO_INPUT
+ #ifdef __cplusplus
+ static int yyinput YY_PROTO(( void ));
+@@ -10483,6 +10484,7 @@
+ #endif /* ifndef YY_NO_UNPUT */
+
+
++#ifndef YY_NO_INPUT
+ #ifdef __cplusplus
+ static int yyinput()
+ #else
+@@ -10554,7 +10556,7 @@
+
+ return c;
+ }
+-
++#endif
+
+ #ifdef YY_USE_PROTOS
+ void yyrestart( FILE *input_file )