Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 20:05:42 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r418742 - branches/2016Q3/net/mDNSResponder/files
Message-ID:  <201607182005.u6IK5gJ5004618@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Jul 18 20:05:42 2016
New Revision: 418742
URL: https://svnweb.freebsd.org/changeset/ports/418742

Log:
  net/mDNSResponder: fix build on 9.3-RELEASE
  
  - older lex/flex needs yylineno
  
  PR:		210723
  MFH:		r418720
  Reported by:	Ryan Frederick <ryanrfrederick@gmail.com>
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
  Approved by:	portmgr (feld)

Added:
  branches/2016Q3/net/mDNSResponder/files/patch-dnsextd__lexer.l
     - copied unchanged from r418720, head/net/mDNSResponder/files/patch-dnsextd__lexer.l
Modified:
Directory Properties:
  branches/2016Q3/   (props changed)

Copied: branches/2016Q3/net/mDNSResponder/files/patch-dnsextd__lexer.l (from r418720, head/net/mDNSResponder/files/patch-dnsextd__lexer.l)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2016Q3/net/mDNSResponder/files/patch-dnsextd__lexer.l	Mon Jul 18 20:05:42 2016	(r418742, copy of r418720, head/net/mDNSResponder/files/patch-dnsextd__lexer.l)
@@ -0,0 +1,16 @@
+--- mDNSShared/dnsextd_lexer.l.orig	2016-07-01 01:07:18 UTC
++++ mDNSShared/dnsextd_lexer.l
+@@ -23,6 +23,13 @@
+ 
+ extern YYSTYPE yylval;
+ 
++#if !defined YYSTYPE_yylineno
++#if YY_FLEX_MAJOR_VERSION <= 2 && YY_FLEX_MINOR_VERSION <= 5 && YY_FLEX_SUBMINOR_VERSION <= 4
++int yylineno = 1;
++#endif
++#endif
++
++
+ #define YY_NO_INPUT 1
+ int  yylex(void);
+ 



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