From owner-svn-ports-all@freebsd.org Wed Apr 4 08:27:23 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 D1D60F9D732; Wed, 4 Apr 2018 08:27:22 +0000 (UTC) (envelope-from jbeich@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 777EE6B749; Wed, 4 Apr 2018 08:27:22 +0000 (UTC) (envelope-from jbeich@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 687A5112B4; Wed, 4 Apr 2018 08:27:22 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w348RMJ0020242; Wed, 4 Apr 2018 08:27:22 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w348RMu1020241; Wed, 4 Apr 2018 08:27:22 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804040827.w348RMu1020241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 4 Apr 2018 08:27:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466400 - head/audio/ncmpcpp X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/audio/ncmpcpp X-SVN-Commit-Revision: 466400 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.25 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: Wed, 04 Apr 2018 08:27:23 -0000 Author: jbeich Date: Wed Apr 4 08:27:21 2018 New Revision: 466400 URL: https://svnweb.freebsd.org/changeset/ports/466400 Log: audio/ncmpcpp: unbreak with ICU 61 In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:45:22: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'? static void convert(UnicodeString &s) ^~~~~~~~~~~~~ icu::UnicodeString /usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here class U_COMMON_API UnicodeString : public Replaceable ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:61:9: error: unknown type name 'Transliterator'; did you mean 'UTransliterator'? static Transliterator *m_converter; ^~~~~~~~~~~~~~ UTransliterator /usr/local/include/unicode/utrans.h:70:15: note: 'UTransliterator' declared here typedef void* UTransliterator; ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:49:4: error: unknown type name 'ErrorCode'; did you mean 'UErrorCode'? ErrorCode result; ^~~~~~~~~ UErrorCode /usr/local/include/unicode/utypes.h:663:3: note: 'UErrorCode' declared here } UErrorCode; ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:50:18: error: use of undeclared identifier 'Transliterator'; did you mean 'icu::Transliterator'? m_converter = Transliterator::createInstance( ^~~~~~~~~~~~~~ icu::Transliterator /usr/local/include/unicode/translit.h:243:18: note: 'icu::Transliterator' declared here class U_I18N_API Transliterator : public UObject { ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:50:18: error: assigning to 'UTransliterator *' (aka 'void **') from incompatible type 'icu::Transliterator *' m_converter = Transliterator::createInstance( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./regex_filter.h:52:14: error: member reference base type 'UErrorCode' is not a structure or union if (result.isFailure()) ~~~~~~^~~~~~~~~~ ./regex_filter.h:55:26: error: member reference base type 'UErrorCode' is not a structure or union + std::string(result.errorName())); ~~~~~~^~~~~~~~~~ ./regex_filter.h:57:14: error: member reference base type 'UTransliterator' (aka 'void *') is not a structure or union m_converter->transliterate(s); ~~~~~~~~~~~^ ~~~~~~~~~~~~~ ./regex_filter.h:64:1: error: unknown type name 'Transliterator'; did you mean 'UTransliterator'? Transliterator *StripDiacritics::m_converter; ^~~~~~~~~~~~~~ UTransliterator /usr/local/include/unicode/utrans.h:70:15: note: 'UTransliterator' declared here typedef void* UTransliterator; ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:102:14: error: use of undeclared identifier 'UnicodeString'; did you mean 'icu::UnicodeString'? auto us = UnicodeString::fromUTF8( ^~~~~~~~~~~~~ icu::UnicodeString /usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here class U_COMMON_API UnicodeString : public Replaceable ^ In file included from screens/browser.cpp:27: In file included from ./screens/browser.h:26: ./regex_filter.h:103:5: error: use of undeclared identifier 'StringPiece' StringPiece(convertString::apply(s))); ^ screens/browser.cpp:737:16: note: in instantiation of function template specialization 'Regex::search' requested here return Regex::search(itemToString(item), rx, Config.ignore_diacritics); ^ https://ssl.icu-project.org/trac/changeset/40705 PR: 227042 Reported by: antoine (via exp-run) Modified: head/audio/ncmpcpp/Makefile (contents, props changed) Modified: head/audio/ncmpcpp/Makefile ============================================================================== --- head/audio/ncmpcpp/Makefile Wed Apr 4 08:21:13 2018 (r466399) +++ head/audio/ncmpcpp/Makefile Wed Apr 4 08:27:21 2018 (r466400) @@ -24,6 +24,7 @@ BROKEN_powerpc64= fails to compile: tags.cpp: undefine USES= compiler:c++14-lang iconv libtool localbase ncurses:port pkgconfig readline tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= glib20 +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 LDFLAGS+= -lpthread CONFIGURE_ENV= BOOST_LIB_SUFFIX=""