From owner-svn-ports-head@freebsd.org Mon Jul 18 17:16:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3A80B9D4B2; Mon, 18 Jul 2016 17:16:24 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F6F51170; Mon, 18 Jul 2016 17:16:24 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6IHGNuD039294; Mon, 18 Jul 2016 17:16:23 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6IHGN7S039293; Mon, 18 Jul 2016 17:16:23 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201607181716.u6IHGN7S039293@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 18 Jul 2016 17:16:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418720 - head/net/mDNSResponder/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 17:16:25 -0000 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 Submitted by: Walter Schwarzenfeld 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); +