From owner-svn-ports-all@freebsd.org Mon Dec 11 00:04:26 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 292D8E80190; Mon, 11 Dec 2017 00:04:26 +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 mx1.freebsd.org (Postfix) with ESMTPS id E87DF69375; Mon, 11 Dec 2017 00:04:25 +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 vBB04PjE007461; Mon, 11 Dec 2017 00:04:25 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBB04PN9007460; Mon, 11 Dec 2017 00:04:25 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201712110004.vBB04PN9007460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 11 Dec 2017 00:04:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r455915 - branches/2017Q4/textproc/hunspell X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2017Q4/textproc/hunspell X-SVN-Commit-Revision: 455915 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: Mon, 11 Dec 2017 00:04:26 -0000 Author: jbeich Date: Mon Dec 11 00:04:24 2017 New Revision: 455915 URL: https://svnweb.freebsd.org/changeset/ports/455915 Log: MFH: r455904 textproc/hunspell: always link against C++11 library C++11 isn't ABI-compatible with C++98 on GCC platforms, so build the port using lang/gcc which since r449590 defaults to C++14. This should fix C++11 consumers like www/firefox. ../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::SetDictionary(char16_t const*)': Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell13SetDictionaryEPKDs+0x4a4): undefined reference to `Hunspell::get_dict_encoding[abi:cxx11]() const' ../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::Check(char16_t const*, bool*)': Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell5CheckEPKDsPb+0x148): undefined reference to `Hunspell::spell(std::__cxx11::basic_string, std::allocator > const&, int*, std::__cxx11::basic_string, std::allocator >*)' ../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::Suggest(char16_t const*, char16_t***, unsigned int*)': Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell7SuggestEPKDsPPPDsPj+0x16c): undefined reference to `Hunspell::suggest(std::__cxx11::basic_string, std::allocator > const&)' Submitted by: jhibbits (based on) Approved by: ports-secteam blanket Differential Revision: https://reviews.freebsd.org/D12515 Modified: branches/2017Q4/textproc/hunspell/Makefile Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/textproc/hunspell/Makefile ============================================================================== --- branches/2017Q4/textproc/hunspell/Makefile Sun Dec 10 21:44:24 2017 (r455914) +++ branches/2017Q4/textproc/hunspell/Makefile Mon Dec 11 00:04:24 2017 (r455915) @@ -19,8 +19,8 @@ LICENSE_FILE_MPL11= ${WRKSRC}/COPYING.MPL CONFLICTS_INSTALL= tinker-[0-9]* CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui GNU_CONFIGURE= yes -USES= autoreconf libtool:keepla pathfix iconv ncurses \ - readline shebangfix perl5 +USES= autoreconf compiler:c++11-lib libtool:keepla pathfix \ + iconv ncurses readline shebangfix perl5 USE_GITHUB= yes SHEBANG_FILES= src/tools/ispellaff2myspell USE_LDCONFIG= yes