aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-07-06 17:45:01 +0800
committerjohans <johans@FreeBSD.org>2014-07-06 17:45:01 +0800
commitde934d1195338ff2aa66d3b03bde9fa3eafb61d9 (patch)
tree3241e2383d1f4a778bca9321afeb475c77eca850
parent45292c1a2509fd6f19557740f03c1bdccaa36ce0 (diff)
downloadfreebsd-ports-gnome-de934d1195338ff2aa66d3b03bde9fa3eafb61d9.tar.gz
freebsd-ports-gnome-de934d1195338ff2aa66d3b03bde9fa3eafb61d9.tar.zst
freebsd-ports-gnome-de934d1195338ff2aa66d3b03bde9fa3eafb61d9.zip
Fix build on FreeBSD >= 10
(no functional changes)
-rw-r--r--mail/emil/files/patch-getoption.y17
1 files changed, 17 insertions, 0 deletions
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)
+ {