aboutsummaryrefslogtreecommitdiff
path: root/news/ifmail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 13:30:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-27 13:30:20 +0000
commit6cbb095e83ebd62e3c439a25e8d055e169efc0ef (patch)
tree57728539b9422308aef9bc644f0aad84e738a48e /news/ifmail
parent81856ff5ce6461b166f1f58c7731cd116f3d1f73 (diff)
downloadports-6cbb095e83ebd62e3c439a25e8d055e169efc0ef.tar.gz
ports-6cbb095e83ebd62e3c439a25e8d055e169efc0ef.zip
Fix build with new flex version
Notes
Notes: svn path=/head/; revision=319238
Diffstat (limited to 'news/ifmail')
-rw-r--r--news/ifmail/files/patch-ifcico__flagexp.l18
1 files changed, 18 insertions, 0 deletions
diff --git a/news/ifmail/files/patch-ifcico__flagexp.l b/news/ifmail/files/patch-ifcico__flagexp.l
new file mode 100644
index 000000000000..2c021b2b5888
--- /dev/null
+++ b/news/ifmail/files/patch-ifcico__flagexp.l
@@ -0,0 +1,18 @@
+--- ifcico/flaglex.l.orig 1995-03-04 10:56:34.000000000 +0100
++++ ifcico/flaglex.l 2013-05-27 15:29:03.783061252 +0200
+@@ -1,3 +1,4 @@
++%option noyywrap
+ %{
+ #include <stdlib.h>
+ #include <string.h>
+@@ -8,10 +9,6 @@
+ static char *yyPTR = NULL;
+ static int yyBUFL;
+
+-#ifndef yywrap
+-#define yywrap() 1
+-#endif
+-
+ #ifdef FLEX_SCANNER
+
+ #undef YY_INPUT