Hello community,
here is the log from the commit of package boost for openSUSE:Factory checked in at 2014-01-07 17:18:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/boost (Old)
and /work/SRC/openSUSE:Factory/.boost.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boost"
Changes:
--------
--- /work/SRC/openSUSE:Factory/boost/boost.changes 2013-12-19 13:31:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2014-01-07 17:19:00.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Jan 7 11:02:00 UTC 2014 - schwab@suse.de
+
+- Disable coroutine library together with context
+
+-------------------------------------------------------------------
+Sat Jan 4 19:57:55 UTC 2014 - coolo@suse.com
+
+- fix build of libzypp - patch from boost's track
+
+- added patches:
+ * boost-1.54-change85160.patch
+
+-------------------------------------------------------------------
New:
----
boost-1.54-change85160.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ boost.spec ++++++
--- /var/tmp/diff_new_pack.37aExc/_old 2014-01-07 17:19:01.000000000 +0100
+++ /var/tmp/diff_new_pack.37aExc/_new 2014-01-07 17:19:01.000000000 +0100
@@ -115,6 +115,8 @@
Patch72: boost-1.54-002-date-time.patch
#PATCH-FIX-UPSTREAM A post-release patch.
Patch73: boost-1.54-003-log.patch
+#PATCH-FIX-UPSTREAM https://svn.boost.org/trac/boost/ticket/8790
+Patch74: boost-1.54-change85160.patch
Recommends: %{all_libs}
%define _docdir %{_datadir}/doc/packages/boost-%{version}
@@ -429,6 +431,7 @@
%patch71 -p1
%patch72 -p1
%patch73 -p1
+%patch74 -p0
#stupid build machinery copies .orig files
find . -name \*.orig -exec rm {} +
@@ -467,7 +470,8 @@
export PYTHON_FLAGS
LIBRARIES_FLAGS=
%if !%build_context
-LIBRARIES_FLAGS+=" --without-context"
+# coroutine depends on context
+LIBRARIES_FLAGS+=" --without-context --without-coroutine"
%endif
EOF
++++++ boost-1.54-change85160.patch ++++++
Index: boost/lexical_cast.hpp
===================================================================
--- boost/lexical_cast.hpp (revision 84183)
+++ boost/lexical_cast.hpp (revision 85160)
@@ -69,9 +69,4 @@
throw_exception(bad_lexical_cast(typeid(Source), typeid(Target)))
#endif
-
-#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
-#define BOOST_LCAST_HAS_INT128
-#endif
-
namespace boost
@@ -317,5 +312,5 @@
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
template <> struct stream_char_common< boost::int128_type >: public boost::mpl::identity< char > {};
template <> struct stream_char_common< boost::uint128_type >: public boost::mpl::identity< char > {};
@@ -614,5 +609,5 @@
BOOST_LCAST_DEF( __int64)
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
BOOST_LCAST_DEF(boost::int128_type)
BOOST_LCAST_DEF(boost::uint128_type)
@@ -880,4 +875,13 @@
#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
+
+ // GCC when used with flag -std=c++0x may not have std::numeric_limits
+ // specializations for __int128 and unsigned __int128 types.
+ // Try compilation with -std=gnu++0x or -std=gnu++11.
+ //
+ // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40856
+ BOOST_STATIC_ASSERT_MSG(std::numeric_limits<T>::is_specialized,
+ "std::numeric_limits are not specialized for integral type passed to boost::lexical_cast"
+ );
#endif
CharT const czero = lcast_char_constants<CharT>::zero;
@@ -1828,5 +1832,5 @@
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
bool operator<<(const boost::uint128_type& n) { start = lcast_put_unsigned<Traits>(n, finish); return true; }
bool operator<<(const boost::int128_type& n) { return shl_signed(n); }
@@ -2040,5 +2044,5 @@
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
bool operator>>(boost::uint128_type& output) { return shr_unsigned(output); }
bool operator>>(boost::int128_type& output) { return shr_signed(output); }
@@ -2554,5 +2558,5 @@
}
#endif
-#ifndef BOOST_NO_CHAR16_T
+#ifndef BOOST_NO_CXX11_CHAR16_T
template <typename Target>
inline Target lexical_cast(const char16_t* chars, std::size_t count)
@@ -2563,5 +2567,5 @@
}
#endif
-#ifndef BOOST_NO_CHAR32_T
+#ifndef BOOST_NO_CXX11_CHAR32_T
template <typename Target>
inline Target lexical_cast(const char32_t* chars, std::size_t count)
@@ -2720,5 +2724,4 @@
#undef BOOST_LCAST_THROW_BAD_CAST
#undef BOOST_LCAST_NO_WCHAR_T
-#undef BOOST_LCAST_HAS_INT128
#endif // BOOST_LEXICAL_CAST_INCLUDED
Index: libs/conversion/test/lexical_cast_integral_types_test.cpp
===================================================================
--- libs/conversion/test/lexical_cast_integral_types_test.cpp (revision 83764)
+++ libs/conversion/test/lexical_cast_integral_types_test.cpp (revision 85160)
@@ -49,8 +49,4 @@
#endif
-#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
-#define BOOST_LCAST_HAS_INT128
-#endif
-
// Test all 65536 values if true:
bool const lcast_test_small_integral_types_completely = false;
@@ -76,5 +72,5 @@
void test_conversion_from_to_ulonglong();
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
void test_conversion_from_to_int128();
void test_conversion_from_to_uint128();
@@ -100,5 +96,5 @@
suite->add(BOOST_TEST_CASE(&test_conversion_from_to_ulonglong));
#endif
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
suite->add(BOOST_TEST_CASE(&test_conversion_from_to_int128));
suite->add(BOOST_TEST_CASE(&test_conversion_from_to_uint128));
@@ -445,6 +441,6 @@
// Overflow test case from David W. Birdsall
- std::string must_owerflow_str = "160000000000000000000";
- std::string must_owerflow_negative_str = "-160000000000000000000";
+ std::string must_owerflow_str = (sizeof(T) < 16 ? "160000000000000000000" : "1600000000000000000000000000000000000000");
+ std::string must_owerflow_negative_str = (sizeof(T) < 16 ? "-160000000000000000000" : "-1600000000000000000000000000000000000000");
for (int i = 0; i < 15; ++i) {
BOOST_CHECK_THROW(lexical_cast<T>(must_owerflow_str), bad_lexical_cast);
@@ -558,13 +554,32 @@
-#ifdef BOOST_LCAST_HAS_INT128
+#ifdef BOOST_HAS_INT128
+
+template