aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-06 01:44:19 +0800
committermarino <marino@FreeBSD.org>2014-07-06 01:44:19 +0800
commit8a45ec6c87968e6d1dd963346b57e9e9c5e1a0fd (patch)
tree6812f0c3f03205f0c12fef15e2f009445bce9af8 /editors
parent0b4f0b6e97dea31539f996706b64eadde4aa0489 (diff)
downloadfreebsd-ports-graphics-8a45ec6c87968e6d1dd963346b57e9e9c5e1a0fd.tar.gz
freebsd-ports-graphics-8a45ec6c87968e6d1dd963346b57e9e9c5e1a0fd.tar.zst
freebsd-ports-graphics-8a45ec6c87968e6d1dd963346b57e9e9c5e1a0fd.zip
editors/vile: Bring in DragonFly support from dports
Diffstat (limited to 'editors')
-rw-r--r--editors/vile/files/patch-filters_filters.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/vile/files/patch-filters_filters.h b/editors/vile/files/patch-filters_filters.h
new file mode 100644
index 00000000000..629607c3ce9
--- /dev/null
+++ b/editors/vile/files/patch-filters_filters.h
@@ -0,0 +1,11 @@
+--- filters/filters.h.orig 2012-02-18 01:53:10.000000000 +0000
++++ filters/filters.h
+@@ -205,7 +205,7 @@ extern int yywrap(void);
+ * 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)
++#if defined(FLEX_BETA) && !defined(__DragonFly__)
+ extern FILE *yyget_in (void);
+ extern FILE *yyget_out (void);
+ extern char *yyget_text (void);