From owner-svn-ports-all@freebsd.org Mon Aug 27 20:20:34 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 C112F1094EB9; Mon, 27 Aug 2018 20:20:34 +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 7734281A24; Mon, 27 Aug 2018 20:20:34 +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 594262283D; Mon, 27 Aug 2018 20:20:34 +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 w7RKKY8I009217; Mon, 27 Aug 2018 20:20:34 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7RKKYLP009216; Mon, 27 Aug 2018 20:20:34 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808272020.w7RKKYLP009216@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 27 Aug 2018 20:20:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478250 - head/devel/uatraits X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/uatraits X-SVN-Commit-Revision: 478250 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: Mon, 27 Aug 2018 20:20:34 -0000 Author: tobik Date: Mon Aug 27 20:20:33 2018 New Revision: 478250 URL: https://svnweb.freebsd.org/changeset/ports/478250 Log: devel/uatraits: Fix build with Clang 6 ../include/uatraits/details/regex_utils.hpp:67:24: error: non-constant-expression cannot be narrowed from type 'decltype(__x.base() - __y.base())' (aka 'int') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] regex_data data = { i - begin, pos - begin, scan_integer(i + 1, pos) }; ^~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/uatraits-20130430_11.log Approved by: demon (maintainer, implicit) Modified: head/devel/uatraits/Makefile Modified: head/devel/uatraits/Makefile ============================================================================== --- head/devel/uatraits/Makefile Mon Aug 27 20:16:25 2018 (r478249) +++ head/devel/uatraits/Makefile Mon Aug 27 20:20:33 2018 (r478250) @@ -16,7 +16,7 @@ LIB_DEPENDS= ${PY_BOOST} \ libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 -USES= autoreconf libtool pkgconfig python:2.7 ssl +USES= autoreconf compiler libtool pkgconfig python:2.7 ssl GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -27,6 +27,8 @@ CONFIGURE_ARGS= --with-boost-prefix=${LOCALBASE} \ CONFIGURE_ENV= crypto_CFLAGS="-I${OPENSSLINC}" \ crypto_LIBS="-L${OPENSSLLIB} -lcrypto" CPPFLAGS+= -I${LOCALBASE}/include +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} +CXXFLAGS_clang= -Wno-c++11-narrowing post-patch: @${REINPLACE_CMD} -e 's/\[boost_python]/[${PY_BOOST_LIB}]/' \