summaryrefslogtreecommitdiff
path: root/development/vile/vile-9.8h-flex.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-17 08:02:03 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-18 08:03:05 +0100
commitd0f8fdccb64e0f62c4e54a0e1bb1e2e37d520b8b (patch)
treeb7a3bb658e4367acf0dbc0120e22d173057efc6f /development/vile/vile-9.8h-flex.patch
parenta962203dc3392a0e03b2f8cb8f944f9c9f6e6189 (diff)
downloadslackbuilds-d0f8fdccb64e0f62c4e54a0e1bb1e2e37d520b8b.tar.gz
development/vile: Updated for version 9.8k.
Added a patch from Gentoo Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/vile/vile-9.8h-flex.patch')
-rw-r--r--development/vile/vile-9.8h-flex.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/development/vile/vile-9.8h-flex.patch b/development/vile/vile-9.8h-flex.patch
new file mode 100644
index 0000000000..bb1c1c3011
--- /dev/null
+++ b/development/vile/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 */
+
+ /*