svn commit: r482835 - in head/textproc/regex2dfa: . files
Vinícius Zavam
egypcio at FreeBSD.org
Tue Oct 23 12:33:00 UTC 2018
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 <pkubaj at anongoth.pl>
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 at 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<A, T, C> > {
+ // If state is already cached, use cached arcs array.
+ if (fst_.GetImpl()->HasArcs(state_)) {
+ (fst_.GetImpl())
+- ->template CacheBaseImpl<typename C::State, C>::InitArcIterator(
++ ->CacheBaseImpl<typename C::State, C>::InitArcIterator(
+ state_, &cache_data_);
+ num_arcs_ = cache_data_.narcs;
+ arcs_ = cache_data_.arcs; // 'arcs_' is a ptr to the cached arcs.
More information about the svn-ports-all
mailing list