From de934d1195338ff2aa66d3b03bde9fa3eafb61d9 Mon Sep 17 00:00:00 2001 From: johans Date: Sun, 6 Jul 2014 09:45:01 +0000 Subject: Fix build on FreeBSD >= 10 (no functional changes) --- mail/emil/files/patch-getoption.y | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mail/emil/files/patch-getoption.y diff --git a/mail/emil/files/patch-getoption.y b/mail/emil/files/patch-getoption.y new file mode 100644 index 000000000000..95ff6c84b0fe --- /dev/null +++ b/mail/emil/files/patch-getoption.y @@ -0,0 +1,17 @@ +--- getoption.y.orig 2014-07-06 11:40:52.000000000 +0200 ++++ getoption.y 2014-07-06 11:40:40.000000000 +0200 +@@ -163,13 +163,10 @@ static int Ycmp(char * pattern, char * s + + extern char * yytext; /* defined by flex */ + +-/* static int yywrap() ++static int yywrap() + { + return 1; + } +-*/ +- +-#define yywrap() 1 + + static void yyerror(char * msg) + { -- cgit