ports/net/xorp/files/patch-rtrmgr__lex.opcmd.cc
Antoine Brodin 54dc2eefda - Update to 1.8.5
- Unbreak and unexpire
- Stage support

PR:		ports/186982
Submitted by:	Johannes 5 Joemann
2014-02-26 21:54:59 +00:00

27 lines
557 B
C++

--- ./rtrmgr/lex.opcmd.cc.orig 2010-07-19 21:10:33.000000000 +0000
+++ ./rtrmgr/lex.opcmd.cc 2014-02-26 21:17:13.000000000 +0000
@@ -518,6 +518,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 ));
@@ -1322,6 +1323,7 @@
#endif /* ifndef YY_NO_UNPUT */
+#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput()
#else
@@ -1393,7 +1395,7 @@
return c;
}
-
+#endif
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )