diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2020-07-14 02:18:01 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2020-07-14 02:18:01 +0000 |
commit | 7a3664f5dd4640511bfa876caa3c7c045f8ba017 (patch) | |
tree | 13ea601b5354b49544a1b6a271f0ea610c78decc /mail | |
parent | 1f84ec76e14da9a0d61f1ccc9e15edb488f61d80 (diff) | |
download | ports-7a3664f5dd4640511bfa876caa3c7c045f8ba017.tar.gz ports-7a3664f5dd4640511bfa876caa3c7c045f8ba017.zip |
MFH: r542174
Fix build with recent byacc on head after r363170`.
PR: 247522
Approved by: ports-secteam (blanket, build fix)
Notes
Notes:
svn path=/branches/2020Q3/; revision=542179
Diffstat (limited to 'mail')
-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 |