diff options
Diffstat (limited to 'development/xvile/vile-9.8h-flex.patch')
-rw-r--r-- | development/xvile/vile-9.8h-flex.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/development/xvile/vile-9.8h-flex.patch b/development/xvile/vile-9.8h-flex.patch new file mode 100644 index 0000000000..bb1c1c3011 --- /dev/null +++ b/development/xvile/vile-9.8h-flex.patch @@ -0,0 +1,30 @@ +--- vile-9.8h/filters/filters.h ++++ vile-9.8h/filters/filters.h +@@ -200,27 +200,6 @@ + #endif + #endif /* __GNUC__ */ + +-/* +- * 2003/5/20 - "new" flex 2.5.31: +- * workaround for "developers" who don't use compiler-warnings... +- * perhaps by the time "new" flex merits the term "beta", they'll fix this: +- */ +-#if defined(FLEX_BETA) +-extern FILE *yyget_in (void); +-extern FILE *yyget_out (void); +-extern char *yyget_text (void); +-extern int yyget_debug (void); +-extern int yyget_leng (void); +-extern int yyget_lineno (void); +-extern int yylex_destroy (void); +-extern void yyset_debug (int bdebug); +-extern void yyset_in (FILE * in_str); +-extern void yyset_lineno (int line_number); +-extern void yyset_out (FILE * out_str); +-/* there's also warnings for unused 'yyunput()', but I don't see a fix */ +-/* flex's skeleton includes <unistd.h> - no particular reason apparent */ +-#endif +- + #define YY_NO_INPUT 1 /* get rid of 'input()' function */ + + /* |