Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 17:16:23 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418720 - head/net/mDNSResponder/files
Message-ID:  <201607181716.u6IHGN7S039293@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Jul 18 17:16:23 2016
New Revision: 418720
URL: https://svnweb.freebsd.org/changeset/ports/418720

Log:
  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)

Added:
  head/net/mDNSResponder/files/patch-dnsextd__lexer.l   (contents, props changed)

Added: head/net/mDNSResponder/files/patch-dnsextd__lexer.l
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mDNSResponder/files/patch-dnsextd__lexer.l	Mon Jul 18 17:16:23 2016	(r418720)
@@ -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?201607181716.u6IHGN7S039293>