Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 21:39:33 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
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
Message-ID:  <201509142139.t8ELdXbM083804@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_<void(*)(Model)>
+   
+ # 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_<ModelFnPtr>::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<long double>::type traits;
+    typedef traits::method method;
+-   typedef boost::is_floating_point<long double>::type fp_tag;
++   //typedef boost::is_floating_point<long double>::type fp_tag;
+    typedef long double value_type;
+    return detail::isfinite_impl(static_cast<value_type>(x), method());
+ }
+@@ -419,7 +419,7 @@ inline bool (isnormal)(long double x)
+ {
+    typedef detail::fp_traits<long double>::type traits;
+    typedef traits::method method;
+-   typedef boost::is_floating_point<long double>::type fp_tag;
++   //typedef boost::is_floating_point<long double>::type fp_tag;
+    typedef long double value_type;
+    return detail::isnormal_impl(static_cast<value_type>(x), method());
+ }
+@@ -508,7 +508,7 @@ inline bool (isinf)(long double x)
+ {
+    typedef detail::fp_traits<long double>::type traits;
+    typedef traits::method method;
+-   typedef boost::is_floating_point<long double>::type fp_tag;
++   //typedef boost::is_floating_point<long double>::type fp_tag;
+    typedef long double value_type;
+    return detail::isinf_impl(static_cast<value_type>(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<long double>::type traits;
+    typedef traits::method method;
+-   typedef boost::is_floating_point<long double>::type fp_tag;
++   //typedef boost::is_floating_point<long double>::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<self_t, ScannerT>::type
+         parse(ScannerT const& scan) const
+         {
+-            typedef typename parser_result<self_t, ScannerT>::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<T>::value
+-        typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
++        BOOST_STATIC_ASSERT( I == is_placeholder<T>::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<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) {
+   typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE
+       apply<cons<HT, TT> > impl;
+-  typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
+   return impl::call(c).head;
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509142139.t8ELdXbM083804>