From owner-svn-ports-all@freebsd.org Sun Jul 29 11:51:21 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 25CBD1054921; Sun, 29 Jul 2018 11:51:21 +0000 (UTC) (envelope-from tobik@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 CC3D87D88B; Sun, 29 Jul 2018 11:51:20 +0000 (UTC) (envelope-from tobik@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 AE660155E1; Sun, 29 Jul 2018 11:51:20 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6TBpKF8006420; Sun, 29 Jul 2018 11:51:20 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6TBpKQx006419; Sun, 29 Jul 2018 11:51:20 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201807291151.w6TBpKQx006419@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 29 Jul 2018 11:51:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475647 - head/textproc/gmetadom/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/textproc/gmetadom/files X-SVN-Commit-Revision: 475647 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.27 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: Sun, 29 Jul 2018 11:51:21 -0000 Author: tobik Date: Sun Jul 29 11:51:20 2018 New Revision: 475647 URL: https://svnweb.freebsd.org/changeset/ports/475647 Log: textproc/gmetadom: Fix build with Clang 6 ./../include/GdomeSmartDOMTraits.hh:101:25: error: non-constant-expression cannot be narrowed from type 'std::__1::char_traits::int_type' (aka 'unsigned long') to 'std::__1::char_traits::char_type' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] char_type __r = { __c }; ^~~ http://beefy8.nyi.freebsd.org/data/head-armv6-default/p475340_s336728/logs/gmetadom-0.2.6_4.log Added: head/textproc/gmetadom/files/patch-src_gdome__cpp__smart_include_GdomeSmartDOMTraits.hh (contents, props changed) Added: head/textproc/gmetadom/files/patch-src_gdome__cpp__smart_include_GdomeSmartDOMTraits.hh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/gmetadom/files/patch-src_gdome__cpp__smart_include_GdomeSmartDOMTraits.hh Sun Jul 29 11:51:20 2018 (r475647) @@ -0,0 +1,15 @@ +./../include/GdomeSmartDOMTraits.hh:101:25: error: non-constant-expression cannot be narrowed from type 'std::__1::char_traits::int_type' (aka 'unsigned long') to 'std::__1::char_traits::char_type' (aka 'unsigned short') in initializer list [-Wc++11-narrowing] + char_type __r = { __c }; + ^~~ + +--- src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh.orig 2018-07-29 11:48:09 UTC ++++ src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh +@@ -98,7 +98,7 @@ namespace std { + static char_type + to_char_type(const int_type& __c) + { +- char_type __r = { __c }; ++ char_type __r = { static_cast(__c) }; + return __r; + } +