From b0cab65da938cebe21d779ec58a115f5e34b79b7 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 11 Sep 2017 08:23:03 +0000 Subject: [PATCH] misc/sword: switch to C++11, required by ICU >= 59 In file included from ../src/mgr/swmgr.cpp:102: In file included from ../include/utf8transliterator.h:41: /usr/local/include/unicode/unistr.h:3025:7: error: delegating constructors are permitted only in C++11 UnicodeString(ConstChar16Ptr(text)) {} ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:3087:7: error: delegating constructors are permitted only in C++11 UnicodeString(ConstChar16Ptr(text), length) {} ^~~~~~~~~~~~~ /usr/local/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11 UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {} ^~~~~~~~~~~~~ PR: 218788 --- misc/sword/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/sword/Makefile b/misc/sword/Makefile index 67ae92ec724d..b3aaed9bb062 100644 --- a/misc/sword/Makefile +++ b/misc/sword/Makefile @@ -3,7 +3,7 @@ PORTNAME= sword PORTVERSION= 1.7.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= misc MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \ http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/ @@ -21,7 +21,8 @@ BROKEN_powerpc64= does not compile: libicui18n.so: undefined reference to __cxa_ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-conf --with-zlib INSTALL_TARGET= install-strip -USES= gmake libtool pathfix pkgconfig +USES= compiler:c++11-lib gmake libtool pathfix pkgconfig +USE_CXXSTD= gnu++11 USE_LDCONFIG= yes SUB_FILES= pkg-message