freebsd-ports/net/xorp/files/patch-rtrmgr__lex.opcmd.cc
Hiroki Sato 0a0906700b - Use USE_GITHUB.
- Add USE_LDCONFIG when SHARED is enabled.
- Use OPTIONS_SUB.
- Use {opt}_FOO wherever possible.
- Normalize patch files.
- Take maintainership.
2015-09-07 19:04:23 +00:00

27 lines
587 B
C++

--- rtrmgr/lex.opcmd.cc.orig 2012-01-11 17:56:10 UTC
+++ rtrmgr/lex.opcmd.cc
@@ -518,6 +518,7 @@ static void yy_flex_strncpy YY_PROTO(( c
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 @@ register char *yy_bp;
#endif /* ifndef YY_NO_UNPUT */
+#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput()
#else
@@ -1393,7 +1395,7 @@ static int input()
return c;
}
-
+#endif
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )