diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2020-07-14 01:47:28 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2020-07-14 01:47:28 +0000 |
commit | 49dac836eeaefa7b87ddf4094feb45133a3d2272 (patch) | |
tree | ae34283f817d4b07ccd2d76cb2d287d6bbb7d57b /mail/emil | |
parent | 3a87ad06d6f01de83150c127368fb2780f380440 (diff) | |
download | ports-49dac836eeaefa7b87ddf4094feb45133a3d2272.tar.gz ports-49dac836eeaefa7b87ddf4094feb45133a3d2272.zip |
Fix build with recent byacc.
PR: 247522
Notes
Notes:
svn path=/head/; revision=542174
Diffstat (limited to 'mail/emil')
-rw-r--r-- | mail/emil/files/patch-getoption.y | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/mail/emil/files/patch-getoption.y b/mail/emil/files/patch-getoption.y index 7b494623beac..797b1ac586c9 100644 --- a/mail/emil/files/patch-getoption.y +++ b/mail/emil/files/patch-getoption.y @@ -1,6 +1,6 @@ --- getoption.y.orig 1996-06-04 13:17:35 UTC +++ getoption.y -@@ -163,13 +163,10 @@ static int Ycmp(char * pattern, char * s +@@ -163,14 +163,11 @@ static int Ycmp(char * pattern, char * string) extern char * yytext; /* defined by flex */ @@ -10,8 +10,36 @@ return 1; } -*/ -- --#define yywrap() 1 +-#define yywrap() 1 +- static void yyerror(char * msg) { + char ebuf[2048]; +@@ -309,7 +306,7 @@ struct config_struct * getoption(char * r, char * s, c + struct member_struct * mm; + struct config_struct * gg; + +-#ifdef YYDEBUG ++#if YYDEBUG + extern int yydebug; + yydebug = 1; + #endif +@@ -344,7 +341,7 @@ struct config_struct * getmember(char * name) + { + struct config_struct * gg; + +-#ifdef YYDEBUG ++#if YYDEBUG + extern int yydebug; + yydebug = 1; + #endif +@@ -443,7 +440,7 @@ char ** get_mailer(char * mailer) + { + struct mailer_struct * mm; + +-#ifdef YYDEBUG ++#if YYDEBUG + extern int yydebug; + yydebug = 1; + #endif |