aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-27 21:30:20 +0800
committerbapt <bapt@FreeBSD.org>2013-05-27 21:30:20 +0800
commitf2f91e874788f52fbe6e1a3af303d33b9b76b7da (patch)
tree57728539b9422308aef9bc644f0aad84e738a48e
parent7e5c2784e9a5c02ec6b6284dacc9d7bfd5ccd490 (diff)
downloadfreebsd-ports-gnome-f2f91e874788f52fbe6e1a3af303d33b9b76b7da.tar.gz
freebsd-ports-gnome-f2f91e874788f52fbe6e1a3af303d33b9b76b7da.tar.zst
freebsd-ports-gnome-f2f91e874788f52fbe6e1a3af303d33b9b76b7da.zip
Fix build with new flex version
-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