Hello community,
here is the log from the commit of package boost for openSUSE:Factory
checked in at Wed Apr 28 22:27:08 CEST 2010.
--------
--- boost/boost.changes 2010-04-03 02:47:54.000000000 +0200
+++ boost/boost.changes 2010-04-26 12:35:01.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Apr 26 10:34:26 UTC 2010 - pth@novell.com
+
+- Delete unneeded patches.
+
+-------------------------------------------------------------------
+Wed Apr 14 13:54:12 CEST 2010 - pth@suse.de
+
+- Readd those patches that are still needed.
+- Try to fix an aliasing bug in function_base.hpp
+- Build man pages locally and only include them as a tarball.
+- Split documentation in in format specific packages.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Makefile
boost-visit_each.patch
boost.spec.in
boost_1_33_1_man.tar.bz2
mkspec.sh
pre_checkin.sh
New:
----
boost-fix_ICU_test.patch
boost-fix_documentation.patch
boost-no_type_punning.patch
boost-use_std_xml_catalog.patch
boost-visit_each.diff
boost_man_1_42_0.tar.bz2
boost_pdf_1_42_0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ boost.spec ++++++
++++ 769 lines (skipped)
++++ between boost/boost.spec
++++ and boost/boost.spec
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -2,33 +2,33 @@
requires -boost-<targettype>
arch sparcv9 package boost-devel
requires -boost-<targettype>
-arch ppc package libboost_date_time1_36_0
-arch sparcv9 package libboost_date_time1_36_0
-arch ppc package libboost_filesystem1_36_0
-arch sparcv9 package libboost_filesystem1_36_0
-arch ppc package libboost_graph1_36_0
-arch sparcv9 package libboost_graph1_36_0
-arch ppc package libboost_iostreams1_36_0
-arch sparcv9 package libboost_iostreams1_36_0
-arch ppc package libboost_math1_36_0
-arch sparcv9 package libboost_math1_36_0
-arch ppc package libboost_mpi1_36_0
-arch sparcv9 package libboost_mpi1_36_0
-arch ppc package libboost_test1_36_0
-arch sparcv9 package libboost_test1_36_0
-arch ppc package libboost_program_options1_36_0
-arch sparcv9 package libboost_program_options1_36_0
-arch ppc package libboost_python1_36_0
-arch sparcv9 package libboost_python1_36_0
-arch ppc package libboost_serialization1_36_0
-arch sparcv9 package libboost_serialization1_36_0
-arch ppc package libboost_signals1_36_0
-arch sparcv9 package libboost_signals1_36_0
-arch ppc package libboost_system1_36_0
-arch sparcv9 package libboost_system1_36_0
-arch ppc package libboost_thread1_36_0
-arch sparcv9 package libboost_thread1_36_0
-arch ppc package libboost_wave1_36_0
-arch sparcv9 package libboost_wave1_36_0
-arch ppc package libboost_regex1_36_0
-arch sparcv9 package libboost_regex1_36_0
+arch ppc package libboost_date_time1_42_0
+arch sparcv9 package libboost_date_time1_42_0
+arch ppc package libboost_filesystem1_42_0
+arch sparcv9 package libboost_filesystem1_42_0
+arch ppc package libboost_graph1_42_0
+arch sparcv9 package libboost_graph1_42_0
+arch ppc package libboost_iostreams1_42_0
+arch sparcv9 package libboost_iostreams1_42_0
+arch ppc package libboost_math1_42_0
+arch sparcv9 package libboost_math1_42_0
+arch ppc package libboost_mpi1_42_0
+arch sparcv9 package libboost_mpi1_42_0
+arch ppc package libboost_test1_42_0
+arch sparcv9 package libboost_test1_42_0
+arch ppc package libboost_program_options1_42_0
+arch sparcv9 package libboost_program_options1_42_0
+arch ppc package libboost_python1_42_0
+arch sparcv9 package libboost_python1_42_0
+arch ppc package libboost_serialization1_42_0
+arch sparcv9 package libboost_serialization1_42_0
+arch ppc package libboost_signals1_42_0
+arch sparcv9 package libboost_signals1_42_0
+arch ppc package libboost_system1_42_0
+arch sparcv9 package libboost_system1_42_0
+arch ppc package libboost_thread1_42_0
+arch sparcv9 package libboost_thread1_42_0
+arch ppc package libboost_wave1_42_0
+arch sparcv9 package libboost_wave1_42_0
+arch ppc package libboost_regex1_42_0
+arch sparcv9 package libboost_regex1_42_0
++++++ boost-fix_ICU_test.patch ++++++
Index: libs/regex/build/Jamfile.v2
===================================================================
--- libs/regex/build/Jamfile.v2.orig 2010-03-30 17:10:54.671004744 +0200
+++ libs/regex/build/Jamfile.v2 2010-03-31 13:52:10.715279367 +0200
@@ -51,6 +51,10 @@ rule check-icu-config ( )
{
gICU_CORE_LIB = icuuc ;
}
+ else if [ GLOB $(dir)/lib64 : libicuuc.* ]
+ {
+ gICU_CORE_LIB = icuuc ;
+ }
else if [ GLOB $(dir)/lib : libicuuc.* ]
{
gICU_CORE_LIB = icuuc ;
@@ -119,6 +123,10 @@ rule check-icu-config ( )
{
gICU_DATA_LIB = icudt ;
}
+ else if [ GLOB $(dir)/lib64 : libicudata.* ]
+ {
+ gICU_DATA_LIB = icudata ;
+ }
else if [ GLOB $(dir)/lib : libicudata.* ]
{
gICU_DATA_LIB = icudata ;
++++++ boost-fix_documentation.patch ++++++
Index: boost/accumulators/framework/accumulator_set.hpp
===================================================================
--- boost/accumulators/framework/accumulator_set.hpp.orig 2009-07-22 19:02:50.000000000 +0200
+++ boost/accumulators/framework/accumulator_set.hpp 2010-04-08 17:34:47.655511321 +0200
@@ -234,7 +234,6 @@ struct accumulator_set
///////////////////////////////////////////////////////////////////////////////
/// Accumulation
- /// \param a1 Optional named parameter to be passed to all the accumulators
void operator ()()
{
this->visit(
@@ -244,6 +243,7 @@ struct accumulator_set
);
}
+ /// \param a1 Optional named parameter to be passed to all the accumulators
template<typename A1>
void operator ()(A1 const &a1)
{
Index: boost/accumulators/framework/extractor.hpp
===================================================================
--- boost/accumulators/framework/extractor.hpp.orig 2008-06-20 05:47:42.000000000 +0200
+++ boost/accumulators/framework/extractor.hpp 2010-04-08 18:58:03.343500575 +0200
@@ -94,7 +94,6 @@ struct extractor
};
/// Extract the result associated with Feature from the accumulator set
- /// \param acc The accumulator set object from which to extract the result
template<typename Arg1>
typename detail::extractor_result::type
operator ()(Arg1 const &arg1) const
@@ -106,6 +105,7 @@ struct extractor
/// \overload
///
+ /// \param acc The accumulator set object from which to extract the result
/// \param a1 Optional named parameter to be passed to the accumulator's result() function.
template
typename detail::extractor_result::type
Index: boost/algorithm/string/finder.hpp
===================================================================
--- boost/algorithm/string/finder.hpp.orig 2009-09-13 21:10:55.000000000 +0200
+++ boost/algorithm/string/finder.hpp 2010-04-08 17:39:51.851512438 +0200
@@ -43,7 +43,6 @@ namespace boost {
The result is given as an \c iterator_range delimiting the match.
\param Search A substring to be searched for.
- \param Comp An element comparison predicate
\return An instance of the \c first_finder object
*/
template<typename RangeT>
@@ -62,6 +61,7 @@ namespace boost {
//! "First" finder
/*!
\overload
+ \param Comp An element comparison predicate
*/
template
inline detail::first_finderF<
@@ -84,7 +84,6 @@ namespace boost {
The result is given as an \c iterator_range delimiting the match.
\param Search A substring to be searched for.
- \param Comp An element comparison predicate
\return An instance of the \c last_finder object
*/
template<typename RangeT>
@@ -102,6 +101,7 @@ namespace boost {
//! "Last" finder
/*!
\overload
+ \param Comp An element comparison predicate
*/
template
inline detail::last_finderF<
@@ -124,7 +124,6 @@ namespace boost {
\param Search A substring to be searched for.
\param Nth An index of the match to be find
- \param Comp An element comparison predicate
\return An instance of the \c nth_finder object
*/
template<typename RangeT>
@@ -144,6 +143,7 @@ namespace boost {
//! "Nth" finder
/*!
\overload
+ \param Comp An element comparison predicate
*/
template
inline detail::nth_finderF<
@@ -230,7 +230,6 @@ namespace boost {
\param Begin Beginning of the range
\param End End of the range
- \param Range The range.
\return An instance of the \c range_finger object
*/
template< typename ForwardIteratorT >
@@ -245,6 +244,7 @@ namespace boost {
//! "Range" finder
/*!
\overload
+ \param Range The range.
*/
template< typename ForwardIteratorT >
inline detail::range_finderF<ForwardIteratorT>
Index: boost/algorithm/string/formatter.hpp
===================================================================
--- boost/algorithm/string/formatter.hpp.orig 2009-09-13 21:10:55.000000000 +0200
+++ boost/algorithm/string/formatter.hpp 2010-04-08 17:42:53.295011064 +0200
@@ -76,8 +76,6 @@ namespace boost {
Construct the \c empty_formatter. Empty formatter always returns an empty
sequence.
- \param Input container used to select a correct value_type for the
- resulting empty_container<>.
\return An instance of the \c empty_formatter object.
*/
template<typename RangeT>
Index: boost/date_time/dst_rules.hpp
===================================================================
--- boost/date_time/dst_rules.hpp.orig 2008-02-27 21:00:24.000000000 +0100
+++ boost/date_time/dst_rules.hpp 2010-04-08 18:02:23.327435043 +0200
@@ -94,7 +94,7 @@ namespace boost {
* @param dst_start_offset Time offset within day for dst boundary
* @param dst_end_day Ending day of dst for the given locality
* @param dst_end_offset Time offset within day given in dst for dst boundary
- * @param dst_length lenght of dst adjusment
+ * @param dst_length_minutes length of dst adjustment
* @retval The time is either ambiguous, invalid, in dst, or not in dst
*/
static time_is_dst_result
Index: boost/date_time/strings_from_facet.hpp
===================================================================
--- boost/date_time/strings_from_facet.hpp.orig 2009-02-01 12:29:43.000000000 +0100
+++ boost/date_time/strings_from_facet.hpp 2010-04-08 18:06:53.639511496 +0200
@@ -21,8 +21,9 @@ namespace boost { namespace date_time {
* all the month strings from a locale. This is handy when building
* custom date parsers or formatters that need to be localized.
*
- *@param charT The type of char to use when gathering typically char
- * or wchar_t.
+ *! charT The type of char to use when gathering, typically char
+ * or wchar_t.
+ *
*@param locale The locale to use when gathering the strings
*@param short_strings True(default) to gather short strings,
* false for long strings.
@@ -71,8 +72,9 @@ gather_month_strings(const std::locale&
* 'Sunday'. This is handy when building custom date parsers or
* formatters that need to be localized.
*
- *@param charT The type of char to use when gathering typically char
- * or wchar_t.
+ *! charT The type of char to use when gathering, typically char
+ * or wchar_t.
+ *
*@param locale The locale to use when gathering the strings
*@param short_strings True(default) to gather short strings,
* false for long strings.
Index: boost/date_time/time_zone_names.hpp
===================================================================
--- boost/date_time/time_zone_names.hpp.orig 2008-02-27 21:00:24.000000000 +0100
+++ boost/date_time/time_zone_names.hpp 2010-04-08 18:03:52.115011588 +0200
@@ -43,7 +43,7 @@ namespace date_time {
* name: Pacific Standard Time and the abbreviated name: PST.
* During daylight savings there are additional names:
* Pacific Daylight Time and PDT.
- *@parm CharT Allows class to support different character types
+ *@param CharT Allows the class to support different character types
*/
template<class CharT>
class time_zone_names_base
Index: boost/intrusive/circular_slist_algorithms.hpp
===================================================================
--- boost/intrusive/circular_slist_algorithms.hpp.orig 2009-10-15 20:46:26.000000000 +0200
+++ boost/intrusive/circular_slist_algorithms.hpp 2010-04-08 18:09:14.535002037 +0200
@@ -63,7 +63,7 @@ class circular_slist_algorithms
//! <b>Effects</b>: Constructs an non-used list element, putting the next
//! pointer to null:
- //! <tt>NodeTraits::get_next(this_node) == 0
+ //! <tt>NodeTraits::get_next(this_node) == 0</tt>
//!
//! <b>Complexity</b>: Constant
//!
Index: boost/intrusive/linear_slist_algorithms.hpp
===================================================================
--- boost/intrusive/linear_slist_algorithms.hpp.orig 2009-10-15 20:46:26.000000000 +0200
+++ boost/intrusive/linear_slist_algorithms.hpp 2010-04-08 18:09:42.795795376 +0200
@@ -62,7 +62,7 @@ class linear_slist_algorithms
//! <b>Effects</b>: Constructs an non-used list element, putting the next
//! pointer to null:
- //! <tt>NodeTraits::get_next(this_node) == 0
+ //! <tt>NodeTraits::get_next(this_node) == 0</tt>
//!
//! <b>Complexity</b>: Constant
//!
Index: boost/mpi/collectives.hpp
===================================================================
--- boost/mpi/collectives.hpp.orig 2007-11-25 19:07:19.000000000 +0100
+++ boost/mpi/collectives.hpp 2010-04-08 17:44:55.323300553 +0200
@@ -219,10 +219,6 @@ all_to_all(const communicator& comm, con
* non-roots will reshape the objects held in their proxies based on
* the skeleton sent from the root.
*
- * @param n When supplied, the number of values that the pointer @p
- * values points to, for broadcasting an array of values. The value
- * of @p n must be the same for all processes in @p comm.
- *
* @param root The rank/process ID of the process that will be
* transmitting the value.
*/
@@ -231,6 +227,10 @@ void broadcast(const communicator& comm,
/**
* \overload
+ * @param n When supplied, the number of values that the pointer @p
+ * values points to, for broadcasting an array of values. The value
+ * of @p n must be the same for all processes in @p comm.
+ *
*/
template<typename T>
void broadcast(const communicator& comm, T* values, int n, int root);
Index: boost/mpi/operations.hpp
===================================================================
--- boost/mpi/operations.hpp.orig 2007-11-25 19:07:19.000000000 +0100
+++ boost/mpi/operations.hpp 2010-04-08 17:45:43.579010784 +0200
@@ -13,7 +13,7 @@
* This header provides a mapping from function objects to @c MPI_Op
* constants used in MPI collective operations. It also provides
* several new function object types not present in the standard @c
- * <functional> header that have direct mappings to @c MPI_Op.
+ * <functional> header that have direct mappings to @c MPI_Op.
*/
#ifndef BOOST_MPI_IS_MPI_OP_HPP
#define BOOST_MPI_IS_MPI_OP_HPP
Index: boost/program_options/value_semantic.hpp
===================================================================
--- boost/program_options/value_semantic.hpp.orig 2010-01-08 22:00:57.000000000 +0100
+++ boost/program_options/value_semantic.hpp 2010-04-08 17:32:01.139005255 +0200
@@ -385,7 +385,7 @@ namespace boost { namespace program_opti
typed_value*
wvalue(T* v);
- /** Works the same way as the 'value<bool>' function, but the created
+ /** Works the same way as the 'value<bool>' function, but the created
value_semantic won't accept any explicit value. So, if the option
is present on the command line, the value will be 'true'.
*/
Index: boost/units/cmath.hpp
===================================================================
--- boost/units/cmath.hpp.orig 2009-07-28 21:05:27.000000000 +0200
+++ boost/units/cmath.hpp 2010-04-08 17:59:56.771242946 +0200
@@ -30,7 +30,7 @@
/// \file
/// \brief Overloads of functions in \ for quantities
///
-/// \detailed Only functions for which a dimensionally-correct result type
+/// \detail Only functions for which a dimensionally-correct result type
/// can be determined are overloaded. All functions work with dimensionless
/// quantities.
Index: boost/units/dim.hpp
===================================================================
--- boost/units/dim.hpp.orig 2008-06-20 06:37:32.000000000 +0200
+++ boost/units/dim.hpp 2010-04-08 17:59:12.003511062 +0200
@@ -36,7 +36,7 @@ struct dim_tag { };
/// \brief Dimension tag/exponent pair for a single fundamental dimension.
///
-/// \detailed
+/// \detail
/// The dim class represents a single dimension tag/dimension exponent pair.
/// That is, @c dim is a pair where @c tag_type represents the
/// fundamental dimension being represented and @c value_type represents the
Index: boost/units/operators.hpp
===================================================================
--- boost/units/operators.hpp.orig 2009-01-09 18:31:30.000000000 +0100
+++ boost/units/operators.hpp 2010-04-08 18:00:09.503745620 +0200
@@ -19,7 +19,7 @@
/// \file
/// \brief Compile time operators and typeof helper classes.
///
-/// \detailed
+/// \detail
/// These operators declare the compile-time operators needed to support dimensional
/// analysis algebra. They require the use of Boost.Typeof.
/// Typeof helper classes define result type for heterogeneous operators on value types.
Index: libs/mpi/doc/mpi.qbk
===================================================================
--- libs/mpi/doc/mpi.qbk.orig 2009-08-06 21:04:54.000000000 +0200
+++ libs/mpi/doc/mpi.qbk 2010-04-08 18:14:30.531010979 +0200
@@ -1846,7 +1846,7 @@ routine, e.g.,
`skeleton_proxy` objects can be received on the other end via `recv()`,
which stores a newly-created instance of your data structure with the
-same "shape" as the sender in its `"object` attribute:
+same "shape" as the sender in its `object` attribute:
shape = mpi.world.recv(0, 0)
my_data_structure = shape.object
++++++ boost-no_segfault_in_Regex_filter.patch ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -1,7 +1,6 @@
-diff -rup boost_1_42_0.orig/boost/iostreams/filter/regex.hpp boost_1_42_0/boost/iostreams/filter/regex.hpp
---- boost_1_42_0.orig/boost/iostreams/filter/regex.hpp 2010-04-03 00:03:31.914603959 +0200
-+++ boost_1_42_0/boost/iostreams/filter/regex.hpp 2010-04-03 00:25:09.302115408 +0200
-@@ -58,7 +58,7 @@ private:
+--- boost/iostreams/filter/regex.hpp
++++ boost/iostreams/filter/regex.hpp
+@@ -58,7 +58,7 @@
return;
iterator first(&src[0], &src[0] + src.size(), re_, flags_);
iterator last;
++++++ boost-no_type_punning.patch ++++++
Index: libs/python/src/dict.cpp
===================================================================
--- libs/python/src/dict.cpp.orig 2009-10-14 00:37:59.000000000 +0200
+++ libs/python/src/dict.cpp 2010-03-24 14:16:38.455514855 +0100
@@ -28,9 +28,9 @@ namespace
detail::new_reference dict_base::call(object const& arg_)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyDict_Type };
return (detail::new_reference)PyObject_CallFunction(
- (PyObject*)&PyDict_Type, const_cast("(O)"),
- arg_.ptr());
+ pun.pop, const_cast("(O)"), arg_.ptr());
}
dict_base::dict_base()
Index: libs/python/src/list.cpp
===================================================================
--- libs/python/src/list.cpp.orig 2009-10-14 00:37:59.000000000 +0200
+++ libs/python/src/list.cpp 2010-03-24 14:17:39.063512971 +0100
@@ -10,11 +10,11 @@ namespace boost { namespace python { nam
detail::new_non_null_reference list_base::call(object const& arg_)
{
+ union{ PyTypeObject *ptop; PyObject *pop; }pun = { &PyList_Type };
return (detail::new_non_null_reference)
(expect_non_null)(
PyObject_CallFunction(
- (PyObject*)&PyList_Type, const_cast("(O)"),
- arg_.ptr()));
+ pun.pop, const_cast("(O)"), arg_.ptr()));
}
list_base::list_base()
Index: libs/python/src/long.cpp
===================================================================
--- libs/python/src/long.cpp.orig 2009-08-17 23:01:18.000000000 +0200
+++ libs/python/src/long.cpp 2010-03-24 14:27:51.795442249 +0100
@@ -8,16 +8,16 @@ namespace boost { namespace python { nam
new_non_null_reference long_base::call(object const& arg_)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
return (detail::new_non_null_reference)PyObject_CallFunction(
- (PyObject*)&PyLong_Type, const_cast("(O)"),
- arg_.ptr());
+ pun.pop, const_cast("(O)"), arg_.ptr());
}
new_non_null_reference long_base::call(object const& arg_, object const& base)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
return (detail::new_non_null_reference)PyObject_CallFunction(
- (PyObject*)&PyLong_Type, const_cast("(OO)"),
- arg_.ptr(), base.ptr());
+ pun.pop, const_cast("(OO)"), arg_.ptr(), base.ptr());
}
long_base::long_base()
@@ -25,7 +25,12 @@ long_base::long_base()
detail::new_reference(
PyObject_CallFunction((PyObject*)&PyLong_Type, const_cast("()")))
)
-{}
+{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyLong_Type };
+ object(detail::new_reference(
+ PyObject_CallFunction(pun.pop, const_cast("()"))));
+}
+
long_base::long_base(object_cref arg)
: object(long_base::call(arg))
Index: libs/python/src/object/class.cpp
===================================================================
--- libs/python/src/object/class.cpp.orig 2009-11-13 01:40:01.000000000 +0100
+++ libs/python/src/object/class.cpp 2010-03-24 14:22:47.359006204 +0100
@@ -615,9 +615,11 @@ namespace objects
void class_base::add_property(
char const* name, object const& fget, char const* docstr)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type };
+
object property(
(python::detail::new_reference)
- PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast("Osss"), fget.ptr(), 0, 0, docstr));
+ PyObject_CallFunction(pun.pop, const_cast("Osss"), fget.ptr(), 0, 0, docstr));
this->setattr(name, property);
}
@@ -625,9 +627,11 @@ namespace objects
void class_base::add_property(
char const* name, object const& fget, object const& fset, char const* docstr)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyProperty_Type };
+
object property(
(python::detail::new_reference)
- PyObject_CallFunction((PyObject*)&PyProperty_Type, const_cast("OOss"), fget.ptr(), fset.ptr(), 0, docstr));
+ PyObject_CallFunction(pun.pop, const_cast("OOss"), fget.ptr(), fset.ptr(), 0, docstr));
this->setattr(name, property);
}
Index: libs/python/src/str.cpp
===================================================================
--- libs/python/src/str.cpp.orig 2009-10-14 00:37:59.000000000 +0200
+++ libs/python/src/str.cpp 2010-03-24 14:25:54.499013435 +0100
@@ -9,14 +9,14 @@ namespace boost { namespace python { nam
detail::new_reference str_base::call(object const& arg_)
{
- return (detail::new_reference)PyObject_CallFunction(
#if PY_VERSION_HEX >= 0x03000000
- (PyObject*)&PyUnicode_Type,
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyUnicode_Type };
#else
- (PyObject*)&PyString_Type,
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyString_Type };
#endif
- const_cast("(O)"),
- arg_.ptr());
+
+ return (detail::new_reference)PyObject_CallFunction(
+ pun.pop, const_cast("(O)"), arg_.ptr());
}
str_base::str_base()
Index: libs/python/src/tuple.cpp
===================================================================
--- libs/python/src/tuple.cpp.orig 2009-08-17 23:01:18.000000000 +0200
+++ libs/python/src/tuple.cpp 2010-03-24 14:36:48.547503422 +0100
@@ -8,9 +8,10 @@ namespace boost { namespace python { nam
detail::new_reference tuple_base::call(object const& arg_)
{
+ union { PyTypeObject *ptop; PyObject *pop; }pun = { &PyTuple_Type };
+
return (detail::new_reference)PyObject_CallFunction(
- (PyObject*)&PyTuple_Type, const_cast("(O)"),
- arg_.ptr());
+ pun.pop, const_cast("(O)"), arg_.ptr());
}
tuple_base::tuple_base()
++++++ boost-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -11,3 +11,4 @@
addFilter("boost.* static-library-without-debuginfo")
addFilter("boost.* obsolete-suse-version-check")
addFilter("boost.* shlib-unversioned-lib")
+addFilter("boost.* no-dependency-on")
++++++ boost-sane_versioning.patch ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -1,7 +1,8 @@
-diff -rup boost_1_42_0.orig/Jamroot boost_1_42_0/Jamroot
---- boost_1_42_0.orig/Jamroot 2010-04-03 00:03:31.722603669 +0200
-+++ boost_1_42_0/Jamroot 2010-04-03 00:44:38.038115479 +0200
-@@ -355,9 +355,7 @@ rule tag ( name : type ? : property-set
+Index: Jamroot
+===================================================================
+--- Jamroot.orig
++++ Jamroot
+@@ -355,9 +355,7 @@
if $(layout) = versioned
{
result = [ common.format-name
@@ -12,7 +13,7 @@
}
else if $(layout) = tagged
{
-@@ -505,13 +503,9 @@ if $(layout-versioned) && ( [ modules.pe
+@@ -475,13 +473,9 @@ if $(layout-versioned) && ( [ modules.pe
return $(result) ;
}
@@ -23,7 +24,7 @@
- generate install-unversioned : install-proper :
- <generating-rule>@make-unversioned-links ;
- explicit install-unversioned ;
-+ # Create do-nothing aliases.
++ # Create do-nothing aliases
+ alias stage-unversioned ;
+ alias install-unversioned ;
}
++++++ boost-strict_aliasing.patch ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -1,11 +1,32 @@
-diff -rup boost_1_42_0.orig/libs/python/build/Jamfile.v2 boost_1_42_0/libs/python/build/Jamfile.v2
---- boost_1_42_0.orig/libs/python/build/Jamfile.v2 2010-04-03 01:21:23.307602844 +0200
-+++ boost_1_42_0/libs/python/build/Jamfile.v2 2010-04-03 01:22:16.270115943 +0200
-@@ -41,6 +41,7 @@ py3-version = [ find-py3-version ] ;
+Index: libs/python/build/Jamfile.v2
+===================================================================
+--- libs/python/build/Jamfile.v2.orig 2009-10-14 00:37:59.000000000 +0200
++++ libs/python/build/Jamfile.v2 2010-03-26 16:49:22.348016732 +0100
+@@ -41,7 +41,8 @@ py3-version = [ find-py3-version ] ;
project boost/python
: source-location ../src
+- ;
+ : requirements <cxxflags>-fno-strict-aliasing
- ;
++ ;
rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { return $(no) ; } }
+ rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } }
+Index: boost/function/function_base.hpp
+===================================================================
+--- boost/function/function_base.hpp.orig 2009-12-06 18:50:28.000000000 +0100
++++ boost/function/function_base.hpp 2010-03-31 14:24:45.259010848 +0200
+@@ -318,11 +318,11 @@ namespace boost {
+ new ((void*)&out_buffer.data) functor_type(*in_functor);
+
+ if (op == move_functor_tag) {
+- reinterpret_cast(&in_buffer.data)->~Functor();
++ reinterpret_cast(&in_buffer)->~Functor();
+ }
+ } else if (op == destroy_functor_tag) {
+ // Some compilers (Borland, vc6, ...) are unhappy with ~functor_type.
+- reinterpret_cast(&out_buffer.data)->~Functor();
++ reinterpret_cast(&out_buffer)->~Functor();
+ } else if (op == check_functor_type_tag) {
+ const detail::sp_typeinfo& check_type
+ = *out_buffer.type.type;
++++++ boost-thread.patch ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:12.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:12.000000000 +0200
@@ -1,12 +1,13 @@
-diff -rup boost_1_42_0.orig/boost/config/compiler/gcc.hpp boost_1_42_0/boost/config/compiler/gcc.hpp
---- boost_1_42_0.orig/boost/config/compiler/gcc.hpp 2010-04-03 00:03:31.782604076 +0200
-+++ boost_1_42_0/boost/config/compiler/gcc.hpp 2010-04-03 00:53:35.534114084 +0200
+Index: boost/config/compiler/gcc.hpp
+===================================================================
+--- boost/config/compiler/gcc.hpp.orig 2009-10-13 14:56:44.000000000 +0200
++++ boost/config/compiler/gcc.hpp 2010-03-24 14:11:51.188512556 +0100
@@ -79,7 +79,7 @@
// those platforms where we can know for sure). It will get turned off again
// later if no threading API is detected.
//
-#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
-+#if !defined(__MINGW32__)
++#if !defined(__MINGW32__)
# define BOOST_HAS_THREADS
#endif
++++++ boost-use_std_xml_catalog.patch ++++++
Index: tools/build/v2/tools/boostbook.jam
===================================================================
--- tools/build/v2/tools/boostbook.jam.orig 2009-07-15 20:44:38.000000000 +0200
+++ tools/build/v2/tools/boostbook.jam 2010-04-07 17:34:23.603024152 +0200
@@ -225,40 +225,7 @@ rule generate-xml-catalog ( target : sou
" http://www.boost.org/tools/boostbook/dtd/\" rewritePrefix=\"file://$(boostbook-dtd-dir)/\"/>"
: true ;
- local docbook-xsl-dir = [ boostbook.docbook-xsl-dir ] ;
- if ! $(docbook-xsl-dir)
- {
- ECHO "BoostBook warning: no DocBook XSL directory specified." ;
- ECHO " If you have the DocBook XSL stylesheets installed, please " ;
- ECHO " set DOCBOOK_XSL_DIR to the stylesheet directory on either " ;
- ECHO " the command line (via -sDOCBOOK_XSL_DIR=...) or in a " ;
- ECHO " Boost.Jam configuration file. The DocBook XSL stylesheets " ;
- ECHO " are available here: http://docbook.sourceforge.net/ " ;
- ECHO " Stylesheets will be downloaded on-the-fly (very slow!) " ;
- }
- else
- {
- docbook-xsl-dir = [ regex.replace $(docbook-xsl-dir) " " "%20" ] ;
- print.text " http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"file://$(docbook-xsl-dir)/\"/>" ;
- }
-
- local docbook-dtd-dir = [ boostbook.docbook-dtd-dir ] ;
- if ! $(docbook-dtd-dir)
- {
- ECHO "BoostBook warning: no DocBook DTD directory specified." ;
- ECHO " If you have the DocBook DTD installed, please set " ;
- ECHO " DOCBOOK_DTD_DIR to the DTD directory on either " ;
- ECHO " the command line (via -sDOCBOOK_DTD_DIR=...) or in a " ;
- ECHO " Boost.Jam configuration file. The DocBook DTD is available " ;
- ECHO " here: http://www.oasis-open.org/docbook/xml/4.2/index.shtml" ;
- ECHO " The DTD will be downloaded on-the-fly (very slow!) " ;
- }
- else
- {
- docbook-dtd-dir = [ regex.replace $(docbook-dtd-dir) " " "%20" ] ;
- print.text " http://www.oasis-open.org/docbook/xml/4.2/\" rewritePrefix=\"file://$(docbook-dtd-dir)/\"/>" ;
- }
-
+ print.text " " ;
print.text "</catalog>" ;
}
++++++ boost-visit_each.diff ++++++
--- boost/visit_each.hpp
+++ boost/visit_each.hpp
@@ -22,7 +22,7 @@
template
inline void visit_each(Visitor& visitor, const T& t)
{
- visit_each(visitor, t, 0);
+ visit_each(visitor, t, (long)0);
}
}
++++++ existing_extra_docs ++++++
--- /var/tmp/diff_new_pack.uXrbCb/_old 2010-04-28 22:22:14.000000000 +0200
+++ /var/tmp/diff_new_pack.uXrbCb/_new 2010-04-28 22:22:14.000000000 +0200
@@ -280,8 +280,6 @@
libs/preprocessor/doc/examples/duffs_device.c
libs/preprocessor/doc/examples/is_integral.cpp
libs/preprocessor/doc/examples/linear_fib.c
-libs/property_map/example1.cpp
-libs/property_map/example3.cpp
libs/ptr_container/test/incomplete_type_test.cpp
libs/ptr_container/test/ptr_array.cpp
libs/ptr_container/test/simple_test.cpp
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org