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@anongoth.pl> Approved by: rene (mentor) Sponsored by: IntegriCloud
This commit is contained in:
parent
b590da43ed
commit
d73ac6dfb6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482835
@ -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
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user