Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2020 02:18:01 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r542179 - branches/2020Q3/mail/emil/files
Message-ID:  <202007140218.06E2I1IT016757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Jul 14 02:18:01 2020
New Revision: 542179
URL: https://svnweb.freebsd.org/changeset/ports/542179

Log:
  MFH:	r542174
  
  Fix build with recent byacc on head after r363170`.
  
  PR:		247522
  
  Approved by:	ports-secteam (blanket, build fix)

Modified:
  branches/2020Q3/mail/emil/files/patch-getoption.y
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/mail/emil/files/patch-getoption.y
==============================================================================
--- branches/2020Q3/mail/emil/files/patch-getoption.y	Tue Jul 14 02:16:21 2020	(r542178)
+++ branches/2020Q3/mail/emil/files/patch-getoption.y	Tue Jul 14 02:18:01 2020	(r542179)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007140218.06E2I1IT016757>