From c8f499efddb38a5ce3c56c48484c56e5bc458c99 Mon Sep 17 00:00:00 2001 From: Simon Barner Date: Tue, 6 Mar 2007 05:58:23 +0000 Subject: - Remove support for FreeBSD 4. - Remove devel/boost-gcc3, since it's only usefull on 4.x - Minor portlint tweaks. --- .../FBSD4-patch-boost_archive_detail_oserializer.hpp | 15 --------------- .../FBSD4-patch-boost_detail_utf8_codecvt_facet.hpp | 11 ----------- .../files/FBSD4-patch-boost_test_impl_test_tools.ipp | 20 -------------------- .../FBSD4-patch-libs::serialization::build::Jamfile | 20 -------------------- .../FBSD5-patch-boost::python::detail::config.hpp | 19 ------------------- .../files/patch-boost::python::detail::config.hpp | 19 +++++++++++++++++++ 6 files changed, 19 insertions(+), 85 deletions(-) delete mode 100644 devel/boost/files/FBSD4-patch-boost_archive_detail_oserializer.hpp delete mode 100644 devel/boost/files/FBSD4-patch-boost_detail_utf8_codecvt_facet.hpp delete mode 100644 devel/boost/files/FBSD4-patch-boost_test_impl_test_tools.ipp delete mode 100644 devel/boost/files/FBSD4-patch-libs::serialization::build::Jamfile delete mode 100644 devel/boost/files/FBSD5-patch-boost::python::detail::config.hpp create mode 100644 devel/boost/files/patch-boost::python::detail::config.hpp (limited to 'devel/boost/files') diff --git a/devel/boost/files/FBSD4-patch-boost_archive_detail_oserializer.hpp b/devel/boost/files/FBSD4-patch-boost_archive_detail_oserializer.hpp deleted file mode 100644 index 73ff4e98ab7d..000000000000 --- a/devel/boost/files/FBSD4-patch-boost_archive_detail_oserializer.hpp +++ /dev/null @@ -1,15 +0,0 @@ ---- boost/archive/detail/oserializer.hpp.orig Thu Nov 10 00:40:32 2005 -+++ boost/archive/detail/oserializer.hpp Thu Nov 10 00:43:15 2005 -@@ -330,9 +330,9 @@ - { - static const basic_pointer_oserializer * register_type(Archive & /* ar */){ - // it has? to be polymorphic -- BOOST_STATIC_ASSERT( -- boost::serialization::type_info_implementation::type::is_polymorphic::value -- ); -+ //BOOST_STATIC_ASSERT( -+ //boost::serialization::type_info_implementation::type::is_polymorphic::value -+ //); - return static_cast(NULL); - } - }; diff --git a/devel/boost/files/FBSD4-patch-boost_detail_utf8_codecvt_facet.hpp b/devel/boost/files/FBSD4-patch-boost_detail_utf8_codecvt_facet.hpp deleted file mode 100644 index 063733dfad74..000000000000 --- a/devel/boost/files/FBSD4-patch-boost_detail_utf8_codecvt_facet.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- boost/detail/utf8_codecvt_facet.hpp.orig Sun Aug 21 13:59:04 2005 -+++ boost/detail/utf8_codecvt_facet.hpp Sun Aug 21 13:59:34 2005 -@@ -117,7 +117,7 @@ - { - public: - explicit utf8_codecvt_facet(std::size_t no_locale_manage=0) -- : std::codecvt(no_locale_manage) -+ : std::codecvt() // FIXME - {} - protected: - virtual std::codecvt_base::result do_in( diff --git a/devel/boost/files/FBSD4-patch-boost_test_impl_test_tools.ipp b/devel/boost/files/FBSD4-patch-boost_test_impl_test_tools.ipp deleted file mode 100644 index e6b99a03ec74..000000000000 --- a/devel/boost/files/FBSD4-patch-boost_test_impl_test_tools.ipp +++ /dev/null @@ -1,20 +0,0 @@ ---- boost/test/impl/test_tools.ipp.orig Sun Aug 21 14:08:00 2005 -+++ boost/test/impl/test_tools.ipp Sun Aug 21 14:09:41 2005 -@@ -173,7 +173,7 @@ - unit_test_log << "difference between " << arg1_descr << "{" << arg1_val << "}" - << " and " << arg2_descr << "{" << arg2_val << "}" - << ( tl == PASS ? " doesn't exceed " : " exceeds " ) -- << toler_val << "%", -+ << toler_val << "%"; - - va_end( args ); - -@@ -196,7 +196,7 @@ - - unit_test_log << "absolute value of " << arg1_descr << "{" << arg1_val << "}" - << ( tl == PASS ? " doesn't exceed " : " exceeds " ) -- << toler_val, -+ << toler_val; - - va_end( args ); - diff --git a/devel/boost/files/FBSD4-patch-libs::serialization::build::Jamfile b/devel/boost/files/FBSD4-patch-libs::serialization::build::Jamfile deleted file mode 100644 index ee33554e9c44..000000000000 --- a/devel/boost/files/FBSD4-patch-libs::serialization::build::Jamfile +++ /dev/null @@ -1,20 +0,0 @@ ---- libs/serialization/build/Jamfile.orig Sun Aug 21 13:39:37 2005 -+++ libs/serialization/build/Jamfile Sun Aug 21 13:40:18 2005 -@@ -123,17 +123,13 @@ - install serialization lib - : - boost_serialization -- boost_wserialization - boost_serialization -- boost_wserialization - ; - - stage stage/lib - : - boost_serialization -- boost_wserialization - boost_serialization -- boost_wserialization - : - # copy to a path rooted at BOOST_ROOT: - $(BOOST_ROOT) diff --git a/devel/boost/files/FBSD5-patch-boost::python::detail::config.hpp b/devel/boost/files/FBSD5-patch-boost::python::detail::config.hpp deleted file mode 100644 index 3013169206f0..000000000000 --- a/devel/boost/files/FBSD5-patch-boost::python::detail::config.hpp +++ /dev/null @@ -1,19 +0,0 @@ ---- boost/python/detail/config.hpp.orig Tue Nov 29 23:27:18 2005 -+++ boost/python/detail/config.hpp Sun Dec 17 13:24:16 2006 -@@ -111,7 +111,15 @@ - # define BOOST_PYTHON_OFFSETOF(s_name, s_member) \ - ((size_t)__INTADDR__(&(((s_name *)0)->s_member))) - #else --# define BOOST_PYTHON_OFFSETOF offsetof -+// workaround from http://www.freebsd.org/cgi/query-pr.cgi?pr=72307 -+#if __GNUC__ <= 3 -+#define BOOST_PYTHON_OFFSETOF(TYPE, MEMBER)\ -+ (__offsetof__ (reinterpret_cast \ -+ (&reinterpret_cast \ -+ (static_cast (0)->MEMBER)))) -+#else -+#define BOOST_PYTHON_OFFSETOF offsetof -+#endif - #endif - - #endif // CONFIG_DWA052200_H_ diff --git a/devel/boost/files/patch-boost::python::detail::config.hpp b/devel/boost/files/patch-boost::python::detail::config.hpp new file mode 100644 index 000000000000..3013169206f0 --- /dev/null +++ b/devel/boost/files/patch-boost::python::detail::config.hpp @@ -0,0 +1,19 @@ +--- boost/python/detail/config.hpp.orig Tue Nov 29 23:27:18 2005 ++++ boost/python/detail/config.hpp Sun Dec 17 13:24:16 2006 +@@ -111,7 +111,15 @@ + # define BOOST_PYTHON_OFFSETOF(s_name, s_member) \ + ((size_t)__INTADDR__(&(((s_name *)0)->s_member))) + #else +-# define BOOST_PYTHON_OFFSETOF offsetof ++// workaround from http://www.freebsd.org/cgi/query-pr.cgi?pr=72307 ++#if __GNUC__ <= 3 ++#define BOOST_PYTHON_OFFSETOF(TYPE, MEMBER)\ ++ (__offsetof__ (reinterpret_cast \ ++ (&reinterpret_cast \ ++ (static_cast (0)->MEMBER)))) ++#else ++#define BOOST_PYTHON_OFFSETOF offsetof ++#endif + #endif + + #endif // CONFIG_DWA052200_H_ -- cgit v1.2.3