From owner-svn-ports-all@freebsd.org Tue Oct 23 12:33:00 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2FE1EFD62BE; Tue, 23 Oct 2018 12:33:00 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D187379AF3; Tue, 23 Oct 2018 12:32:59 +0000 (UTC) (envelope-from egypcio@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA5BB7F8C; Tue, 23 Oct 2018 12:32:59 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9NCWxdG000644; Tue, 23 Oct 2018 12:32:59 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9NCWxol000642; Tue, 23 Oct 2018 12:32:59 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201810231232.w9NCWxol000642@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Tue, 23 Oct 2018 12:32:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482835 - in head/textproc/regex2dfa: . files X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head/textproc/regex2dfa: . files X-SVN-Commit-Revision: 482835 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 12:33:00 -0000 Author: egypcio Date: Tue Oct 23 12:32:59 2018 New Revision: 482835 URL: https://svnweb.freebsd.org/changeset/ports/482835 Log: fix build with GCC-based architectures. prior to this patch, some archs still using GCC could not compile the port; tested on powerpc64 (sponsored hardware); also tested on other archs to check if nothing broke. * original patch modified just to bump PORTREVISION, and use PORTSDIR root. PR: 232276 Submitted by: Piotr Kubaj Approved by: rene (mentor) Sponsored by: IntegriCloud Added: head/textproc/regex2dfa/files/ head/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h (contents, props changed) Modified: head/textproc/regex2dfa/Makefile Modified: head/textproc/regex2dfa/Makefile ============================================================================== --- head/textproc/regex2dfa/Makefile Tue Oct 23 12:02:10 2018 (r482834) +++ head/textproc/regex2dfa/Makefile Tue Oct 23 12:32:59 2018 (r482835) @@ -2,6 +2,7 @@ PORTNAME= regex2dfa DISTVERSION= 0.1.6 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= egypcio@googlemail.com @@ -12,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang gmake libtool USE_GITHUB= yes + GH_ACCOUNT= kpdyer GNU_CONFIGURE= yes Added: head/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/regex2dfa/files/patch-third__party_openfst_src_include_fst_replace.h Tue Oct 23 12:32:59 2018 (r482835) @@ -0,0 +1,11 @@ +--- third_party/openfst/src/include/fst/replace.h.orig 2018-10-14 23:15:07 UTC ++++ third_party/openfst/src/include/fst/replace.h +@@ -1250,7 +1250,7 @@ class ArcIterator< ReplaceFst > { + // If state is already cached, use cached arcs array. + if (fst_.GetImpl()->HasArcs(state_)) { + (fst_.GetImpl()) +- ->template CacheBaseImpl::InitArcIterator( ++ ->CacheBaseImpl::InitArcIterator( + state_, &cache_data_); + num_arcs_ = cache_data_.narcs; + arcs_ = cache_data_.arcs; // 'arcs_' is a ptr to the cached arcs.