svn commit: r542174 - head/mail/emil/files
Jung-uk Kim
jkim at FreeBSD.org
Tue Jul 14 01:47:29 UTC 2020
Author: jkim
Date: Tue Jul 14 01:47:28 2020
New Revision: 542174
URL: https://svnweb.freebsd.org/changeset/ports/542174
Log:
Fix build with recent byacc.
PR: 247522
Modified:
head/mail/emil/files/patch-getoption.y
Modified: head/mail/emil/files/patch-getoption.y
==============================================================================
--- head/mail/emil/files/patch-getoption.y Tue Jul 14 01:39:42 2020 (r542173)
+++ head/mail/emil/files/patch-getoption.y Tue Jul 14 01:47:28 2020 (r542174)
@@ -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
More information about the svn-ports-head
mailing list