net/mDNSResponder: fix build on 9.3-RELEASE
- older lex/flex needs yylineno PR: 210723 MFH: 2016Q3 Reported by: Ryan Frederick <ryanrfrederick@gmail.com> Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: sunpoet (maintainer timeout)
This commit is contained in:
parent
6dc0f75690
commit
839f75e8be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418720
1 changed files with 16 additions and 0 deletions
16
net/mDNSResponder/files/patch-dnsextd__lexer.l
Normal file
16
net/mDNSResponder/files/patch-dnsextd__lexer.l
Normal file
|
@ -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);
|
||||
|
Loading…
Reference in a new issue