From owner-svn-ports-head@freebsd.org Mon Sep 14 21:39:34 2015 Return-Path: Delivered-To: svn-ports-head@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 EEFA3A03AEA; Mon, 14 Sep 2015 21:39:34 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 DD50E10B5; Mon, 14 Sep 2015 21:39:34 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8ELdY4X083810; Mon, 14 Sep 2015 21:39:34 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8ELdXbM083804; Mon, 14 Sep 2015 21:39:33 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201509142139.t8ELdXbM083804@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Mon, 14 Sep 2015 21:39:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396933 - in head/devel/boost-libs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 21:39:35 -0000 Author: truckman Date: Mon Sep 14 21:39:32 2015 New Revision: 396933 URL: https://svnweb.freebsd.org/changeset/ports/396933 Log: Cherrypick five upstream commits to fix "unused typedef" warnings when building with recent clang. Four of these were included in the 1.56 release, the fourth was included in 1.59. One of these needed the addition of "|| defined(__clang__)" because the __GNUC_MINOR__ check excluded clang. Added: head/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang (contents, props changed) head/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df (contents, props changed) head/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 (contents, props changed) head/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab (contents, props changed) head/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 (contents, props changed) Modified: head/devel/boost-libs/Makefile Modified: head/devel/boost-libs/Makefile ============================================================================== --- head/devel/boost-libs/Makefile Mon Sep 14 21:04:11 2015 (r396932) +++ head/devel/boost-libs/Makefile Mon Sep 14 21:39:32 2015 (r396933) @@ -4,7 +4,7 @@ PORTNAME= boost-libs COMMENT= Free portable C++ libraries (without Boost.Python) -PORTREVISION= 7 +PORTREVISION= 8 BUILD_DEPENDS+= bjam:${PORTSDIR}/devel/boost-jam Added: head/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-libs/files/patch-168e60aa3d5238cd25b341661a6c53e638dd6c33-plusclang Mon Sep 14 21:39:32 2015 (r396933) @@ -0,0 +1,23 @@ +--- boost/concept/detail/general.hpp.orig 2010-06-08 19:31:13 UTC ++++ boost/concept/detail/general.hpp +@@ -65,10 +65,19 @@ struct requirement_ + + # endif + ++// Version check from https://svn.boost.org/trac/boost/changeset/82886 ++// (boost/static_assert.hpp) ++#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__) ++#define BOOST_CONCEPT_UNUSED_TYPEDEF __attribute__((unused)) ++#else ++#define BOOST_CONCEPT_UNUSED_TYPEDEF /**/ ++#endif ++ + # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ + typedef ::boost::concepts::detail::instantiate< \ + &::boost::concepts::requirement_::failed> \ +- BOOST_PP_CAT(boost_concept_check,__LINE__) ++ BOOST_PP_CAT(boost_concept_check,__LINE__) \ ++ BOOST_CONCEPT_UNUSED_TYPEDEF + + }} + Added: head/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-libs/files/patch-5a9688e4ef22c51f77bf147589e3306bf8fd03df Mon Sep 14 21:39:32 2015 (r396933) @@ -0,0 +1,38 @@ +--- boost/math/special_functions/fpclassify.hpp.orig 2013-09-28 16:19:47 UTC ++++ boost/math/special_functions/fpclassify.hpp +@@ -348,7 +348,7 @@ inline bool (isfinite)(long double x) + { //!< \brief return true if floating-point type t is finite. + typedef detail::fp_traits::type traits; + typedef traits::method method; +- typedef boost::is_floating_point::type fp_tag; ++ //typedef boost::is_floating_point::type fp_tag; + typedef long double value_type; + return detail::isfinite_impl(static_cast(x), method()); + } +@@ -419,7 +419,7 @@ inline bool (isnormal)(long double x) + { + typedef detail::fp_traits::type traits; + typedef traits::method method; +- typedef boost::is_floating_point::type fp_tag; ++ //typedef boost::is_floating_point::type fp_tag; + typedef long double value_type; + return detail::isnormal_impl(static_cast(x), method()); + } +@@ -508,7 +508,7 @@ inline bool (isinf)(long double x) + { + typedef detail::fp_traits::type traits; + typedef traits::method method; +- typedef boost::is_floating_point::type fp_tag; ++ //typedef boost::is_floating_point::type fp_tag; + typedef long double value_type; + return detail::isinf_impl(static_cast(x), method()); + } +@@ -594,7 +594,7 @@ inline bool (isnan)(long double x) + { //!< \brief return true if floating-point type t is NaN (Not A Number). + typedef detail::fp_traits::type traits; + typedef traits::method method; +- typedef boost::is_floating_point::type fp_tag; ++ //typedef boost::is_floating_point::type fp_tag; + return detail::isnan_impl(x, method()); + } + #endif Added: head/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-libs/files/patch-7d1bf7680301331073761e81b85989b9ecee56d5 Mon Sep 14 21:39:32 2015 (r396933) @@ -0,0 +1,10 @@ +--- boost/spirit/home/classic/core/primitives/primitives.hpp.orig 2008-06-22 15:05:38 UTC ++++ boost/spirit/home/classic/core/primitives/primitives.hpp +@@ -47,7 +47,6 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN + typename parser_result::type + parse(ScannerT const& scan) const + { +- typedef typename parser_result::type result_t; + typedef typename ScannerT::value_t value_t; + typedef typename ScannerT::iterator_t iterator_t; + Added: head/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-libs/files/patch-a6b17d900155d2a04f54ad18fd89197001f231ab Mon Sep 14 21:39:32 2015 (r396933) @@ -0,0 +1,12 @@ +--- boost/bind/arg.hpp.orig 2007-11-25 18:07:19 UTC ++++ boost/bind/arg.hpp +@@ -33,8 +33,7 @@ template< int I > struct arg + + template< class T > arg( T const & /* t */ ) + { +- // static assert I == is_placeholder::value +- typedef char T_must_be_placeholder[ I == is_placeholder::value? 1: -1 ]; ++ BOOST_STATIC_ASSERT( I == is_placeholder::value ); + } + }; + Added: head/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/boost-libs/files/patch-f9b3dcb203f29dff4b264d2430f7dca9ebd43ea6 Mon Sep 14 21:39:32 2015 (r396933) @@ -0,0 +1,10 @@ +--- boost/tuple/detail/tuple_basic.hpp.orig 2011-01-02 20:25:11 UTC ++++ boost/tuple/detail/tuple_basic.hpp +@@ -225,7 +225,6 @@ inline typename access_traits< + get(const cons& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) { + typedef BOOST_DEDUCED_TYPENAME detail::drop_front::BOOST_NESTED_TEMPLATE + apply > impl; +- typedef BOOST_DEDUCED_TYPENAME impl::type cons_element; + return impl::call(c).head; + } +