svn commit: r418742 - branches/2016Q3/net/mDNSResponder/files
Kurt Jaeger
pi at FreeBSD.org
Mon Jul 18 20:05:43 UTC 2016
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 at gmail.com>
Submitted by: Walter Schwarzenfeld <w.schwarzenfeld at 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);
+
More information about the svn-ports-all
mailing list