aboutsummaryrefslogtreecommitdiffstats
path: root/mail/emil
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-07-06 17:45:01 +0800
committerJohan van Selst <johans@FreeBSD.org>2014-07-06 17:45:01 +0800
commite3c003635bfcfbc819d4f5edca901bc6f988fa15 (patch)
tree3241e2383d1f4a778bca9321afeb475c77eca850 /mail/emil
parent3e883890d62258bab0cd26157db364801fc18fa5 (diff)
downloadfreebsd-ports-gnome-e3c003635bfcfbc819d4f5edca901bc6f988fa15.tar.gz
freebsd-ports-gnome-e3c003635bfcfbc819d4f5edca901bc6f988fa15.tar.zst
freebsd-ports-gnome-e3c003635bfcfbc819d4f5edca901bc6f988fa15.zip
Fix build on FreeBSD >= 10
(no functional changes)
Diffstat (limited to 'mail/emil')
-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)
+ {