From 6e52e00c6822ad715237d32083a5fbb17a95a4b8 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 29 2019 16:26:53 +0000 Subject: import boost-1.53.0-28.el7 --- diff --git a/.boost.metadata b/.boost.metadata new file mode 100644 index 0000000..41428e4 --- /dev/null +++ b/.boost.metadata @@ -0,0 +1 @@ +e6dd1b62ceed0a51add3dda6f3fc3ce0f636a7f3 SOURCES/boost_1_53_0.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..219e7aa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/boost_1_53_0.tar.bz2 diff --git a/SOURCES/boost-1.48.0-add-bjam-man-page.patch b/SOURCES/boost-1.48.0-add-bjam-man-page.patch new file mode 100644 index 0000000..ea3f19f --- /dev/null +++ b/SOURCES/boost-1.48.0-add-bjam-man-page.patch @@ -0,0 +1,150 @@ +diff --git a/tools/build/v2/doc/bjam.1 b/tools/build/v2/doc/bjam.1 +new file mode 100644 +index 0000000..8a44af6 +--- /dev/null ++++ b/tools/build/v2/doc/bjam.1 +@@ -0,0 +1,144 @@ ++.TH "bjam" 1 "Sat Nov 19 2011" "Doxygen" \" -*- nroff -*- ++.ad l ++.nh ++.SH NAME ++bjam \- Command-line utility to build Boost-related C++ projects with Boost\&.Build ++.SH "SYNOPSIS" ++.PP ++\fBbjam\fP \fC[-a] [-dx] [-fx] [-jx] [-lx] [-n] [-ox] [-px] [-q] [-sx=y] [-tx] [-v] [--x]\fP ++.PP ++\fIbjam\fP accepts the following options: ++.PP ++\fB-a\fP ++.br ++ Build all targets, even if they are current ++.PP ++\fB-dx\fP ++.br ++ Set the debug level to x (0-9) ++.PP ++\fB-fx\fP ++.br ++ Read x instead of Jambase ++.PP ++\fB-jx\fP ++.br ++ Run up to x shell commands concurrently ++.PP ++\fB-lx\fP ++.br ++ Limit actions to x number of seconds after which they are stopped ++.PP ++\fB-n\fP ++.br ++ Don't actually execute the updating actions ++.PP ++\fB-ox\fP ++.br ++ Write the updating actions to file x ++.PP ++\fB-px\fP ++.br ++ x=0, pipes action stdout and stderr merged into action output ++.PP ++\fB-q\fP ++.br ++ Quit quickly as soon as a target fails ++.PP ++\fB-sx=y\fP ++.br ++ Set variable x=y, overriding environment ++.PP ++\fB-tx\fP ++.br ++ Rebuild x, even if it is up-to-date ++.PP ++\fB-v\fP ++.br ++ Print the version of jam and exit ++.PP ++\fB--x\fP ++.br ++ Option is ignored ++.SH "DESCRIPTION" ++.PP ++This section provides the information necessary to create your own projects using \fIBoost\&.Build\fP The information provided here is relatively high-level, and Chapter 6, Reference as well as the on-line help system must be used to obtain low-level documentation (see --help) ++.PP ++\fIBoost\&.Build\fP actually consists of two parts - \fIBoost\&.Jam\fP, a build engine with its own interpreted language, and \fIBoost\&.Build\fP itself, implemented in \fIBoost\&.Jam's\fP language\&. The chain of events when you type bjam on the command line is as follows: ++.IP "\(bu" 2 ++\fIBoost\&.Jam\fP tries to find \fIBoost\&.Build\fP and loads the top-level module\&. The exact process is described in the section called “Initialization” ++.PP ++.PP ++.IP "\(bu" 2 ++The top-level module loads user-defined configuration files, \fIuser-config\&.jam\fP and \fIsite-config\&.jam\fP, which define available toolsets ++.PP ++.PP ++.IP "\(bu" 2 ++The \fIJamfile\fP in the current directory is read That in turn might cause reading of further Jamfiles\&. As a result, a tree of projects is created, with targets inside projects ++.PP ++.PP ++.IP "\(bu" 2 ++Finally, using the build request specified on the command line, \fIBoost\&.Build\fP decides which targets should be built and how\&. That information is passed back to \fIBoost\&.Jam\fP, which takes care of actually running the scheduled build action commands ++.PP ++.PP ++So, to be able to successfully use \fIBoost\&.Build\fP, you need to know only four things: ++.IP "\(bu" 2 ++How to configure \fIBoost\&.Build\fP (http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html) ++.IP "\(bu" 2 ++How to declare targets in Jamfiles (http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html) ++.IP "\(bu" 2 ++How the build process works (http://www.boost.org/boost-build2/doc/html/bbv2/overview/build_process.html) ++.PP ++.PP ++Some Basics about the \fIBoost\&.Jam\fP language\&. See the section called “Boost\&.Jam Language” (http://www.boost.org/boost-build2/doc/html/bbv2/overview/jam_language.html) ++.SH "CONCEPTS" ++.PP ++\fIBoost\&.Build\fP has a few unique concepts that are introduced in this section\&. The best way to explain the concepts is by comparison with more classical build tools ++.PP ++When using any flavour of make, you directly specify targets and commands that are used to create them from other target\&. The below example creates a\&.o from a\&.c using a hardcoded compiler invocation command ++.PP ++a\&.o: a\&.c ++.br ++ g++ -o a\&.o -g a\&.c ++.PP ++This is rather low-level description mechanism and it is hard to adjust commands, options, and sets of created targets depending on the used compiler and operating system\&. ++.PP ++To improve portability, most modern build system provide a set of higher-level functions that can be used in build description files\&. Consider this example: ++.PP ++add_program ('a', 'a\&.c') ++.br ++.PP ++This is a function call that creates targets necessary to create executable file from source file a\&.c\&. Depending on configured properties, different commands line may be used\&. However, \fIadd_program\fP is higher-level, but rather thin level All targets are created immediately when build description is parsed, which makes it impossible to perform multi-variant builds\&. Often, change in any build property requires complete reconfiguration of the build tree ++.PP ++In order to support true multivariant builds, Boost\&.Build introduces the concept of metatarget—object that is created when build description is parsed and can be later called with specific build properties to generate actual targets ++.PP ++Consider an example: ++.PP ++exe a : a\&.cpp ; ++.br ++.PP ++When this declaration is parsed, \fIBoost\&.Build\fP creates a metatarget, but does not yet decides what files must be created, or what commands must be used\&. After all build files are parsed, Boost\&.Build considers properties requested on the command line\&. Supposed you have invoked \fIBoost\&.Build\fP with: ++.PP ++\fIbjam\fP toolset=gcc toolset=msvc ++.br ++.PP ++In that case, the metatarget will be called twice, once with toolset=gcc and once with toolset=msvc\&. Both invocations will produce concrete targets, that will have different extensions and use different command lines\&. Another key concept is build property\&. Build property is a variable that affects the build process\&. It can be specified on the command line, and is passed when calling a metatarget ++.PP ++While all build tools have a similar mechanism, \fIBoost\&.Build\fP differs by requiring that all build properties are declared in advance, and providing a large set of properties with portable semantics ++.PP ++The final concept is property propagation\&. Boost\&.Build does not require that every metatarget is called with the same properties\&. Instead, the 'top-level' metatargets are called with the properties specified on the command line Each metatarget can elect to augment or override some properties (in particular, using the requirements mechanism, see the section called “Requirements”: http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements) Then, the dependency metatargets are called with modified properties and produce concrete targets that are then used in build process Of course, dependency metatargets maybe in turn modify build properties and have dependencies of their own\&. ++.PP ++For more in-depth treatment of the requirements and concepts, you may refer to SYRCoSE 2009 Boost\&.Build article (http://syrcose.ispras.ru/2009/files/04_paper.pdf)\&. ++.SH "SEE ALSO" ++.PP ++\fBboost-libraries\fP(3) ++.SH "SUPPORT" ++.PP ++Please report any bugs to https://svn.boost.org/trac/boost/ ++.SH "COPYRIGHT" ++.PP ++Boost Software License - Version 1\&.0 - August 17th, 2003 ++.PP ++See the LICENSE_1_0\&.txt file for more information on that license, or directly on Internet: ++.br ++ http://www.boost.org/LICENSE_1_0.txt diff --git a/SOURCES/boost-1.50.0-fix-non-utf8-files.patch b/SOURCES/boost-1.50.0-fix-non-utf8-files.patch new file mode 100644 index 0000000..b60a3ac --- /dev/null +++ b/SOURCES/boost-1.50.0-fix-non-utf8-files.patch @@ -0,0 +1,22 @@ +diff --git a/libs/units/example/autoprefixes.cpp b/libs/units/example/autoprefixes.cpp +index 8b2bc43..d04f2fe 100644 +--- a/libs/units/example/autoprefixes.cpp ++++ b/libs/units/example/autoprefixes.cpp +@@ -67,7 +67,7 @@ struct thing_base_unit : boost::units::base_unit + { + static const char* name() { return("EUR"); } +- static const char* symbol() { return("�"); } ++ static const char* symbol() { return("€"); } + }; + + int main() +@@ -140,7 +140,7 @@ int main() + + quantity ce = 2048. * euro_base_unit::unit_type(); + cout << name_format << engineering_prefix << ce << endl; // 2.048 kiloEUR +- cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k� ++ cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k€ + + + return 0; diff --git a/SOURCES/boost-1.50.0-foreach.patch b/SOURCES/boost-1.50.0-foreach.patch new file mode 100644 index 0000000..dc8cd71 --- /dev/null +++ b/SOURCES/boost-1.50.0-foreach.patch @@ -0,0 +1,60 @@ +Index: /trunk/boost/foreach_fwd.hpp +=================================================================== +--- /trunk/boost/foreach_fwd.hpp (revision 62661) ++++ /trunk/boost/foreach_fwd.hpp (revision 75540) +@@ -15,4 +15,6 @@ + #define BOOST_FOREACH_FWD_HPP + ++#include // for std::pair ++ + // This must be at global scope, hence the uglified name + enum boost_foreach_argument_dependent_lookup_hack +@@ -26,4 +28,7 @@ + namespace foreach + { ++ template ++ std::pair in_range(T begin, T end); ++ + /////////////////////////////////////////////////////////////////////////////// + // boost::foreach::tag +@@ -47,4 +52,22 @@ + } // namespace foreach + ++// Workaround for unfortunate https://svn.boost.org/trac/boost/ticket/6131 ++namespace BOOST_FOREACH ++{ ++ using foreach::in_range; ++ using foreach::tag; ++ ++ template ++ struct is_lightweight_proxy ++ : foreach::is_lightweight_proxy ++ {}; ++ ++ template ++ struct is_noncopyable ++ : foreach::is_noncopyable ++ {}; ++ ++} // namespace BOOST_FOREACH ++ + } // namespace boost + +Index: /trunk/boost/foreach.hpp +=================================================================== +--- /trunk/boost/foreach.hpp (revision 75077) ++++ /trunk/boost/foreach.hpp (revision 75540) +@@ -166,5 +166,5 @@ + // at the global namespace for your type. + template +-inline boost::foreach::is_lightweight_proxy * ++inline boost::BOOST_FOREACH::is_lightweight_proxy * + boost_foreach_is_lightweight_proxy(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } + +@@ -191,5 +191,5 @@ + // at the global namespace for your type. + template +-inline boost::foreach::is_noncopyable * ++inline boost::BOOST_FOREACH::is_noncopyable * + boost_foreach_is_noncopyable(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } + diff --git a/SOURCES/boost-1.50.0-long-double-1.patch b/SOURCES/boost-1.50.0-long-double-1.patch new file mode 100644 index 0000000..2574539 --- /dev/null +++ b/SOURCES/boost-1.50.0-long-double-1.patch @@ -0,0 +1,12 @@ +diff --git a/libs/math/config/has_long_double_support.cpp b/libs/math/config/has_long_double_support.cpp +index d314cf3..9022408 100644 +--- a/libs/math/config/has_long_double_support.cpp ++++ b/libs/math/config/has_long_double_support.cpp +@@ -8,3 +8,7 @@ + #ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS + #error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built." + #endif ++ ++int main(int argc, char *argv[]) { ++ return 0; ++} diff --git a/SOURCES/boost-1.50.0-pool.patch b/SOURCES/boost-1.50.0-pool.patch new file mode 100644 index 0000000..5154027 --- /dev/null +++ b/SOURCES/boost-1.50.0-pool.patch @@ -0,0 +1,122 @@ +Index: boost/pool/pool.hpp +=================================================================== +--- boost/pool/pool.hpp (revision 78317) ++++ boost/pool/pool.hpp (revision 78326) +@@ -27,4 +27,6 @@ + #include + ++// std::numeric_limits ++#include + // boost::math::static_lcm + #include +@@ -358,4 +360,13 @@ + } + ++ size_type max_chunks() const ++ { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. ++ size_type partition_size = alloc_size(); ++ size_type POD_size = math::static_lcm::value + sizeof(size_type); ++ size_type max_chunks = (std::numeric_limits::max() - POD_size) / alloc_size(); ++ ++ return max_chunks; ++ } ++ + static void * & nextof(void * const ptr) + { //! \returns Pointer dereferenced. +@@ -377,5 +388,7 @@ + //! the first time that object needs to allocate system memory. + //! The default is 32. This parameter may not be 0. +- //! \param nmax_size is the maximum number of chunks to allocate in one block. ++ //! \param nmax_size is the maximum number of chunks to allocate in one block. ++ set_next_size(nnext_size); ++ set_max_size(nmax_size); + } + +@@ -400,7 +413,7 @@ + } + void set_next_size(const size_type nnext_size) +- { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. +- //! \returns nnext_size. +- next_size = start_size = nnext_size; ++ { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. ++ BOOST_USING_STD_MIN(); ++ next_size = start_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks()); + } + size_type get_max_size() const +@@ -410,5 +423,6 @@ + void set_max_size(const size_type nmax_size) + { //! Set max_size. +- max_size = nmax_size; ++ BOOST_USING_STD_MIN(); ++ max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, max_chunks()); + } + size_type get_requested_size() const +@@ -713,7 +727,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // initialize it, +@@ -753,7 +767,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // initialize it, +@@ -797,4 +811,6 @@ + //! \returns Address of chunk n if allocated ok. + //! \returns 0 if not enough memory for n chunks. ++ if (n > max_chunks()) ++ return 0; + + const size_type partition_size = alloc_size(); +@@ -845,7 +861,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // insert it into the list, +Index: libs/pool/test/test_bug_6701.cpp +=================================================================== +--- libs/pool/test/test_bug_6701.cpp (revision 78326) ++++ libs/pool/test/test_bug_6701.cpp (revision 78326) +@@ -0,0 +1,27 @@ ++/* Copyright (C) 2012 Étienne Dupuis ++* ++* Use, modification and distribution is subject to the ++* Boost Software License, Version 1.0. (See accompanying ++* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) ++*/ ++ ++// Test of bug #6701 (https://svn.boost.org/trac/boost/ticket/6701) ++ ++#include ++#include ++ ++int main() ++{ ++ boost::pool<> p(1024, std::numeric_limits::max() / 768); ++ ++ void *x = p.malloc(); ++ BOOST_ASSERT(!x); ++ ++ BOOST_ASSERT(std::numeric_limits::max() / 1024 >= p.get_next_size()); ++ BOOST_ASSERT(std::numeric_limits::max() / 1024 >= p.get_max_size()); ++ ++ void *y = p.ordered_malloc(std::numeric_limits::max() / 768); ++ BOOST_ASSERT(!y); ++ ++ return 0; ++} diff --git a/SOURCES/boost-1.53-joinable.patch b/SOURCES/boost-1.53-joinable.patch new file mode 100644 index 0000000..224f098 --- /dev/null +++ b/SOURCES/boost-1.53-joinable.patch @@ -0,0 +1,16 @@ +Index: boost/thread/scoped_thread.hpp +=================================================================== +--- boost/thread/scoped_thread.hpp (revision 83938) ++++ boost/thread/scoped_thread.hpp (working copy) +@@ -171,6 +171,11 @@ + t_.detach(); + } + ++ bool joinable() const BOOST_NOEXCEPT ++ { ++ return t_.joinable(); ++ } ++ + void join() + { + t_.join(); diff --git a/SOURCES/boost-1.53-spirit-lexer.patch b/SOURCES/boost-1.53-spirit-lexer.patch new file mode 100644 index 0000000..e963913 --- /dev/null +++ b/SOURCES/boost-1.53-spirit-lexer.patch @@ -0,0 +1,82 @@ +From 2b4c331e70f1f8eaae33537df12c5744dd8e8b09 Mon Sep 17 00:00:00 2001 +From: Hartmut Kaiser +Date: Sat, 16 Mar 2013 14:39:51 +0000 +Subject: [PATCH] Fix #8291: Lexer fails to work on ARM + +[SVN r83462] +--- + include/boost/spirit/home/support/detail/lexer/generator.hpp | 3 ++- + include/boost/spirit/home/support/detail/lexer/string_token.hpp | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/include/boost/spirit/home/support/detail/lexer/generator.hpp b/include/boost/spirit/home/support/detail/lexer/generator.hpp +index 49bea2f..9541f6f 100644 +--- a/include/boost/spirit/home/support/detail/lexer/generator.hpp ++++ b/include/boost/spirit/home/support/detail/lexer/generator.hpp +@@ -12,6 +12,7 @@ + #include "partition/charset.hpp" + #include "partition/equivset.hpp" + #include ++#include + #include "parser/tree/node.hpp" + #include "parser/parser.hpp" + #include "containers/ptr_list.hpp" +@@ -560,7 +561,7 @@ class basic_generator + + if (token_._negated) + { +- CharT curr_char_ = sizeof (CharT) == 1 ? -128 : 0; ++ CharT curr_char_ = (std::numeric_limits::min)(); + std::size_t i_ = 0; + + while (curr_ < chars_end_) +diff --git a/include/boost/spirit/home/support/detail/lexer/string_token.hpp b/include/boost/spirit/home/support/detail/lexer/string_token.hpp +index 6bfa6ff..e972a95 100644 +--- a/include/boost/spirit/home/support/detail/lexer/string_token.hpp ++++ b/include/boost/spirit/home/support/detail/lexer/string_token.hpp +@@ -10,6 +10,7 @@ + #include "size_t.hpp" + #include "consts.hpp" // num_chars, num_wchar_ts + #include ++#include + + namespace boost + { +@@ -71,7 +72,7 @@ struct basic_string_token + { + const std::size_t max_chars_ = sizeof (CharT) == 1 ? + num_chars : num_wchar_ts; +- CharT curr_char_ = sizeof (CharT) == 1 ? -128 : 0; ++ CharT curr_char_ = (std::numeric_limits::min)(); + string temp_; + const CharT *curr_ = _charset.c_str (); + const CharT *chars_end_ = curr_ + _charset.size (); + +From c480d6c7fcadf3cb5fbaad756ac370275a75e601 Mon Sep 17 00:00:00 2001 +From: Joel de Guzman +Date: Sat, 19 Jul 2014 08:12:53 +0800 +Subject: [PATCH] workaround for lexertl bug on platforms where wchar_t is + signed (can be negative). + +--- + include/boost/spirit/home/support/detail/lexer/generator.hpp | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/include/boost/spirit/home/support/detail/lexer/generator.hpp b/include/boost/spirit/home/support/detail/lexer/generator.hpp +index a3b7290..daa06e7 100644 +--- a/include/boost/spirit/home/support/detail/lexer/generator.hpp ++++ b/include/boost/spirit/home/support/detail/lexer/generator.hpp +@@ -561,7 +561,12 @@ class basic_generator + + if (token_._negated) + { +- CharT curr_char_ = (std::numeric_limits::min)(); ++ // $$$ FIXME JDG July 2014 $$$ ++ // this code is problematic on platforms where wchar_t is signed ++ // with min generating negative numbers. This crashes with BAD_ACCESS ++ // because of the vector index below: ++ // ptr_[static_cast(curr_char_)] ++ CharT curr_char_ = 0; // (std::numeric_limits::min)(); + std::size_t i_ = 0; + + while (curr_ < chars_end_) diff --git a/SOURCES/boost-1.53.0-attribute.patch b/SOURCES/boost-1.53.0-attribute.patch new file mode 100644 index 0000000..e17f9e7 --- /dev/null +++ b/SOURCES/boost-1.53.0-attribute.patch @@ -0,0 +1,57 @@ +diff -urp boost_1_48_0~/boost/config/compiler/gcc.hpp boost_1_48_0/boost/config/compiler/gcc.hpp +--- boost_1_48_0~/boost/config/compiler/gcc.hpp 2012-01-16 16:15:14.643239525 +0100 ++++ boost_1_48_0/boost/config/compiler/gcc.hpp 2012-01-16 16:21:24.072247987 +0100 +@@ -120,13 +120,13 @@ + // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, + // so does not define _WIN32 or its variants. + # define BOOST_HAS_DECLSPEC +-# define BOOST_SYMBOL_EXPORT __attribute__((dllexport)) +-# define BOOST_SYMBOL_IMPORT __attribute__((dllimport)) ++# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__)) ++# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__)) + # else +-# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) ++# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default"))) + # define BOOST_SYMBOL_IMPORT + # endif +-# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) ++# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) + #else + // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined + # define BOOST_SYMBOL_EXPORT +diff -urp boost_1_48_0~/boost/gil/gil_config.hpp boost_1_48_0/boost/gil/gil_config.hpp +--- boost_1_48_0~/boost/gil/gil_config.hpp 2012-01-16 16:15:29.883239865 +0100 ++++ boost_1_48_0/boost/gil/gil_config.hpp 2012-01-16 16:17:49.096243036 +0100 +@@ -32,7 +32,7 @@ + #if defined(_MSC_VER) + # define GIL_FORCEINLINE __forceinline + #elif defined(__GNUC__) && __GNUC__ > 3 +-# define GIL_FORCEINLINE inline __attribute__ ((always_inline)) ++# define GIL_FORCEINLINE inline __attribute__ ((__always_inline__)) + #else + # define GIL_FORCEINLINE inline + #endif +diff -urp boost_1_48_0~/boost/optional/optional.hpp boost_1_48_0/boost/optional/optional.hpp +--- boost_1_48_0~/boost/optional/optional.hpp 2012-01-16 16:15:29.743239804 +0100 ++++ boost_1_48_0/boost/optional/optional.hpp 2012-01-16 16:17:47.488242994 +0100 +@@ -127,7 +127,7 @@ class aligned_storage + union + // This works around GCC warnings about breaking strict aliasing rules when casting storage address to T* + #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS) +- __attribute__((may_alias)) ++ __attribute__((__may_alias__)) + #endif + dummy_u + { +diff -up /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp\~ /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp +--- boost_1_53_0/boost/random/detail/integer_log2.hpp~ 2013-01-25 18:06:07.000000000 +0100 ++++ boost_1_53_0/boost/random/detail/integer_log2.hpp 2013-02-07 17:37:53.000000000 +0100 +@@ -27,7 +27,7 @@ namespace detail { + #elif defined(BOOST_MSVC) + #define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline + #elif defined(__GNUC__) && __GNUC__ >= 4 +-#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((const)) __attribute__((always_inline)) ++#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((__const__)) __attribute__((__always_inline__)) + #else + #define BOOST_RANDOM_DETAIL_CONSTEXPR inline + #endif diff --git a/SOURCES/boost-1.53.0-buildflags.patch b/SOURCES/boost-1.53.0-buildflags.patch new file mode 100644 index 0000000..09ed10a --- /dev/null +++ b/SOURCES/boost-1.53.0-buildflags.patch @@ -0,0 +1,30 @@ +diff -up boost_1_53_0/tools/build/v2/tools/gcc.jam\~ boost_1_53_0/tools/build/v2/tools/gcc.jam +--- boost_1_53_0/tools/build/v2/tools/gcc.jam~ 2012-04-26 05:35:55.000000000 +0200 ++++ boost_1_53_0/tools/build/v2/tools/gcc.jam 2014-02-28 16:32:22.575212631 +0100 +@@ -363,24 +363,6 @@ generators.override gcc.compile.c++.pch + + toolset.flags gcc.compile PCH_FILE on : ; + +-# Declare flags and action for compilation. +-toolset.flags gcc.compile OPTIONS off : -O0 ; +-toolset.flags gcc.compile OPTIONS speed : -O3 ; +-toolset.flags gcc.compile OPTIONS space : -Os ; +- +-toolset.flags gcc.compile OPTIONS off : -fno-inline ; +-toolset.flags gcc.compile OPTIONS on : -Wno-inline ; +-toolset.flags gcc.compile OPTIONS full : -finline-functions -Wno-inline ; +- +-toolset.flags gcc.compile OPTIONS off : -w ; +-toolset.flags gcc.compile OPTIONS on : -Wall ; +-toolset.flags gcc.compile OPTIONS all : -Wall -pedantic ; +-toolset.flags gcc.compile OPTIONS on : -Werror ; +- +-toolset.flags gcc.compile OPTIONS on : -g ; +-toolset.flags gcc.compile OPTIONS on : -pg ; +-toolset.flags gcc.compile OPTIONS off : -fno-rtti ; +- + rule setup-fpic ( targets * : sources * : properties * ) + { + local link = [ feature.get-values link : $(properties) ] ; + +Diff finished. Fri Feb 28 16:32:24 2014 diff --git a/SOURCES/boost-1.53.0-context.patch b/SOURCES/boost-1.53.0-context.patch new file mode 100644 index 0000000..2f80f07 --- /dev/null +++ b/SOURCES/boost-1.53.0-context.patch @@ -0,0 +1,66 @@ +--- boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S.orig 2013-02-11 14:03:46.631005713 -0600 ++++ boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S 2013-02-11 14:06:52.704815403 -0600 +@@ -78,7 +78,7 @@ + + # call align_stack, R3 contains address at 16 byte boundary after return + # == pointer to fcontext_t and address of context stack +- rlwinm %r3, %r3, 0, 0, 27 ++ clrrwi %r3, %r3, 4 + + stw %r0, 92(%r3) # save address of context stack (base) in fcontext_t + stw %r4, 96(%r3) # save context stack size in fcontext_t +@@ -87,12 +87,10 @@ + subi %r0, %r3, 64 # reserve 64 bytes (linkage + parameter area), R4 % 16 == 0 + stw %r0, 76(%r3) # save address in R3 as stack pointer for context function + +- mflr %r0 # load LR + bl 1f # jump to label 1 + 1: + mflr %r4 # load LR into R4 + addi %r4, %r4, finish - 1b # compute abs address of label finish +- mtlr %r0 # restore LR + stw %r4, 84(%r3) # save address of finish as return address for context function + # entered after context function returns + +@@ -108,4 +106,5 @@ + + li %r3, 0 # exit code is zero + bl _exit@plt # exit application ++ .long 0 # We should never get here, so SIGILL if we do + .size make_fcontext, .-make_fcontext + +--- boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S.orig 2013-02-11 14:03:43.726849715 -0600 ++++ boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S 2013-02-11 14:22:48.202839078 -0600 +@@ -99,21 +99,19 @@ + + # call align_stack, R3 contains address at 16 byte boundary after return + # == pointer to fcontext_t and address of context stack +- rlwinm %r3, %r3, 0, 0, 59 ++ clrrdi %r3, %r3, 4 + + std %r0, 184(%r3) # save address of context stack (base) in fcontext_t + std %r4, 192(%r3) # save context stack size in fcontext_t + std %r5, 176(%r3) # save address of context function in fcontext_t + +- subf %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers) ++ subi %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers) + std %r0, 152(%r3) # save the stack base + +- mflr %r0 # load LR + bl 1f # jump to label 1 + 1: + mflr %r4 # load LR into R4 + addi %r4, %r4, finish - 1b # compute abs address of label finish +- mtlr %r0 # restore LR + std %r4, 168(%r3) # save address of finish as return address for context function + # entered after context function returns + +@@ -128,5 +126,7 @@ + stwu %r1, -32(%r1) # allocate stack space, SP % 16 == 0 + + li %r3, 0 # set return value to zero +- bl _exit@plt # exit application ++ bl _exit # exit application ++ nop # nop is required by the linker ++ .long 0 # We should never get here, so SIGILL if we do + .size .make_fcontext, .-.make_fcontext diff --git a/SOURCES/boost-1.53.0-fpclassify-unused_typedef.patch b/SOURCES/boost-1.53.0-fpclassify-unused_typedef.patch new file mode 100644 index 0000000..dddd3a8 --- /dev/null +++ b/SOURCES/boost-1.53.0-fpclassify-unused_typedef.patch @@ -0,0 +1,80 @@ +diff -up boost_1_53_0/boost/math/special_functions/sign.hpp\~ boost_1_53_0/boost/math/special_functions/sign.hpp +--- boost_1_53_0/boost/math/special_functions/sign.hpp~ 2011-05-17 14:19:17.000000000 +0200 ++++ boost_1_53_0/boost/math/special_functions/sign.hpp 2013-07-22 23:24:39.751342557 +0200 +@@ -110,7 +110,6 @@ template int (signbit)(T x) + { + typedef typename detail::fp_traits::type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + return detail::signbit_impl(x, method()); + } + +@@ -124,7 +123,6 @@ template T (changesign)(const T + { //!< \brief return unchanged binary pattern of x, except for change of sign bit. + typedef typename detail::fp_traits::sign_change_type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + + return detail::changesign_impl(x, method()); + } +diff -up boost_1_53_0/boost/math/special_functions/fpclassify.hpp~ boost_1_53_0/boost/math/special_functions/fpclassify.hpp +--- boost_1_53_0/boost/math/special_functions/fpclassify.hpp~ 2012-12-12 19:17:22.000000000 +0100 ++++ boost_1_53_0/boost/math/special_functions/fpclassify.hpp 2013-07-22 12:07:59.478713488 +0200 +@@ -327,7 +327,6 @@ inline bool (isfinite)(T x) + { //!< \brief return true if floating-point type t is finite. + typedef typename detail::fp_traits::type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + typedef typename tools::promote_args::type value_type; + return detail::isfinite_impl(static_cast(x), method()); + } +@@ -338,7 +338,6 @@ 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 long double value_type; + return detail::isfinite_impl(static_cast(x), method()); + } +@@ -398,7 +397,6 @@ inline bool (isnormal)(T x) + { + typedef typename detail::fp_traits::type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + typedef typename tools::promote_args::type value_type; + return detail::isnormal_impl(static_cast(x), method()); + } +@@ -409,7 +408,6 @@ 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 long double value_type; + return detail::isnormal_impl(static_cast(x), method()); + } +@@ -487,7 +485,6 @@ inline bool (isinf)(T x) + { + typedef typename detail::fp_traits::type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + typedef typename tools::promote_args::type value_type; + return detail::isinf_impl(static_cast(x), method()); + } +@@ -498,7 +496,6 @@ 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 long double value_type; + return detail::isinf_impl(static_cast(x), method()); + } +@@ -570,7 +567,6 @@ inline bool (isnan)(T x) + { //!< \brief return true if floating-point type t is NaN (Not A Number). + typedef typename detail::fp_traits::type traits; + typedef typename traits::method method; +- typedef typename boost::is_floating_point::type fp_tag; + return detail::isnan_impl(x, method()); + } + + +Diff finished. Mon Jul 22 12:09:24 2013 diff --git a/SOURCES/boost-1.53.0-graph-unused_typedef.patch b/SOURCES/boost-1.53.0-graph-unused_typedef.patch new file mode 100644 index 0000000..697714f --- /dev/null +++ b/SOURCES/boost-1.53.0-graph-unused_typedef.patch @@ -0,0 +1,130 @@ +diff -urp boost_1_54_0-orig/boost/graph/breadth_first_search.hpp boost_1_54_0/boost/graph/breadth_first_search.hpp +--- boost_1_54_0-orig/boost/graph/breadth_first_search.hpp 2013-07-23 00:47:43.418886551 +0200 ++++ boost_1_54_0/boost/graph/breadth_first_search.hpp 2013-07-23 00:50:40.339958756 +0200 +@@ -64,7 +64,6 @@ namespace boost { + BOOST_CONCEPT_ASSERT(( IncidenceGraphConcept )); + typedef graph_traits GTraits; + typedef typename GTraits::vertex_descriptor Vertex; +- typedef typename GTraits::edge_descriptor Edge; + BOOST_CONCEPT_ASSERT(( BFSVisitorConcept )); + BOOST_CONCEPT_ASSERT(( ReadWritePropertyMapConcept )); + typedef typename property_traits::value_type ColorValue; +diff -urp boost_1_53_0-orig/boost/graph/compressed_sparse_row_graph.hpp boost_1_53_0/boost/graph/compressed_sparse_row_graph.hpp +--- boost_1_53_0-orig/boost/graph/compressed_sparse_row_graph.hpp 2013-07-23 01:32:19.273266030 +0200 ++++ boost_1_53_0/boost/graph/compressed_sparse_row_graph.hpp 2013-07-23 01:34:15.202970721 +0200 +@@ -642,8 +642,6 @@ class compressed_sparse_row_graph::vertex_descriptor vertex_t; +- typedef typename boost::graph_traits::vertices_size_type vertex_num; +- typedef typename boost::graph_traits::edges_size_type edge_num; + typedef std::vector > edge_vector_t; + edge_vector_t new_edges(first, last); + if (new_edges.empty()) return; +@@ -666,8 +664,6 @@ class compressed_sparse_row_graph::vertex_descriptor vertex_t; +- typedef typename boost::graph_traits::vertices_size_type vertex_num; +- typedef typename boost::graph_traits::edges_size_type edge_num; + typedef std::pair vertex_pair; + typedef std::vector< + boost::tuple + in_edges(Vertex v, const BOOST_BIDIR_CSR_GRAPH_TYPE& g) + { +- typedef typename BOOST_BIDIR_CSR_GRAPH_TYPE::edge_descriptor ed; + typedef typename BOOST_BIDIR_CSR_GRAPH_TYPE::in_edge_iterator it; + EdgeIndex v_row_start = g.m_backward.m_rowstart[v]; + EdgeIndex next_row_start = g.m_backward.m_rowstart[v + 1]; +@@ -1368,7 +1363,6 @@ put(Tag tag, + typename property_map::key_type k, + typename lookup_one_property::plist_type, Tag>::type val) { + typedef typename property_map::all_tag all_tag; +- typedef typename property_map::type outer_pm; + lookup_one_property::plist_type, Tag>::lookup(get(all_tag(), g, k), tag) = val; + } + +diff -urp boost_1_53_0-orig/boost/graph/detail/adjacency_list.hpp boost_1_53_0/boost/graph/detail/adjacency_list.hpp +--- boost_1_53_0-orig/boost/graph/detail/adjacency_list.hpp 2013-07-23 01:32:19.390266741 +0200 ++++ boost_1_53_0/boost/graph/detail/adjacency_list.hpp 2013-07-23 01:34:15.275971164 +0200 +@@ -634,7 +634,6 @@ namespace boost { + directed_graph_helper& g_) + { + typedef typename Config::graph_type graph_type; +- typedef typename Config::edge_parallel_category Cat; + graph_type& g = static_cast(g_); + g.out_edge_list(u).clear(); + // clear() should be a req of Sequence and AssociativeContainer, +@@ -781,7 +780,6 @@ namespace boost { + typedef typename Graph::global_edgelist_selector EdgeListS; + BOOST_STATIC_ASSERT((!is_same::value)); + +- typedef typename EdgeList::value_type StoredEdge; + typename EdgeList::iterator i = el.begin(), end = el.end(); + for (; i != end; ++i) { + if ((*i).get_target() == v) { +@@ -986,7 +984,6 @@ namespace boost { + BOOST_STATIC_ASSERT((!is_same::value)); + + typedef typename Config::graph_type graph_type; +- typedef typename Config::edge_parallel_category Cat; + graph_type& g = static_cast(g_); + while (true) { + typename Config::out_edge_iterator ei, ei_end; +@@ -1588,7 +1585,6 @@ namespace boost { + typedef typename Config::graph_type Graph; + typedef typename Config::StoredEdge StoredEdge; + const Graph& cg = static_cast(g_); +- typedef typename Config::out_edge_iterator out_edge_iterator; + const typename Config::OutEdgeList& el = cg.out_edge_list(u); + typename Config::OutEdgeList::const_iterator it = graph_detail:: + find(el, StoredEdge(v)); +diff -urp boost_1_53_0-orig/boost/graph/detail/compressed_sparse_row_struct.hpp boost_1_53_0/boost/graph/detail/compressed_sparse_row_struct.hpp +--- boost_1_53_0-orig/boost/graph/detail/compressed_sparse_row_struct.hpp 2013-07-23 01:32:19.395266772 +0200 ++++ boost_1_53_0/boost/graph/detail/compressed_sparse_row_struct.hpp 2013-07-23 01:34:15.278971182 +0200 +@@ -218,8 +218,6 @@ namespace detail { + // the user has supplied the number of edges. + edges_size_type numedges = numedges_or_zero; + if (numedges == 0) { +- typedef typename std::iterator_traits::iterator_category +- category; + numedges = boost::graph::detail::reserve_count_for_single_pass(edge_begin, edge_end); + } + m_column.clear(); +@@ -313,7 +311,6 @@ namespace detail { + inherited_edge_properties::resize(numedges); + EdgeIndex current_edge = 0; + typedef typename boost::graph_traits::vertex_descriptor g_vertex; +- typedef typename boost::graph_traits::edge_descriptor g_edge; + typedef typename boost::graph_traits::out_edge_iterator + g_out_edge_iter; + +@@ -347,7 +344,6 @@ namespace detail { + // Flip sequence + BidirectionalIterator first(last_sorted); + BidirectionalIterator last(first_sorted); +- typedef Vertex vertex_t; + typedef Vertex vertex_num; + typedef EdgeIndex edge_num; + edge_num new_edge_count = std::distance(first, last); +diff -urp boost_1_53_0-orig/boost/graph/detail/histogram_sort.hpp boost_1_53_0/boost/graph/detail/histogram_sort.hpp +--- boost_1_53_0-orig/boost/graph/detail/histogram_sort.hpp 2013-07-23 01:32:19.364266583 +0200 ++++ boost_1_53_0/boost/graph/detail/histogram_sort.hpp 2013-07-23 01:34:15.279971188 +0200 +@@ -159,7 +159,6 @@ histogram_sort_inplace(KeyIterator key_b + Value1Iter values1, + KeyTransform key_transform) { + +- typedef NumKeys vertices_size_type; + typedef typename std::iterator_traits::value_type EdgeIndex; + + // 1. Copy m_rowstart (except last element) to get insert positions +@@ -194,7 +193,6 @@ histogram_sort_inplace(KeyIterator key_b + Value2Iter values2, + KeyTransform key_transform) { + +- typedef NumKeys vertices_size_type; + typedef typename std::iterator_traits::value_type EdgeIndex; + + // 1. Copy m_rowstart (except last element) to get insert positions diff --git a/SOURCES/boost-1.53.0-lexical_cast-unused_typedef.patch b/SOURCES/boost-1.53.0-lexical_cast-unused_typedef.patch new file mode 100644 index 0000000..a93c0ee --- /dev/null +++ b/SOURCES/boost-1.53.0-lexical_cast-unused_typedef.patch @@ -0,0 +1,13 @@ +diff -up boost_1_53_0/boost/lexical_cast.hpp\~ boost_1_53_0/boost/lexical_cast.hpp +--- boost_1_53_0/boost/lexical_cast.hpp~ 2012-12-29 15:41:23.000000000 +0100 ++++ boost_1_53_0/boost/lexical_cast.hpp 2013-07-22 23:27:48.841566845 +0200 +@@ -865,7 +865,6 @@ namespace boost { + #ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS + BOOST_STATIC_ASSERT(!std::numeric_limits::is_signed); + #endif +- typedef typename Traits::int_type int_type; + CharT const czero = lcast_char_constants::zero; + --end; + value = 0; + +Diff finished. Mon Jul 22 23:28:02 2013 diff --git a/SOURCES/boost-1.53.0-lexical_cast.patch b/SOURCES/boost-1.53.0-lexical_cast.patch new file mode 100644 index 0000000..245f47f --- /dev/null +++ b/SOURCES/boost-1.53.0-lexical_cast.patch @@ -0,0 +1,67 @@ +diff -up boost_1_53_0/boost/lexical_cast.hpp\~ boost_1_53_0/boost/lexical_cast.hpp +--- /boost_1_53_0/boost/lexical_cast.hpp~ 2014-09-15 15:36:36.915684568 +0200 ++++ /boost_1_53_0/boost/lexical_cast.hpp 2014-09-15 15:43:54.086756641 +0200 +@@ -2404,16 +2404,57 @@ namespace boost { + return caster_type::lexical_cast_impl(arg); + } + +- template +- inline Target lexical_cast(const CharType* chars, std::size_t count) ++ template ++ inline Target lexical_cast(const char* chars, std::size_t count) ++ { ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) ++ ); ++ } ++ ++ template ++ inline Target lexical_cast(const unsigned char* chars, std::size_t count) + { +- BOOST_STATIC_ASSERT_MSG(boost::detail::is_char_or_wchar::value, +- "CharType must be a character or wide character type"); ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) ++ ); ++ } + +- return boost::lexical_cast( +- boost::iterator_range(chars, chars + count) ++ template ++ inline Target lexical_cast(const signed char* chars, std::size_t count) ++ { ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) ++ ); ++ } ++ ++#ifndef BOOST_LCAST_NO_WCHAR_T ++ template ++ inline Target lexical_cast(const wchar_t* chars, std::size_t count) ++ { ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) + ); + } ++#endif ++#ifndef BOOST_NO_CHAR16_T ++ template ++ inline Target lexical_cast(const char16_t* chars, std::size_t count) ++ { ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) ++ ); ++ } ++#endif ++#ifndef BOOST_NO_CHAR32_T ++ template ++ inline Target lexical_cast(const char32_t* chars, std::size_t count) ++ { ++ return ::boost::lexical_cast( ++ ::boost::iterator_range(chars, chars + count) ++ ); ++ } ++#endif + + } // namespace boost + diff --git a/SOURCES/boost-1.53.0-math-unused_typedef-3.patch b/SOURCES/boost-1.53.0-math-unused_typedef-3.patch new file mode 100644 index 0000000..f8b4854 --- /dev/null +++ b/SOURCES/boost-1.53.0-math-unused_typedef-3.patch @@ -0,0 +1,46 @@ +diff -urp boost_1_53_0-orig/boost/math/special_functions/detail/igamma_inverse.hpp boost_1_53_0/boost/math/special_functions/detail/igamma_inverse.hpp +--- boost_1_53_0-orig/boost/math/special_functions/detail/igamma_inverse.hpp 2013-07-23 01:32:21.874281840 +0200 ++++ boost_1_53_0/boost/math/special_functions/detail/igamma_inverse.hpp 2013-07-23 01:34:15.291971260 +0200 +@@ -341,7 +341,6 @@ struct gamma_p_inverse_func + // flag is set, then Q(x) - q and it's derivatives. + // + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +diff -urp boost_1_53_0-orig/boost/math/special_functions/gamma.hpp boost_1_53_0/boost/math/special_functions/gamma.hpp +--- boost_1_53_0-orig/boost/math/special_functions/gamma.hpp 2013-07-23 01:32:21.824281537 +0200 ++++ boost_1_53_0/boost/math/special_functions/gamma.hpp 2013-07-23 01:34:15.322971451 +0200 +@@ -1360,7 +1360,6 @@ inline typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +@@ -1489,7 +1488,6 @@ inline typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +@@ -1520,7 +1518,6 @@ inline typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +@@ -1551,7 +1548,6 @@ inline typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, diff --git a/SOURCES/boost-1.53.0-mpi-version_type.patch b/SOURCES/boost-1.53.0-mpi-version_type.patch new file mode 100644 index 0000000..7a62f06 --- /dev/null +++ b/SOURCES/boost-1.53.0-mpi-version_type.patch @@ -0,0 +1,23 @@ +diff -up boost_1_53_0/boost/mpi/datatype.hpp\~ boost_1_53_0/boost/mpi/datatype.hpp +--- boost_1_53_0/boost/mpi/datatype.hpp~ 2010-10-18 08:22:09.000000000 +0200 ++++ boost_1_53_0/boost/mpi/datatype.hpp 2014-02-19 03:14:48.564100698 +0100 +@@ -332,7 +332,7 @@ struct is_mpi_datatype + #ifndef BOOST_MPI_DOXYGEN + // direct support for special primitive data types of the serialization library + BOOST_MPI_DATATYPE(boost::archive::library_version_type, get_mpi_datatype(uint_least16_t()), integer); +-BOOST_MPI_DATATYPE(boost::archive::version_type, get_mpi_datatype(uint_least8_t()), integer); ++BOOST_MPI_DATATYPE(boost::archive::version_type, get_mpi_datatype(uint_least32_t()), integer); + BOOST_MPI_DATATYPE(boost::archive::class_id_type, get_mpi_datatype(int_least16_t()), integer); + BOOST_MPI_DATATYPE(boost::archive::class_id_reference_type, get_mpi_datatype(int_least16_t()), integer); + BOOST_MPI_DATATYPE(boost::archive::class_id_optional_type, get_mpi_datatype(int_least16_t()), integer); +@@ -340,7 +340,7 @@ BOOST_MPI_DATATYPE(boost::archive::objec + BOOST_MPI_DATATYPE(boost::archive::object_reference_type, get_mpi_datatype(uint_least32_t()), integer); + BOOST_MPI_DATATYPE(boost::archive::tracking_type, get_mpi_datatype(bool()), builtin); + BOOST_MPI_DATATYPE(boost::serialization::collection_size_type, get_mpi_datatype(std::size_t()), integer); +-BOOST_MPI_DATATYPE(boost::serialization::item_version_type, get_mpi_datatype(uint_least8_t()), integer); ++BOOST_MPI_DATATYPE(boost::serialization::item_version_type, get_mpi_datatype(unsigned()), integer); + #endif // Doxygen + + + +Diff finished. Wed Feb 19 03:14:54 2014 diff --git a/SOURCES/boost-1.53.0-no-rpath.patch b/SOURCES/boost-1.53.0-no-rpath.patch new file mode 100644 index 0000000..5b5e482 --- /dev/null +++ b/SOURCES/boost-1.53.0-no-rpath.patch @@ -0,0 +1,11 @@ +--- boost_1_53_0/tools/build/v2/tools/gcc.jam.rpath 2016-06-10 13:56:13.554723863 +0100 ++++ boost_1_53_0/tools/build/v2/tools/gcc.jam 2016-06-10 13:56:40.027816092 +0100 +@@ -937,7 +937,7 @@ + + actions link bind LIBRARIES + { +- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" $(START-GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) ++ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -o "$(<)" $(START-GROUP) "$(>)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) + + } + diff --git a/SOURCES/boost-1.53.0-no-ssl3.patch b/SOURCES/boost-1.53.0-no-ssl3.patch new file mode 100644 index 0000000..d3faf9d --- /dev/null +++ b/SOURCES/boost-1.53.0-no-ssl3.patch @@ -0,0 +1,25 @@ +--- boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp 2012-12-30 15:17:13.000000000 -0800 ++++ boost_1_53_0.dist/boost/asio/ssl/impl/context.ipp 2016-01-12 16:15:45.178958712 -0800 +@@ -57,6 +57,14 @@ + handle_ = ::SSL_CTX_new(::SSLv2_server_method()); + break; + #endif // defined(OPENSSL_NO_SSL2) ++#if defined(OPENSSL_NO_SSL3) ++ case context::sslv3: ++ case context::sslv3_client: ++ case context::sslv3_server: ++ boost::asio::detail::throw_error( ++ boost::asio::error::invalid_argument, "context"); ++ break; ++#else // defined(OPENSSL_NO_SSL3) + case context::sslv3: + handle_ = ::SSL_CTX_new(::SSLv3_method()); + break; +@@ -66,6 +74,7 @@ + case context::sslv3_server: + handle_ = ::SSL_CTX_new(::SSLv3_server_method()); + break; ++#endif // defined(OPENSSL_NO_SSL3) + case context::tlsv1: + handle_ = ::SSL_CTX_new(::TLSv1_method()); + break; diff --git a/SOURCES/boost-1.53.0-python-abi_letters.patch b/SOURCES/boost-1.53.0-python-abi_letters.patch new file mode 100644 index 0000000..cca97d1 --- /dev/null +++ b/SOURCES/boost-1.53.0-python-abi_letters.patch @@ -0,0 +1,62 @@ +--- boost_1_53_0/tools/build/v2/tools/python.jam.orig 2012-04-26 04:35:55.000000000 +0100 ++++ boost_1_53_0/tools/build/v2/tools/python.jam 2016-05-11 15:13:47.628380504 +0100 +@@ -95,7 +95,7 @@ feature.feature pythonpath : : free opti + # using python : 2.3 : /usr/local/bin/python ; + # + rule init ( version ? : cmd-or-prefix ? : includes * : libraries ? +- : condition * : extension-suffix ? ) ++ : condition * : extension-suffix ? : abi-letters ? ) + { + project.push-current $(.project) ; + +@@ -108,7 +108,7 @@ rule init ( version ? : cmd-or-prefix ? + } + } + +- configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ; ++ configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) : $(abi-letters) ; + + project.pop-current ; + } +@@ -662,7 +662,7 @@ local rule system-library-dependencies ( + + # Declare a target to represent Python's library. + # +-local rule declare-libpython-target ( version ? : requirements * ) ++local rule declare-libpython-target ( version ? : requirements * : abi-letters ? ) + { + # Compute the representation of Python version in the name of Python's + # library file. +@@ -686,13 +686,13 @@ local rule declare-libpython-target ( ve + } + + # Declare it. +- lib python.lib : : python$(lib-version) $(requirements) ; ++ lib python.lib : : python$(lib-version)$(abi-letters) $(requirements) ; + } + + + # Implementation of init. + local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? : +- condition * : extension-suffix ? ) ++ condition * : extension-suffix ? : abi-letters ? ) + { + local prefix ; + local exec-prefix ; +@@ -708,6 +708,7 @@ local rule configure ( version ? : cmd-o + extension-suffix ?= _d ; + } + extension-suffix ?= "" ; ++ abi-letters ?= "" ; + + # Normalize and dissect any version number. + local major-minor ; +@@ -931,7 +932,7 @@ local rule configure ( version ? : cmd-o + } + else + { +- declare-libpython-target $(version) : $(target-requirements) ; ++ declare-libpython-target $(version) : $(target-requirements) : $(abi-letters) ; + + # This is an evil hack. On, Windows, when Python is embedded, nothing + # seems to set up sys.path to include Python's standard library diff --git a/SOURCES/boost-1.53.0-python-libpython_dep.patch b/SOURCES/boost-1.53.0-python-libpython_dep.patch new file mode 100644 index 0000000..3b49c51 --- /dev/null +++ b/SOURCES/boost-1.53.0-python-libpython_dep.patch @@ -0,0 +1,11 @@ +--- boost_1_53_0/tools/build/v2/tools/python.jam.orig 2016-05-11 15:13:47.628380504 +0100 ++++ boost_1_53_0/tools/build/v2/tools/python.jam 2016-05-11 15:14:25.337485463 +0100 +@@ -996,7 +996,7 @@ local rule configure ( version ? : cmd-o + else + { + alias python_for_extensions +- : ++ : python + : $(target-requirements) + : + : $(usage-requirements) diff --git a/SOURCES/boost-1.53.0-python-test-PyImport_AppendInittab.patch b/SOURCES/boost-1.53.0-python-test-PyImport_AppendInittab.patch new file mode 100644 index 0000000..fdd8df0 --- /dev/null +++ b/SOURCES/boost-1.53.0-python-test-PyImport_AppendInittab.patch @@ -0,0 +1,98 @@ +diff -up boost_1_53_0/libs/python/test/exec.cpp\~ boost_1_53_0/libs/python/test/exec.cpp +--- boost_1_53_0/libs/python/test/exec.cpp~ 2010-07-05 00:38:38.000000000 +0200 ++++ boost_1_53_0/libs/python/test/exec.cpp 2015-01-09 21:31:12.903218280 +0100 +@@ -56,6 +56,20 @@ void eval_test() + BOOST_TEST(value == "ABCDEFG"); + } + ++struct PyCtx ++{ ++ PyCtx() { ++ Py_Initialize(); ++ } ++ ++ ~PyCtx() { ++ // N.B. certain problems may arise when Py_Finalize is called when ++ // using Boost.Python. However in this test suite it all seems to ++ // work fine. ++ Py_Finalize(); ++ } ++}; ++ + void exec_test() + { + // Register the module with the interpreter +@@ -68,6 +82,8 @@ void exec_test() + ) == -1) + throw std::runtime_error("Failed to add embedded_hello to the interpreter's " + "builtin modules"); ++ ++ PyCtx ctx; + // Retrieve the main module + python::object main = python::import("__main__"); + +@@ -148,41 +164,43 @@ void check_pyerr(bool pyerr_expected=fal + } + } + ++template ++bool ++run_and_handle_exception(Cb cb, bool pyerr_expected = false) ++{ ++ PyCtx ctx; ++ if (python::handle_exception(cb)) { ++ check_pyerr(pyerr_expected); ++ return true; ++ } else { ++ return false; ++ } ++} ++ + int main(int argc, char **argv) + { + BOOST_TEST(argc == 2 || argc == 3); + std::string script = argv[1]; +- // Initialize the interpreter +- Py_Initialize(); + +- if (python::handle_exception(eval_test)) { +- check_pyerr(); +- } +- else if(python::handle_exception(exec_test)) { +- check_pyerr(); +- } +- else if (python::handle_exception(boost::bind(exec_file_test, script))) { ++ // N.B. exec_test mustn't be called through run_and_handle_exception ++ // as it needs to handles the python context by itself. ++ if (run_and_handle_exception(eval_test) ++ || python::handle_exception(exec_test)) + check_pyerr(); +- } +- +- if (python::handle_exception(exec_test_error)) +- { +- check_pyerr(/*pyerr_expected*/ true); +- } + else +- { ++ run_and_handle_exception(boost::bind(exec_file_test, script)); ++ ++ if (!run_and_handle_exception(exec_test_error, true)) + BOOST_ERROR("Python exception expected, but not seen."); +- } + + if (argc > 2) { ++ PyCtx ctx; + // The main purpose is to test compilation. Since this test generates + // a file and I (rwgk) am uncertain about the side-effects, run it only + // if explicitly requested. + exercise_embedding_html(); + } + +- // Boost.Python doesn't support Py_Finalize yet. +- // Py_Finalize(); + return boost::report_errors(); + } + + +Diff finished. Fri Jan 9 21:31:13 2015 diff --git a/SOURCES/boost-1.53.0-regex-unused_typedef.patch b/SOURCES/boost-1.53.0-regex-unused_typedef.patch new file mode 100644 index 0000000..d10b476 --- /dev/null +++ b/SOURCES/boost-1.53.0-regex-unused_typedef.patch @@ -0,0 +1,65 @@ +diff -up ./boost/regex/icu.hpp~ ./boost/regex/icu.hpp +--- ./boost/regex/icu.hpp~ 2011-10-16 14:19:37.000000000 +0200 ++++ ./boost/regex/icu.hpp 2013-07-22 23:32:44.346321967 +0200 +@@ -423,7 +423,6 @@ bool do_regex_match(BidiIterator first, + { + typedef u16_to_u32_iterator conv_type; + typedef match_results match_type; +- typedef typename match_type::allocator_type alloc_type; + match_type what; + bool result = ::boost::regex_match(conv_type(first, first, last), conv_type(last, first, last), what, e, flags); + // copy results across to m: +@@ -439,7 +438,6 @@ bool do_regex_match(BidiIterator first, + { + typedef u8_to_u32_iterator conv_type; + typedef match_results match_type; +- typedef typename match_type::allocator_type alloc_type; + match_type what; + bool result = ::boost::regex_match(conv_type(first, first, last), conv_type(last, first, last), what, e, flags); + // copy results across to m: +@@ -598,7 +596,6 @@ bool do_regex_search(BidiIterator first, + { + typedef u16_to_u32_iterator conv_type; + typedef match_results match_type; +- typedef typename match_type::allocator_type alloc_type; + match_type what; + bool result = ::boost::regex_search(conv_type(first, first, last), conv_type(last, first, last), what, e, flags, conv_type(base)); + // copy results across to m: +@@ -615,7 +612,6 @@ bool do_regex_search(BidiIterator first, + { + typedef u8_to_u32_iterator conv_type; + typedef match_results match_type; +- typedef typename match_type::allocator_type alloc_type; + match_type what; + bool result = ::boost::regex_search(conv_type(first, first, last), conv_type(last, first, last), what, e, flags, conv_type(base)); + // copy results across to m: +diff -up ./boost/regex/v4/regex_format.hpp~ ./boost/regex/v4/regex_format.hpp +--- ./boost/regex/v4/regex_format.hpp~ 2012-05-24 12:03:48.000000000 +0200 ++++ ./boost/regex/v4/regex_format.hpp 2013-07-22 23:31:06.466740621 +0200 +@@ -1064,7 +1064,6 @@ struct format_functor_c_string + template + OutputIter operator()(const Match& m, OutputIter i, boost::regex_constants::match_flag_type f, const Traits& t = Traits()) + { +- typedef typename Match::char_type char_type; + const charT* end = func; + while(*end) ++end; + return regex_format_imp(i, m, func, end, f, t); +@@ -1083,7 +1082,6 @@ struct format_functor_container + template + OutputIter operator()(const Match& m, OutputIter i, boost::regex_constants::match_flag_type f, const Traits& t = Traits()) + { +- typedef typename Match::char_type char_type; + return re_detail::regex_format_imp(i, m, func.begin(), func.end(), f, t); + } + private: +diff -up ./boost/regex/v4/regex_split.hpp~ ./boost/regex/v4/regex_split.hpp +--- ./boost/regex/v4/regex_split.hpp~ 2007-11-25 19:07:19.000000000 +0100 ++++ ./boost/regex/v4/regex_split.hpp 2013-07-22 23:31:29.098875039 +0200 +@@ -107,7 +107,6 @@ std::size_t regex_split(OutputIterator o + std::size_t max_split) + { + typedef typename std::basic_string::const_iterator ci_t; +- typedef typename match_results::allocator_type match_allocator; + ci_t last = s.begin(); + std::size_t init_size = max_split; + re_detail::split_pred pred(&last, &out, &max_split); diff --git a/SOURCES/boost-1.53.0-static_assert-unused_typedef.patch b/SOURCES/boost-1.53.0-static_assert-unused_typedef.patch new file mode 100644 index 0000000..c4157d1 --- /dev/null +++ b/SOURCES/boost-1.53.0-static_assert-unused_typedef.patch @@ -0,0 +1,30 @@ +diff -up boost_1_53_0/boost/static_assert.hpp\~ boost_1_53_0/boost/static_assert.hpp +--- boost_1_53_0/boost/static_assert.hpp~ 2012-12-11 15:42:26.000000000 +0100 ++++ boost_1_53_0/boost/static_assert.hpp 2013-07-19 14:15:59.504039071 +0200 +@@ -43,6 +43,14 @@ + #else + # define BOOST_STATIC_ASSERT_BOOL_CAST(x) (bool)(x) + #endif ++// ++// If the compiler warns about unused typedefs then enable this: ++// ++#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) ++# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused)) ++#else ++# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE ++#endif + + #ifndef BOOST_NO_CXX11_STATIC_ASSERT + # define BOOST_STATIC_ASSERT( B ) static_assert(B, #B) +@@ -122,7 +130,8 @@ template struct static_assert_tes + #define BOOST_STATIC_ASSERT( B ) \ + typedef ::boost::static_assert_test<\ + sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( B ) >)>\ +- BOOST_JOIN(boost_static_assert_typedef_, __LINE__) ++ BOOST_JOIN(boost_static_assert_typedef_, __LINE__) \ ++ BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE + #endif + + #else + +Diff finished. Fri Jul 19 14:16:04 2013 diff --git a/SOURCES/boost-1.53.0-thread-unused_typedef.patch b/SOURCES/boost-1.53.0-thread-unused_typedef.patch new file mode 100644 index 0000000..3fd12c2 --- /dev/null +++ b/SOURCES/boost-1.53.0-thread-unused_typedef.patch @@ -0,0 +1,26 @@ +diff -up boost_1_53_0/boost/thread/future.hpp\~ boost_1_53_0/boost/thread/future.hpp +--- boost_1_53_0/boost/thread/future.hpp~ 2012-12-16 20:01:45.000000000 +0100 ++++ boost_1_53_0/boost/thread/future.hpp 2013-07-23 16:50:27.044995968 +0200 +@@ -2911,10 +2913,6 @@ namespace boost + { + typedef typename boost::result_of::type()>::type R; + typedef packaged_task packaged_task_type; +- +- typedef detail::async_func::type> BF; +- typedef typename BF::result_type Rp; +- + #endif + #else + template +@@ -2925,9 +2924,6 @@ namespace boost + { + typedef typename boost::result_of::type()>::type R; + typedef packaged_task packaged_task_type; +- +- typedef detail::async_func::type> BF; +- typedef typename BF::result_type Rp; + #endif + + if (int(policy) & int(launch::async)) + +Diff finished. Tue Jul 23 16:50:30 2013 diff --git a/SOURCES/boost-1.54.0-algorithm-unused_typedef.patch b/SOURCES/boost-1.54.0-algorithm-unused_typedef.patch new file mode 100644 index 0000000..6bc8fe1 --- /dev/null +++ b/SOURCES/boost-1.54.0-algorithm-unused_typedef.patch @@ -0,0 +1,43 @@ +diff -urp boost_1_54_0-orig/boost/algorithm/string/detail/finder.hpp boost_1_54_0/boost/algorithm/string/detail/finder.hpp +--- boost_1_54_0-orig/boost/algorithm/string/detail/finder.hpp 2013-07-23 00:47:43.933889672 +0200 ++++ boost_1_54_0/boost/algorithm/string/detail/finder.hpp 2013-07-23 00:50:40.324958667 +0200 +@@ -142,7 +142,6 @@ namespace boost { + ForwardIteratorT End, + std::forward_iterator_tag ) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + first_finder_type first_finder( +@@ -263,7 +262,6 @@ namespace boost { + ForwardIteratorT End, + unsigned int N) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + // Sanity check +@@ -298,7 +296,6 @@ namespace boost { + ForwardIteratorT End, + unsigned int N) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + // Sanity check +@@ -362,7 +359,6 @@ namespace boost { + unsigned int N, + std::random_access_iterator_tag ) + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + if ( (End<=Begin) || ( static_cast(End-Begin) < N ) ) +@@ -436,7 +432,6 @@ namespace boost { + unsigned int N, + std::random_access_iterator_tag ) + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + if ( (End<=Begin) || ( static_cast(End-Begin) < N ) ) diff --git a/SOURCES/boost-1.54.0-bind-static_assert.patch b/SOURCES/boost-1.54.0-bind-static_assert.patch new file mode 100644 index 0000000..bd1800e --- /dev/null +++ b/SOURCES/boost-1.54.0-bind-static_assert.patch @@ -0,0 +1,21 @@ +diff -up ./boost/bind/arg.hpp~ ./boost/bind/arg.hpp +--- ./boost/bind/arg.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ ./boost/bind/arg.hpp 2013-07-18 00:41:41.667412595 -0700 +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + namespace boost + { +@@ -33,8 +34,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); + } + }; + diff --git a/SOURCES/boost-1.54.0-concept-unused_typedef.patch b/SOURCES/boost-1.54.0-concept-unused_typedef.patch new file mode 100644 index 0000000..9559a5c --- /dev/null +++ b/SOURCES/boost-1.54.0-concept-unused_typedef.patch @@ -0,0 +1,21 @@ +diff -up ./boost/concept/detail/general.hpp~ ./boost/concept/detail/general.hpp +--- ./boost/concept/detail/general.hpp~ 2010-06-08 12:31:13.000000000 -0700 ++++ ./boost/concept/detail/general.hpp 2013-07-18 06:01:05.967747186 -0700 +@@ -6,6 +6,7 @@ + + # include + # include ++# include + + # ifdef BOOST_OLD_CONCEPT_SUPPORT + # include +@@ -68,7 +69,8 @@ struct requirement_ + # 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_STATIC_ASSERT_UNUSED_ATTRIBUTE + + }} + diff --git a/SOURCES/boost-1.54.0-context-execstack.patch b/SOURCES/boost-1.54.0-context-execstack.patch new file mode 100644 index 0000000..4513ae8 --- /dev/null +++ b/SOURCES/boost-1.54.0-context-execstack.patch @@ -0,0 +1,109 @@ +diff -up boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S~ 2012-12-21 02:22:09.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S 2013-07-15 11:11:46.772543152 -0700 +@@ -71,3 +71,6 @@ jump_fcontext: + @ and as first arg in context function + ldmia a2, {v1-v8,sp-pc} @ restore v1-V8,SP-PC + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S~ 2012-09-18 02:06:47.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S 2013-07-15 11:10:32.829144835 -0700 +@@ -70,3 +70,6 @@ jump_fcontext: + + jmp *%edx /* indirect jump to context */ + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S 2013-07-15 11:10:57.848279687 -0700 +@@ -178,3 +178,6 @@ jump_fcontext: + + bctr # jump to context + .size jump_fcontext, .-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S 2013-07-15 11:11:07.189330597 -0700 +@@ -199,3 +199,6 @@ jump_fcontext: + + bctr # jump to context + .size .jump_fcontext, .-.jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S~ 2012-09-18 02:06:47.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S 2013-07-15 11:09:49.724912924 -0700 +@@ -80,3 +80,6 @@ jump_fcontext: + + jmp *%rcx /* indirect jump to context */ + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S~ 2013-01-15 01:51:39.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S 2013-07-15 11:11:38.626499289 -0700 +@@ -74,3 +74,6 @@ finish: + mov a1, #0 @ exit code is zero + bl _exit@PLT @ exit application + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S~ 2013-06-07 08:38:10.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S 2013-07-15 11:10:40.333185226 -0700 +@@ -75,3 +75,6 @@ finish: + call _exit@PLT /* exit application */ + hlt + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S 2013-07-15 11:12:34.392799546 -0700 +@@ -83,3 +83,6 @@ finish: + jalr $t9 # exit application + .end make_fcontext + .size make_fcontext, .-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S~ 2013-05-08 22:40:43.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S 2013-07-15 11:11:20.247400344 -0700 +@@ -108,3 +108,6 @@ finish: + bl _exit@plt # exit application + .long 0 # We should never get here, so SIGILL if we do + .size make_fcontext, .-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S~ 2013-05-08 22:40:43.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S 2013-07-15 11:11:13.400363259 -0700 +@@ -130,3 +130,6 @@ finish: + nop # nop is required by the linker + .long 0 # We should never get here, so SIGILL if we do + .size .make_fcontext, .-.make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S~ 2012-11-29 23:38:52.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S 2013-07-15 11:10:06.151001366 -0700 +@@ -72,3 +72,5 @@ finish: + hlt + .size make_fcontext,.-make_fcontext + ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits diff --git a/SOURCES/boost-1.54.0-date-time.patch b/SOURCES/boost-1.54.0-date-time.patch new file mode 100644 index 0000000..a05efeb --- /dev/null +++ b/SOURCES/boost-1.54.0-date-time.patch @@ -0,0 +1,19 @@ +------------------------------------------------------------------------ +r84948 | danieljames | 2013-07-03 23:02:30 +0100 (Wed, 03 Jul 2013) | 4 lines + +In C++11 the shared_ptr -> bool conversion is explicit. In custom time zone code, make the cast explicit. Fixes compilation failure in C++11 + +From [84626], by marshall. + +------------------------------------------------------------------------ +--- 1_54_0/boost/date_time/local_time/custom_time_zone.hpp (revision 84947) ++++ 1_54_0/boost/date_time/local_time/custom_time_zone.hpp (revision 84948) +@@ -64,7 +64,7 @@ + //! True if zone uses daylight savings adjustments + virtual bool has_dst() const + { +- return (dst_calc_rules_); //if calc_rule is set the tz has dst ++ return (bool) dst_calc_rules_; //if calc_rule is set the tz has dst + } + //! Local time that DST starts -- NADT if has_dst is false + virtual posix_time::ptime dst_local_start_time(gregorian::greg_year y) const diff --git a/SOURCES/boost-1.54.0-date_time-unused_typedef-2.patch b/SOURCES/boost-1.54.0-date_time-unused_typedef-2.patch new file mode 100644 index 0000000..b39abe5 --- /dev/null +++ b/SOURCES/boost-1.54.0-date_time-unused_typedef-2.patch @@ -0,0 +1,13 @@ +diff -up boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp\~ boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp +--- boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp~ 2008-11-23 12:13:35.000000000 +0100 ++++ boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp 2013-07-22 23:44:42.834012788 +0200 +@@ -215,7 +215,6 @@ namespace gregorian { + { + std::istream_iterator, charT> beg(is), eos; + +- typedef boost::date_time::all_date_names_put facet_def; + d = from_stream(beg, eos); + return is; + } + +Diff finished. Mon Jul 22 23:44:50 2013 diff --git a/SOURCES/boost-1.54.0-date_time-unused_typedef.patch b/SOURCES/boost-1.54.0-date_time-unused_typedef.patch new file mode 100644 index 0000000..0f287ee --- /dev/null +++ b/SOURCES/boost-1.54.0-date_time-unused_typedef.patch @@ -0,0 +1,100 @@ +Index: boost/date_time/date_parsing.hpp +=================================================================== +--- boost/date_time/date_parsing.hpp (revision 85073) ++++ boost/date_time/date_parsing.hpp (working copy) +@@ -113,7 +113,6 @@ + spec_str = "mdy"; + } + +- typedef typename date_type::year_type year_type; + typedef typename date_type::month_type month_type; + unsigned pos = 0; + unsigned short year(0), month(0), day(0); +@@ -160,7 +159,6 @@ + parse_undelimited_date(const std::string& s) { + int offsets[] = {4,2,2}; + int pos = 0; +- typedef typename date_type::year_type year_type; + //typename date_type::ymd_type ymd((year_type::min)(),1,1); + unsigned short y = 0, m = 0, d = 0; + +Index: boost/date_time/local_time/local_time_io.hpp +=================================================================== +--- boost/date_time/local_time/local_time_io.hpp (revision 85073) ++++ boost/date_time/local_time/local_time_io.hpp (working copy) +@@ -36,7 +36,6 @@ + boost::io::ios_flags_saver iflags(os); + typedef local_date_time time_type;//::utc_time_type typename + typedef date_time::time_facet custom_time_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + + if(std::has_facet(os.getloc())) { +@@ -123,7 +122,6 @@ + const boost::local_time::local_time_period& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) { + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +Index: boost/date_time/posix_time/posix_time_io.hpp +=================================================================== +--- boost/date_time/posix_time/posix_time_io.hpp (revision 85073) ++++ boost/date_time/posix_time/posix_time_io.hpp (working copy) +@@ -47,7 +47,6 @@ + const ptime& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_ptime_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +@@ -114,7 +113,6 @@ + const boost::posix_time::time_period& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) { + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +@@ -180,7 +178,6 @@ + { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_ptime_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) + std::use_facet(os.getloc()).put(oitr, os, os.fill(), td); +Index: boost/date_time/string_convert.hpp +=================================================================== +--- boost/date_time/string_convert.hpp (revision 85073) ++++ boost/date_time/string_convert.hpp (working copy) +@@ -21,7 +21,6 @@ + inline + std::basic_string convert_string_type(const std::basic_string& inp_str) + { +- typedef std::basic_string input_type; + typedef std::basic_string output_type; + output_type result; + result.insert(result.begin(), inp_str.begin(), inp_str.end()); +Index: boost/date_time/strings_from_facet.hpp +=================================================================== +--- boost/date_time/strings_from_facet.hpp (revision 85073) ++++ boost/date_time/strings_from_facet.hpp (working copy) +@@ -35,7 +35,6 @@ + { + typedef std::basic_string string_type; + typedef std::vector collection_type; +- typedef std::basic_ostringstream ostream_type; + typedef std::ostreambuf_iterator ostream_iter_type; + typedef std::basic_ostringstream stringstream_type; + typedef std::time_put time_put_facet_type; +@@ -86,7 +85,6 @@ + { + typedef std::basic_string string_type; + typedef std::vector collection_type; +- typedef std::basic_ostringstream ostream_type; + typedef std::ostreambuf_iterator ostream_iter_type; + typedef std::basic_ostringstream stringstream_type; + typedef std::time_put time_put_facet_type; diff --git a/SOURCES/boost-1.54.0-interprocess-atomic_cas32-ppc.patch b/SOURCES/boost-1.54.0-interprocess-atomic_cas32-ppc.patch new file mode 100644 index 0000000..e5268d1 --- /dev/null +++ b/SOURCES/boost-1.54.0-interprocess-atomic_cas32-ppc.patch @@ -0,0 +1,14 @@ +diff -up boost_1_54_0/boost/interprocess/detail/atomic.hpp\~ boost_1_54_0/boost/interprocess/detail/atomic.hpp +--- boost_1_54_0/boost/interprocess/detail/atomic.hpp~ 2012-09-24 14:17:34.000000000 +0200 ++++ boost_1_54_0/boost/interprocess/detail/atomic.hpp 2013-08-29 16:36:51.682606594 +0200 +@@ -213,7 +213,7 @@ inline boost::uint32_t atomic_cas32 + "bne- 1b\n\t" + "2:" + : "=&r"(prev) +- : "b" (mem), "r"(cmp), "r" (with) ++ : "b" (mem), "r" (with), "r" (cmp) + : "cc", "memory"); + return prev; + } + +Diff finished. Thu Aug 29 16:36:55 2013 diff --git a/SOURCES/boost-1.54.0-locale-unused_typedef.patch b/SOURCES/boost-1.54.0-locale-unused_typedef.patch new file mode 100644 index 0000000..b7c9128 --- /dev/null +++ b/SOURCES/boost-1.54.0-locale-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/boost/locale/boundary/segment.hpp boost_1_54_0/boost/locale/boundary/segment.hpp +--- boost_1_54_0-orig/boost/locale/boundary/segment.hpp 2013-07-23 00:47:27.020787174 +0200 ++++ boost_1_54_0/boost/locale/boundary/segment.hpp 2013-07-23 00:50:40.382959016 +0200 +@@ -27,7 +27,6 @@ namespace boundary { + int compare_text(LeftIterator l_begin,LeftIterator l_end,RightIterator r_begin,RightIterator r_end) + { + typedef LeftIterator left_iterator; +- typedef RightIterator right_iterator; + typedef typename std::iterator_traits::value_type char_type; + typedef std::char_traits traits; + while(l_begin!=l_end && r_begin!=r_end) { diff --git a/SOURCES/boost-1.54.0-math-unused_typedef-2.patch b/SOURCES/boost-1.54.0-math-unused_typedef-2.patch new file mode 100644 index 0000000..75d07ce --- /dev/null +++ b/SOURCES/boost-1.54.0-math-unused_typedef-2.patch @@ -0,0 +1,20 @@ +Index: boost/math/special_functions/beta.hpp +=================================================================== +--- boost/math/special_functions/beta.hpp (revision 85073) ++++ boost/math/special_functions/beta.hpp (working copy) +@@ -1331,7 +1331,6 @@ + BOOST_FPU_EXCEPTION_GUARD + typedef typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +@@ -1349,7 +1348,6 @@ + BOOST_FPU_EXCEPTION_GUARD + typedef typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, diff --git a/SOURCES/boost-1.54.0-math-unused_typedef.patch b/SOURCES/boost-1.54.0-math-unused_typedef.patch new file mode 100644 index 0000000..f413279 --- /dev/null +++ b/SOURCES/boost-1.54.0-math-unused_typedef.patch @@ -0,0 +1,15 @@ +diff -up boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp~ boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp +--- boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp~ 2012-09-07 01:43:19.000000000 -0700 ++++ boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp 2013-07-22 03:42:15.216142075 -0700 +@@ -285,10 +285,8 @@ namespace detail + + // Define the distribution, using gamma_nooverflow: + typedef gamma_distribution gamma_nooverflow; ++ gamma_nooverflow g(static_cast(0.5), static_cast(1.)); + +- gamma_distribution g(static_cast(0.5), static_cast(1.)); +- +- // gamma_nooverflow g(static_cast(0.5), static_cast(1.)); + // R qgamma(0.2, 0.5, 1) 0.0320923 + RealType qg = quantile(complement(g, p)); + //RealType qg1 = qgamma(1.- p, 0.5, 1.0, true, false); diff --git a/SOURCES/boost-1.54.0-mpi-unused_typedef.patch b/SOURCES/boost-1.54.0-mpi-unused_typedef.patch new file mode 100644 index 0000000..3a01d61 --- /dev/null +++ b/SOURCES/boost-1.54.0-mpi-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/libs/mpi/src/communicator.cpp boost_1_54_0/libs/mpi/src/communicator.cpp +--- boost_1_54_0-orig/libs/mpi/src/communicator.cpp 2013-07-23 00:48:17.317091987 +0200 ++++ boost_1_54_0/libs/mpi/src/communicator.cpp 2013-07-23 00:50:40.722961078 +0200 +@@ -118,7 +118,6 @@ optional communicator::iprobe(in + + status communicator::probe(int source, int tag) const + { +- typedef optional result_type; + + status stat; + BOOST_MPI_CHECK_RESULT(MPI_Probe, diff --git a/SOURCES/boost-1.54.0-mpl-print.patch b/SOURCES/boost-1.54.0-mpl-print.patch new file mode 100644 index 0000000..6c27b14 --- /dev/null +++ b/SOURCES/boost-1.54.0-mpl-print.patch @@ -0,0 +1,37 @@ +Index: boost/mpl/print.hpp +=================================================================== +--- boost/mpl/print.hpp (revision 83411) ++++ boost/mpl/print.hpp (working copy) +@@ -45,22 +45,21 @@ + : mpl::identity + #if defined(__MWERKS__) + , aux::print_base +-#endif ++#endif + { + #if defined(BOOST_MSVC) + enum { n = sizeof(T) + -1 }; + #elif defined(__MWERKS__) + void f(int); +-#else +- enum { +- n = +-# if defined(__EDG_VERSION__) +- aux::dependent_unsigned::value > -1 +-# else +- sizeof(T) > -1 +-# endif +- }; +-#endif ++#elif defined(__EDG_VERSION__) ++ enum { n = aux::dependent_unsigned::value > -1 }; ++#elif defined(BOOST_GCC) ++ enum { n1 }; ++ enum { n2 }; ++ enum { n = n1 != n2 }; ++#else ++ enum { n = sizeof(T) > -1 }; ++#endif + }; + + #if defined(BOOST_MSVC) diff --git a/SOURCES/boost-1.54.0-multiprecision-unused_typedef.patch b/SOURCES/boost-1.54.0-multiprecision-unused_typedef.patch new file mode 100644 index 0000000..af245af --- /dev/null +++ b/SOURCES/boost-1.54.0-multiprecision-unused_typedef.patch @@ -0,0 +1,148 @@ +diff -up boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~ 2012-09-20 09:04:02.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp 2013-07-22 03:31:01.145084522 -0700 +@@ -81,7 +81,6 @@ template + void calc_e(T& result, unsigned digits) + { + typedef typename mpl::front::type ui_type; +- typedef typename mpl::front::type real_type; + // + // 1100 digits in string form: + // +diff -up boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ 2013-03-31 09:34:50.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp 2013-07-22 03:43:12.495489757 -0700 +@@ -142,10 +142,6 @@ void hyp1F0(T& H1F0, const T& a, const T + // There are no checks on input range or parameter boundaries. + + typedef typename boost::multiprecision::detail::canonical::type si_type; +- typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + BOOST_ASSERT(&H1F0 != &x); + BOOST_ASSERT(&H1F0 != &a); +@@ -200,7 +196,6 @@ void eval_exp(T& result, const T& x) + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename T::exponent_type exp_type; + typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename boost::multiprecision::detail::canonical::type float_type; + + // Handle special arguments. + int type = eval_fpclassify(x); +@@ -326,7 +321,6 @@ void eval_log(T& result, const T& arg) + // then let y = x - 1 and compute: + // log(x) = log(2) * n + log1p(1 + y) + // +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; + typedef typename T::exponent_type exp_type; + typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +@@ -409,9 +403,6 @@ inline void eval_pow(T& result, const T& + { + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The pow function is only valid for floating point types."); + typedef typename boost::multiprecision::detail::canonical::type si_type; +- typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + if((&result == &x) || (&result == &a)) +@@ -595,10 +586,7 @@ namespace detail{ + template + void sinhcosh(const T& x, T* p_sinh, T* p_cosh) + { +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +diff -up boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~ 2013-03-31 09:34:50.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp 2013-07-22 03:44:30.512963273 -0700 +@@ -17,9 +17,6 @@ void hyp0F1(T& result, const T& b, const + { + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + // Compute the series representation of Hypergeometric0F1 taken from + // http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric0F1/06/01/01/ +@@ -82,8 +79,6 @@ void eval_sin(T& result, const T& x) + + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -228,8 +223,6 @@ void eval_cos(T& result, const T& x) + + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -381,11 +374,7 @@ void hyp2F1(T& result, const T& a, const + // Abramowitz and Stegun 15.1.1. + // There are no checks on input range or parameter boundaries. + +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + T x_pow_n_div_n_fact(x); + T pochham_a (a); +@@ -443,10 +432,7 @@ template + void eval_asin(T& result, const T& x) + { + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The asin function is only valid for floating point types."); +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + if(&result == &x) +@@ -597,8 +583,6 @@ void eval_atan(T& result, const T& x) + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The atan function is only valid for floating point types."); + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -699,11 +683,7 @@ void eval_atan2(T& result, const T& y, c + return; + } + +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(y)) + { +diff -up boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp +--- boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~ 2012-12-20 09:42:14.000000000 -0800 ++++ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp 2013-07-22 03:38:51.614906286 -0700 +@@ -191,7 +191,6 @@ void generic_interconvert(To& to, const + template + void generic_interconvert(To& to, const From& from, const mpl::int_& /*to_type*/, const mpl::int_& /*from_type*/) + { +- typedef typename component_type >::type from_component_type; + typedef typename component_type >::type to_component_type; + + number t(from); diff --git a/SOURCES/boost-1.54.0-numeric-unused_typedef.patch b/SOURCES/boost-1.54.0-numeric-unused_typedef.patch new file mode 100644 index 0000000..b391725 --- /dev/null +++ b/SOURCES/boost-1.54.0-numeric-unused_typedef.patch @@ -0,0 +1,250 @@ +diff -up boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp~ boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp +--- boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp~ 2010-10-19 00:01:35.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp 2013-07-22 04:33:26.399038120 -0700 +@@ -1303,7 +1303,6 @@ namespace detail { + void matrix_swap (M &m, matrix_expression &e, packed_proxy_tag, row_major_tag) { + typedef F functor_type; + // R unnecessary, make_conformant not required +- typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; + typename M::iterator1 it1 (m.begin1 ()); + typename E::iterator1 it1e (e ().begin1 ()); +@@ -1329,7 +1328,6 @@ namespace detail { + void matrix_swap (M &m, matrix_expression &e, packed_proxy_tag, column_major_tag) { + typedef F functor_type; + // R unnecessary, make_conformant not required +- typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; + typename M::iterator2 it2 (m.begin2 ()); + typename E::iterator2 it2e (e ().begin2 ()); +@@ -1357,7 +1355,6 @@ namespace detail { + typedef R conformant_restrict_type; + typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; +- typedef typename M::value_type value_type; + BOOST_UBLAS_CHECK (m.size1 () == e ().size1 (), bad_size ()); + BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); + +@@ -1482,7 +1479,6 @@ namespace detail { + typedef R conformant_restrict_type; + typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; +- typedef typename M::value_type value_type; + BOOST_UBLAS_CHECK (m.size1 () == e ().size1 (), bad_size ()); + BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); + +diff -up boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp~ boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp +--- boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp 2013-07-22 04:32:21.774650296 -0700 +@@ -379,7 +379,6 @@ namespace detail { + typedef typename V::size_type size_type; + typedef typename V::difference_type difference_type; + typedef typename V::value_type value_type; +- typedef typename V::reference reference; + #if BOOST_UBLAS_TYPE_CHECK + vector cv (v.size ()); + indexing_vector_assign (cv, v); +@@ -513,7 +512,6 @@ namespace detail { + typedef F functor_type; + typedef typename V::size_type size_type; + typedef typename V::difference_type difference_type; +- typedef typename V::value_type value_type; + + detail::make_conformant (v, e); + // FIXME should be a seperate restriction for E +diff -up boost_1_54_0/boost/numeric/ublas/lu.hpp~ boost_1_54_0/boost/numeric/ublas/lu.hpp +--- boost_1_54_0/boost/numeric/ublas/lu.hpp~ 2010-07-04 23:06:24.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/lu.hpp 2013-07-22 04:40:06.634440205 -0700 +@@ -63,7 +63,6 @@ namespace boost { namespace numeric { na + BOOST_UBLAS_INLINE + void swap_rows (const PM &pm, MV &mv, vector_tag) { + typedef typename PM::size_type size_type; +- typedef typename MV::value_type value_type; + + size_type size = pm.size (); + for (size_type i = 0; i < size; ++ i) { +@@ -75,7 +74,6 @@ namespace boost { namespace numeric { na + BOOST_UBLAS_INLINE + void swap_rows (const PM &pm, MV &mv, matrix_tag) { + typedef typename PM::size_type size_type; +- typedef typename MV::value_type value_type; + + size_type size = pm.size (); + for (size_type i = 0; i < size; ++ i) { +diff -up boost_1_54_0/boost/numeric/ublas/operation.hpp~ boost_1_54_0/boost/numeric/ublas/operation.hpp +--- boost_1_54_0/boost/numeric/ublas/operation.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ boost_1_54_0/boost/numeric/ublas/operation.hpp 2013-07-22 04:42:19.436046788 -0700 +@@ -129,7 +129,6 @@ namespace boost { namespace numeric { na + const vector_expression &e2, + V &v, packed_random_access_iterator_tag, row_major_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename V::size_type size_type; + + typename expression1_type::const_iterator1 it1 (e1 ().begin1 ()); +@@ -159,7 +158,6 @@ namespace boost { namespace numeric { na + const vector_expression &e2, + V &v, packed_random_access_iterator_tag, column_major_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename V::size_type size_type; + + typename expression1_type::const_iterator2 it2 (e1 ().begin2 ()); +@@ -188,9 +186,7 @@ namespace boost { namespace numeric { na + axpy_prod (const matrix_expression &e1, + const vector_expression &e2, + V &v, sparse_bidirectional_iterator_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename V::size_type size_type; + + typename expression2_type::const_iterator it (e2 ().begin ()); + typename expression2_type::const_iterator it_end (e2 ().end ()); +@@ -350,7 +346,6 @@ namespace boost { namespace numeric { na + axpy_prod (const vector_expression &e1, + const matrix_expression &e2, + V &v, packed_random_access_iterator_tag, column_major_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; + typedef typename V::size_type size_type; + +@@ -380,7 +375,6 @@ namespace boost { namespace numeric { na + axpy_prod (const vector_expression &e1, + const matrix_expression &e2, + V &v, packed_random_access_iterator_tag, row_major_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; + typedef typename V::size_type size_type; + +@@ -411,8 +405,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + V &v, sparse_bidirectional_iterator_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; +- typedef typename V::size_type size_type; + + typename expression1_type::const_iterator it (e1 ().begin ()); + typename expression1_type::const_iterator it_end (e1 ().end ()); +@@ -501,9 +493,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + dense_proxy_tag, row_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -530,11 +519,9 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + sparse_proxy_tag, row_major_tag) { +- typedef M matrix_type; + typedef TRI triangular_restriction; + typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + + #if BOOST_UBLAS_TYPE_CHECK +@@ -580,9 +567,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + dense_proxy_tag, column_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -609,11 +593,9 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + sparse_proxy_tag, column_major_tag) { +- typedef M matrix_type; + typedef TRI triangular_restriction; + typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + + #if BOOST_UBLAS_TYPE_CHECK +@@ -738,9 +720,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, + dense_proxy_tag, row_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -769,9 +748,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, + dense_proxy_tag, column_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +diff -up boost_1_54_0/boost/numeric/ublas/triangular.hpp~ boost_1_54_0/boost/numeric/ublas/triangular.hpp +--- boost_1_54_0/boost/numeric/ublas/triangular.hpp~ 2012-09-18 14:07:07.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/triangular.hpp 2013-07-22 04:39:31.667230329 -0700 +@@ -1859,7 +1859,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, column_major_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1914,7 +1913,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, column_major_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1943,7 +1941,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1969,7 +1966,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, packed_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1998,7 +1994,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -2374,7 +2369,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, matrix_expression &e2, + lower_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -2435,7 +2429,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, matrix_expression &e2, + lower_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); diff --git a/SOURCES/boost-1.54.0-pool-max_chunks_shadow.patch b/SOURCES/boost-1.54.0-pool-max_chunks_shadow.patch new file mode 100644 index 0000000..1a85fce --- /dev/null +++ b/SOURCES/boost-1.54.0-pool-max_chunks_shadow.patch @@ -0,0 +1,14 @@ +diff -up ./boost/pool/pool.hpp~ ./boost/pool/pool.hpp +--- ./boost/pool/pool.hpp~ 2013-08-21 17:49:56.023296922 +0200 ++++ ./boost/pool/pool.hpp 2013-08-22 11:38:01.133912638 +0200 +@@ -361,9 +361,7 @@ class pool: protected simple_segregated_ + { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. + size_type partition_size = alloc_size(); + size_type POD_size = math::static_lcm::value + sizeof(size_type); +- size_type max_chunks = (std::numeric_limits::max() - POD_size) / alloc_size(); +- +- return max_chunks; ++ return (std::numeric_limits::max() - POD_size) / alloc_size(); + } + + static void * & nextof(void * const ptr) diff --git a/SOURCES/boost-1.54.0-pool-test_linking.patch b/SOURCES/boost-1.54.0-pool-test_linking.patch new file mode 100644 index 0000000..0f749f7 --- /dev/null +++ b/SOURCES/boost-1.54.0-pool-test_linking.patch @@ -0,0 +1,31 @@ +diff -up ./libs/pool/test/Jamfile.v2~ ./libs/pool/test/Jamfile.v2 +--- ./libs/pool/test/Jamfile.v2~ 2011-08-02 19:04:07.000000000 +0200 ++++ ./libs/pool/test/Jamfile.v2 2013-08-22 11:48:34.907287286 +0200 +@@ -24,17 +24,17 @@ run valgrind_config_check.cpp : : : /boost/system//boost_system ] ++ [ run test_pool_alloc.cpp : : : /boost/system//boost_system ] ++ [ run pool_msvc_compiler_bug_test.cpp : : : /boost/system//boost_system ] ++ [ run test_msvc_mem_leak_detect.cpp : : : /boost/system//boost_system ] ++ [ run test_bug_3349.cpp : : : /boost/system//boost_system ] ++ [ run test_bug_4960.cpp : : : /boost/system//boost_system ] ++ [ run test_bug_1252.cpp : : : /boost/system//boost_system ] ++ [ run test_bug_2696.cpp : : : /boost/system//boost_system ] ++ [ run test_bug_5526.cpp : : : /boost/system//boost_system ] + [ run test_threading.cpp : : : multi /boost/thread//boost_thread gcc:-Wno-attributes gcc:-Wno-missing-field-initializers ] +- [ run ../example/time_pool_alloc.cpp ] ++ [ run ../example/time_pool_alloc.cpp : : : /boost/system//boost_system ] + [ compile test_poisoned_macros.cpp ] + + # diff --git a/SOURCES/boost-1.54.0-property_tree-unused_typedef.patch b/SOURCES/boost-1.54.0-property_tree-unused_typedef.patch new file mode 100644 index 0000000..05158ef --- /dev/null +++ b/SOURCES/boost-1.54.0-property_tree-unused_typedef.patch @@ -0,0 +1,19 @@ +diff -urp boost_1_54_0-orig/boost/property_tree/detail/xml_parser_write.hpp boost_1_54_0/boost/property_tree/detail/xml_parser_write.hpp +--- boost_1_54_0-orig/boost/property_tree/detail/xml_parser_write.hpp 2013-07-23 00:47:43.731888449 +0200 ++++ boost_1_54_0/boost/property_tree/detail/xml_parser_write.hpp 2013-07-23 00:50:40.597960319 +0200 +@@ -35,7 +35,6 @@ namespace boost { namespace property_tre + const xml_writer_settings & settings + ) + { +- typedef typename std::basic_string Str; + if (separate_line) + write_xml_indent(stream,indent,settings); + stream << Ch('<') << Ch('!') << Ch('-') << Ch('-'); +@@ -69,7 +68,6 @@ namespace boost { namespace property_tre + { + + typedef typename Ptree::key_type::value_type Ch; +- typedef typename std::basic_string Str; + typedef typename Ptree::const_iterator It; + + bool want_pretty = settings.indent_count > 0; diff --git a/SOURCES/boost-1.54.0-python-unused_typedef.patch b/SOURCES/boost-1.54.0-python-unused_typedef.patch new file mode 100644 index 0000000..8adf8ed --- /dev/null +++ b/SOURCES/boost-1.54.0-python-unused_typedef.patch @@ -0,0 +1,15 @@ +diff -up boost_1_53_0/boost/python/to_python_value.hpp\~ boost_1_53_0/boost/python/to_python_value.hpp +--- boost_1_53_0/boost/python/to_python_value.hpp~ 2007-12-16 11:12:07.000000000 +0100 ++++ boost_1_53_0/boost/python/to_python_value.hpp 2013-07-23 16:19:02.518904596 +0200 +@@ -147,8 +147,8 @@ namespace detail + template + inline PyObject* registry_to_python_value::operator()(argument_type x) const + { +- typedef converter::registered r; + # if BOOST_WORKAROUND(__GNUC__, < 3) ++ typedef converter::registered r; + // suppresses an ICE, somehow + (void)r::converters; + # endif + +Diff finished. Tue Jul 23 16:19:05 2013 diff --git a/SOURCES/boost-1.54.0-random-unused_typedef.patch b/SOURCES/boost-1.54.0-random-unused_typedef.patch new file mode 100644 index 0000000..fff4226 --- /dev/null +++ b/SOURCES/boost-1.54.0-random-unused_typedef.patch @@ -0,0 +1,24 @@ +Index: boost/random/generate_canonical.hpp +=================================================================== +--- boost/random/generate_canonical.hpp (revision 85073) ++++ boost/random/generate_canonical.hpp (working copy) +@@ -54,7 +54,6 @@ + using std::floor; + BOOST_ASSERT((g.min)() == 0); + BOOST_ASSERT((g.max)() == 1); +- typedef typename URNG::result_type base_result; + std::size_t digits = std::numeric_limits::digits; + std::size_t engine_bits = detail::generator_bits::value(); + std::size_t b = (std::min)(bits, digits); +Index: boost/random/uniform_real_distribution.hpp +=================================================================== +--- boost/random/uniform_real_distribution.hpp (revision 85073) ++++ boost/random/uniform_real_distribution.hpp (working copy) +@@ -36,7 +36,6 @@ + { + for(;;) { + typedef T result_type; +- typedef typename Engine::result_type base_result; + result_type numerator = static_cast(eng() - (eng.min)()); + result_type divisor = static_cast((eng.max)() - (eng.min)()); + BOOST_ASSERT(divisor > 0); diff --git a/SOURCES/boost-1.54.0-spirit-unused_typedef-2.patch b/SOURCES/boost-1.54.0-spirit-unused_typedef-2.patch new file mode 100644 index 0000000..fdc9849 --- /dev/null +++ b/SOURCES/boost-1.54.0-spirit-unused_typedef-2.patch @@ -0,0 +1,22 @@ +diff -urp boost_1_54_0-orig/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp boost_1_54_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp +--- boost_1_54_0-orig/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2013-07-23 00:47:37.497850668 +0200 ++++ boost_1_54_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2013-07-23 00:50:40.662960713 +0200 +@@ -307,7 +307,6 @@ struct grammar_definition + #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE) + typedef impl::grammar_helper_base helper_base_t; + typedef grammar_helper_list helper_list_t; +- typedef typename helper_list_t::vector_t::reverse_iterator iterator_t; + + helper_list_t& helpers = + # if !defined(__GNUC__) || (__GNUC__ > 2) +diff -urp boost_1_54_0-orig/boost/spirit/home/classic/tree/parse_tree.hpp boost_1_54_0/boost/spirit/home/classic/tree/parse_tree.hpp +--- boost_1_54_0-orig/boost/spirit/home/classic/tree/parse_tree.hpp 2013-07-23 00:47:37.407850122 +0200 ++++ boost_1_54_0/boost/spirit/home/classic/tree/parse_tree.hpp 2013-07-23 00:50:40.674960786 +0200 +@@ -76,7 +76,6 @@ struct pt_tree_policy : + template + static void concat(MatchAT& a, MatchBT const& b) + { +- typedef typename match_t::attr_t attr_t; + BOOST_SPIRIT_ASSERT(a && b); + + std::copy(b.trees.begin(), b.trees.end(), diff --git a/SOURCES/boost-1.54.0-spirit-unused_typedef.patch b/SOURCES/boost-1.54.0-spirit-unused_typedef.patch new file mode 100644 index 0000000..830e418 --- /dev/null +++ b/SOURCES/boost-1.54.0-spirit-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -up boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp~ boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp +--- boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp~ 2008-06-22 08:05:38.000000000 -0700 ++++ boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp 2013-07-22 06:35:38.417914083 -0700 +@@ -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; + diff --git a/SOURCES/boost-1.54.0-static_warning-unused_typedef.patch b/SOURCES/boost-1.54.0-static_warning-unused_typedef.patch new file mode 100644 index 0000000..9418a17 --- /dev/null +++ b/SOURCES/boost-1.54.0-static_warning-unused_typedef.patch @@ -0,0 +1,23 @@ +diff -up boost_1_54_0/boost/serialization/static_warning.hpp\~ boost_1_54_0/boost/serialization/static_warning.hpp +--- boost_1_54_0/boost/serialization/static_warning.hpp~ 2013-07-15 23:36:08.224983552 +0200 ++++ boost_1_54_0/boost/serialization/static_warning.hpp 2013-07-18 19:33:36.163463409 +0200 +@@ -72,6 +72,7 @@ + #include + #include + #include ++#include + + namespace boost { + namespace serialization { +@@ -101,7 +102,8 @@ struct BOOST_SERIALIZATION_SS {}; + #define BOOST_SERIALIZATION_BSW(B, L) \ + typedef boost::serialization::BOOST_SERIALIZATION_SS< \ + sizeof( boost::serialization::static_warning_test< B, L > ) \ +- > BOOST_JOIN(STATIC_WARNING_LINE, L); ++ > BOOST_JOIN(STATIC_WARNING_LINE, L) \ ++ BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE; + + #define BOOST_STATIC_WARNING(B) BOOST_SERIALIZATION_BSW(B, __LINE__) + + +Diff finished. Fri Jul 19 01:38:59 2013 diff --git a/SOURCES/boost-1.54.0-thread-cond_variable_shadow.patch b/SOURCES/boost-1.54.0-thread-cond_variable_shadow.patch new file mode 100644 index 0000000..ba8cd01 --- /dev/null +++ b/SOURCES/boost-1.54.0-thread-cond_variable_shadow.patch @@ -0,0 +1,104 @@ +diff -up ./boost/thread/pthread/condition_variable.hpp~ ./boost/thread/pthread/condition_variable.hpp +--- ./boost/thread/pthread/condition_variable.hpp~ 2013-01-14 18:17:50.000000000 +0100 ++++ ./boost/thread/pthread/condition_variable.hpp 2013-08-22 11:47:48.330596804 +0200 +@@ -200,15 +200,15 @@ namespace boost + + #if defined BOOST_THREAD_USES_DATETIME + template +- bool timed_wait(lock_type& m,boost::system_time const& wait_until) ++ bool timed_wait(lock_type& m,boost::system_time const& a_wait_until) + { +- struct timespec const timeout=detail::to_timespec(wait_until); ++ struct timespec const timeout=detail::to_timespec(a_wait_until); + return do_wait_until(m, timeout); + } + template +- bool timed_wait(lock_type& m,xtime const& wait_until) ++ bool timed_wait(lock_type& m,xtime const& a_wait_until) + { +- return timed_wait(m,system_time(wait_until)); ++ return timed_wait(m,system_time(a_wait_until)); + } + + template +@@ -218,20 +218,20 @@ namespace boost + } + + template +- bool timed_wait(lock_type& m,boost::system_time const& wait_until,predicate_type pred) ++ bool timed_wait(lock_type& m,boost::system_time const& a_wait_until,predicate_type pred) + { + while (!pred()) + { +- if(!timed_wait(m, wait_until)) ++ if(!timed_wait(m, a_wait_until)) + return pred(); + } + return true; + } + + template +- bool timed_wait(lock_type& m,xtime const& wait_until,predicate_type pred) ++ bool timed_wait(lock_type& m,xtime const& a_wait_until,predicate_type pred) + { +- return timed_wait(m,system_time(wait_until),pred); ++ return timed_wait(m,system_time(a_wait_until),pred); + } + + template +diff -up ./boost/thread/pthread/condition_variable_fwd.hpp~ ./boost/thread/pthread/condition_variable_fwd.hpp +--- ./boost/thread/pthread/condition_variable_fwd.hpp~ 2013-01-14 18:17:50.000000000 +0100 ++++ ./boost/thread/pthread/condition_variable_fwd.hpp 2013-08-22 11:46:26.579385366 +0200 +@@ -98,21 +98,21 @@ namespace boost + #if defined BOOST_THREAD_USES_DATETIME + inline bool timed_wait( + unique_lock& m, +- boost::system_time const& wait_until) ++ boost::system_time const& a_wait_until) + { + #if defined BOOST_THREAD_WAIT_BUG +- struct timespec const timeout=detail::to_timespec(wait_until + BOOST_THREAD_WAIT_BUG); ++ struct timespec const timeout=detail::to_timespec(a_wait_until + BOOST_THREAD_WAIT_BUG); + return do_wait_until(m, timeout); + #else +- struct timespec const timeout=detail::to_timespec(wait_until); ++ struct timespec const timeout=detail::to_timespec(a_wait_until); + return do_wait_until(m, timeout); + #endif + } + bool timed_wait( + unique_lock& m, +- xtime const& wait_until) ++ xtime const& a_wait_until) + { +- return timed_wait(m,system_time(wait_until)); ++ return timed_wait(m,system_time(a_wait_until)); + } + + template +@@ -126,11 +126,11 @@ namespace boost + template + bool timed_wait( + unique_lock& m, +- boost::system_time const& wait_until,predicate_type pred) ++ boost::system_time const& a_wait_until,predicate_type pred) + { + while (!pred()) + { +- if(!timed_wait(m, wait_until)) ++ if(!timed_wait(m, a_wait_until)) + return pred(); + } + return true; +@@ -139,9 +139,9 @@ namespace boost + template + bool timed_wait( + unique_lock& m, +- xtime const& wait_until,predicate_type pred) ++ xtime const& a_wait_until,predicate_type pred) + { +- return timed_wait(m,system_time(wait_until),pred); ++ return timed_wait(m,system_time(a_wait_until),pred); + } + + template diff --git a/SOURCES/boost-1.54.0-tuple-unused_typedef.patch b/SOURCES/boost-1.54.0-tuple-unused_typedef.patch new file mode 100644 index 0000000..51481c2 --- /dev/null +++ b/SOURCES/boost-1.54.0-tuple-unused_typedef.patch @@ -0,0 +1,12 @@ +Index: boost/tuple/detail/tuple_basic.hpp +=================================================================== +--- boost/tuple/detail/tuple_basic.hpp (revision 85075) ++++ boost/tuple/detail/tuple_basic.hpp (working copy) +@@ -225,7 +225,6 @@ + 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; + } + diff --git a/SOURCES/boost-1.54.0-unordered-unused_typedef.patch b/SOURCES/boost-1.54.0-unordered-unused_typedef.patch new file mode 100644 index 0000000..27e900a --- /dev/null +++ b/SOURCES/boost-1.54.0-unordered-unused_typedef.patch @@ -0,0 +1,14 @@ +diff -up boost_1_54_0/boost/unordered/detail/unique.hpp\~ boost_1_54_0/boost/unordered/detail/unique.hpp +--- boost_1_54_0/boost/unordered/detail/unique.hpp~ 2012-12-05 23:06:57.000000000 +0100 ++++ boost_1_54_0/boost/unordered/detail/unique.hpp 2013-07-22 23:54:29.222516306 +0200 +@@ -334,8 +334,6 @@ namespace boost { namespace unordered { + + value_type& operator[](key_type const& k) + { +- typedef typename value_type::second_type mapped_type; +- + std::size_t key_hash = this->hash(k); + iterator pos = this->find_node(key_hash, k); + + +Diff finished. Mon Jul 22 23:55:15 2013 diff --git a/SOURCES/boost-1.54.0-xpressive-unused_typedef.patch b/SOURCES/boost-1.54.0-xpressive-unused_typedef.patch new file mode 100644 index 0000000..60a4f5a --- /dev/null +++ b/SOURCES/boost-1.54.0-xpressive-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/boost/xpressive/regex_algorithms.hpp boost_1_54_0/boost/xpressive/regex_algorithms.hpp +--- boost_1_54_0-orig/boost/xpressive/regex_algorithms.hpp 2013-07-23 00:47:50.804931313 +0200 ++++ boost_1_54_0/boost/xpressive/regex_algorithms.hpp 2013-07-23 00:50:40.721961072 +0200 +@@ -303,7 +303,6 @@ namespace detail + ) + { + typedef core_access access; +- typedef typename iterator_value::type char_type; + match_results &what = *state.context_.results_ptr_; + BOOST_ASSERT(0 != re.regex_id()); + diff --git a/SOURCES/libboost_thread-mt.so b/SOURCES/libboost_thread-mt.so new file mode 100644 index 0000000..cb4f809 --- /dev/null +++ b/SOURCES/libboost_thread-mt.so @@ -0,0 +1,12 @@ +/* GNU ld script + + Boost.Thread header files pull in enough of Boost.System that + symbols from the latter library are referenced by a compiled object + that includes Boost.Thread headers. libboost_system-mt.so is among + libboost_thread-mt.so's DT_NEEDED, but program linker requires that + missing symbols are satisfied by direct dependency, not by a + transitive one. Hence this linker script, which brings in the + Boost.System DSO. */ + +INPUT(libboost_thread-mt.so.%{version}) +INPUT(libboost_system-mt.so.%{version}) diff --git a/SOURCES/ver.py b/SOURCES/ver.py new file mode 100644 index 0000000..ef88aea --- /dev/null +++ b/SOURCES/ver.py @@ -0,0 +1,5 @@ +import platform +import sys + +sys.stdout.write (".".join (platform.python_version_tuple ()[:2])) +sys.stdout.write ("\n") diff --git a/SPECS/boost.spec b/SPECS/boost.spec new file mode 100644 index 0000000..8b1f399 --- /dev/null +++ b/SPECS/boost.spec @@ -0,0 +1,2088 @@ +# Support for documentation installation +# As the %%doc macro erases the target directory, namely +# $RPM_BUILD_ROOT%%{_docdir}/%%{name}-%%{version}, manually installed +# documentation must be saved into a temporary dedicated directory. +%define boost_docdir __tmp_docdir +%define boost_examplesdir __tmp_examplesdir + +%ifarch %{arm} ppc64le + %bcond_with mpich +%else + %bcond_without mpich +%endif + +%ifarch s390 s390x %{arm} ppc64le + # No OpenMPI support on these arches + %bcond_with openmpi +%else + %bcond_without openmpi +%endif + +%ifnarch %{ix86} x86_64 + # Avoid using Boost.Context on non-x86 arches. s390 is not + # supported at all and there were _syntax errors_ in PPC code. This + # should be enabled on a case-by-case basis as the arches are tested + # and fixed. + %bcond_with context +%else + %bcond_without context +%endif + +%bcond_with python3 + +Name: boost +Summary: The free peer-reviewed portable C++ source libraries +Version: 1.53.0 +%define version_enc 1_53_0 +Release: 28%{?dist} +License: Boost and MIT and Python + +%define toplev_dirname %{name}_%{version_enc} +URL: http://www.boost.org +Group: System Environment/Libraries +Source0: http://downloads.sourceforge.net/%{name}/%{toplev_dirname}.tar.bz2 +Source1: ver.py +Source2: libboost_thread-mt.so + +# From the version 13 of Fedora, the Boost libraries are delivered +# with sonames equal to the Boost version (e.g., 1.41.0). +%define sonamever %{version} + +# boost is an "umbrella" package that pulls in all other boost +# components, except for MPI and Python 3 sub-packages. Those are +# special in that they are rarely necessary, and it's not a big burden +# to have interested parties install them explicitly. +Requires: boost-atomic%{?_isa} = %{version}-%{release} +Requires: boost-chrono%{?_isa} = %{version}-%{release} +%if %{with context} +Requires: boost-context%{?_isa} = %{version}-%{release} +%endif +Requires: boost-date-time%{?_isa} = %{version}-%{release} +Requires: boost-filesystem%{?_isa} = %{version}-%{release} +Requires: boost-graph%{?_isa} = %{version}-%{release} +Requires: boost-iostreams%{?_isa} = %{version}-%{release} +Requires: boost-locale%{?_isa} = %{version}-%{release} +Requires: boost-math%{?_isa} = %{version}-%{release} +Requires: boost-program-options%{?_isa} = %{version}-%{release} +Requires: boost-python%{?_isa} = %{version}-%{release} +Requires: boost-random%{?_isa} = %{version}-%{release} +Requires: boost-regex%{?_isa} = %{version}-%{release} +Requires: boost-serialization%{?_isa} = %{version}-%{release} +Requires: boost-signals%{?_isa} = %{version}-%{release} +Requires: boost-system%{?_isa} = %{version}-%{release} +Requires: boost-test%{?_isa} = %{version}-%{release} +Requires: boost-thread%{?_isa} = %{version}-%{release} +Requires: boost-timer%{?_isa} = %{version}-%{release} +Requires: boost-wave%{?_isa} = %{version}-%{release} + +BuildRequires: libstdc++-devel +BuildRequires: bzip2-devel +BuildRequires: zlib-devel +BuildRequires: python-devel +%if %{with python3} +BuildRequires: python3-devel +%endif +BuildRequires: libicu-devel +BuildRequires: chrpath + +# https://svn.boost.org/trac/boost/ticket/6150 +Patch4: boost-1.50.0-fix-non-utf8-files.patch + +# Add a manual page for the sole executable, namely bjam, based on the +# on-line documentation: +# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html +Patch5: boost-1.48.0-add-bjam-man-page.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=756005 +# https://svn.boost.org/trac/boost/ticket/6131 +Patch7: boost-1.50.0-foreach.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=781859 +# The following tickets have still to be fixed by upstream. +# https://svn.boost.org/trac/boost/ticket/6408 +# https://svn.boost.org/trac/boost/ticket/6410 +# https://svn.boost.org/trac/boost/ticket/6413 +Patch9: boost-1.53.0-attribute.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=783660 +# https://svn.boost.org/trac/boost/ticket/6459 fixed +Patch10: boost-1.50.0-long-double-1.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=828856 +# https://bugzilla.redhat.com/show_bug.cgi?id=828857 +Patch15: boost-1.50.0-pool.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=909888 +Patch16: boost-1.53.0-context.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=984346 +# https://svn.boost.org/trac/boost/ticket/7242 +Patch17: boost-1.53.0-static_assert-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8826 +Patch22: boost-1.54.0-context-execstack.patch + +# https://svn.boost.org/trac/boost/ticket/8844 +Patch23: boost-1.54.0-bind-static_assert.patch + +# https://svn.boost.org/trac/boost/ticket/8847 +Patch24: boost-1.54.0-concept-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/5637 +Patch25: boost-1.54.0-mpl-print.patch + +# https://svn.boost.org/trac/boost/ticket/8859 +Patch26: boost-1.54.0-static_warning-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8855 +Patch27: boost-1.54.0-math-unused_typedef.patch +Patch28: boost-1.54.0-math-unused_typedef-2.patch +Patch29: boost-1.53.0-fpclassify-unused_typedef.patch +Patch30: boost-1.53.0-math-unused_typedef-3.patch + +# https://svn.boost.org/trac/boost/ticket/8853 +Patch31: boost-1.54.0-tuple-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8854 +Patch32: boost-1.54.0-random-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8856 +Patch33: boost-1.54.0-date_time-unused_typedef.patch +Patch34: boost-1.54.0-date_time-unused_typedef-2.patch + +# https://svn.boost.org/trac/boost/ticket/8870 +Patch35: boost-1.54.0-spirit-unused_typedef.patch +Patch36: boost-1.54.0-spirit-unused_typedef-2.patch + +# https://svn.boost.org/trac/boost/ticket/8871 +Patch37: boost-1.54.0-numeric-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8872 +Patch38: boost-1.54.0-multiprecision-unused_typedef.patch + +# These are already fixed in 1.54.0+ +Patch39: boost-1.53.0-lexical_cast-unused_typedef.patch +Patch40: boost-1.53.0-regex-unused_typedef.patch +Patch41: boost-1.53.0-thread-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8874 +Patch42: boost-1.54.0-unordered-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8876 +Patch43: boost-1.54.0-algorithm-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8877 +Patch44: boost-1.53.0-graph-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8878 +Patch45: boost-1.54.0-locale-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8879 +Patch46: boost-1.54.0-property_tree-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8880 +Patch47: boost-1.54.0-xpressive-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8881 +Patch48: boost-1.54.0-mpi-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8888 +Patch49: boost-1.54.0-python-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/9038 +Patch51: boost-1.54.0-pool-test_linking.patch + +# https://svn.boost.org/trac/boost/ticket/9037 +Patch52: boost-1.54.0-thread-cond_variable_shadow.patch + +# This was already fixed upstream, so no tracking bug. +Patch53: boost-1.54.0-pool-max_chunks_shadow.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1018355 +Patch54: boost-1.53.0-mpi-version_type.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1070789 +Patch55: boost-1.53.0-buildflags.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1002578 +# https://svn.boost.org/trac/boost/ticket/9065 +Patch56: boost-1.54.0-interprocess-atomic_cas32-ppc.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1134058 +# https://svn.boost.org/trac/boost/ticket/7421 +Patch57: boost-1.53.0-lexical_cast.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1298227 +# https://github.com/boostorg/asio/pull/23 +Patch58: boost-1.53.0-no-ssl3.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1302120 +Patch61: boost-1.53.0-python-libpython_dep.patch +Patch62: boost-1.53.0-python-abi_letters.patch +Patch63: boost-1.53.0-python-test-PyImport_AppendInittab.patch +Patch64: boost-1.53.0-no-rpath.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1402516 +Patch70: boost-1.53-spirit-lexer.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1636817 +# https://www.boost.org/patches/1_54_0/002-date-time.patch +Patch71: boost-1.54.0-date-time.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1676674 +# https://svn.boost.org/trac10/ticket/8451 +Patch72: boost-1.53-joinable.patch + +%bcond_with tests +%bcond_with docs_generated + +%description +Boost provides free peer-reviewed portable C++ source libraries. The +emphasis is on libraries which work well with the C++ Standard +Library, in the hopes of establishing "existing practice" for +extensions and providing reference implementations so that the Boost +libraries are suitable for eventual standardization. (Some of the +libraries have already been included in the C++ 2011 standard and +others have been proposed to the C++ Standards Committee for inclusion +in future standards.) + +%package atomic +Summary: Run-Time component of boost atomic library +Group: System Environment/Libraries + +%description atomic + +Run-Time support for Boost.Atomic, a library that provides atomic data +types and operations on these data types, as well as memory ordering +constraints required for coordinating multiple threads through atomic +variables. + +%package chrono +Summary: Run-Time component of boost chrono library +Group: System Environment/Libraries +Requires: boost-system%{?_isa} = %{version}-%{release} + +%description chrono + +Run-Time support for Boost.Chrono, a set of useful time utilities. + +%if %{with context} +%package context +Summary: Run-Time component of boost context switching library +Group: System Environment/Libraries + +%description context + +Run-Time support for Boost.Context, a foundational library that +provides a sort of cooperative multitasking on a single thread. +%endif + +%package date-time +Summary: Run-Time component of boost date-time library +Group: System Environment/Libraries + +%description date-time + +Run-Time support for Boost Date Time, set of date-time libraries based +on generic programming concepts. + +%package filesystem +Summary: Run-Time component of boost filesystem library +Group: System Environment/Libraries +Requires: boost-system%{?_isa} = %{version}-%{release} + +%description filesystem + +Run-Time support for the Boost Filesystem Library, which provides +portable facilities to query and manipulate paths, files, and +directories. + +%package graph +Summary: Run-Time component of boost graph library +Group: System Environment/Libraries +Requires: boost-regex%{?_isa} = %{version}-%{release} + +%description graph + +Run-Time support for the BGL graph library. BGL interface and graph +components are generic, in the same sense as the the Standard Template +Library (STL). + +%package iostreams +Summary: Run-Time component of boost iostreams library +Group: System Environment/Libraries + +%description iostreams + +Run-Time support for Boost.IOStreams, a framework for defining streams, +stream buffers and i/o filters. + +%package locale +Summary: Run-Time component of boost locale library +Group: System Environment/Libraries +Requires: boost-chrono%{?_isa} = %{version}-%{release} +Requires: boost-system%{?_isa} = %{version}-%{release} +Requires: boost-thread%{?_isa} = %{version}-%{release} + +%description locale + +Run-Time support for Boost.Locale, a set of localization and Unicode +handling tools. + +%package math +Summary: Math functions for boost TR1 library +Group: System Environment/Libraries + +%description math + +Run-Time support for C99 and C++ TR1 C-style Functions from math +portion of Boost.TR1. + +%package program-options +Summary: Run-Time component of boost program_options library +Group: System Environment/Libraries + +%description program-options + +Run-Time support of boost program options library, which allows program +developers to obtain (name, value) pairs from the user, via +conventional methods such as command line and configuration file. + +%package python +Summary: Run-Time component of boost python library +Group: System Environment/Libraries + +%description python + +The Boost Python Library is a framework for interfacing Python and +C++. It allows you to quickly and seamlessly expose C++ classes +functions and objects to Python, and vice versa, using no special +tools -- just your C++ compiler. This package contains run-time +support for Boost Python Library. + +%if %{with python3} + +%package python3 +Summary: Run-Time component of boost python library for Python 3 +Group: System Environment/Libraries + +%description python3 + +The Boost Python Library is a framework for interfacing Python and +C++. It allows you to quickly and seamlessly expose C++ classes +functions and objects to Python, and vice versa, using no special +tools -- just your C++ compiler. This package contains run-time +support for Boost Python Library compiled for Python 3. + +%package python3-devel +Summary: Shared object symbolic links for Boost.Python 3 +Group: System Environment/Libraries +Requires: boost-python3%{?_isa} = %{version}-%{release} +Requires: boost-devel%{?_isa} = %{version}-%{release} + +%description python3-devel + +Shared object symbolic links for Python 3 variant of Boost.Python. + +%endif + +%package random +Summary: Run-Time component of boost random library +Group: System Environment/Libraries + +%description random + +Run-Time support for boost random library. + +%package regex +Summary: Run-Time component of boost regular expression library +Group: System Environment/Libraries + +%description regex + +Run-Time support for boost regular expression library. + +%package serialization +Summary: Run-Time component of boost serialization library +Group: System Environment/Libraries + +%description serialization + +Run-Time support for serialization for persistence and marshaling. + +%package signals +Summary: Run-Time component of boost signals and slots library +Group: System Environment/Libraries + +%description signals + +Run-Time support for managed signals & slots callback implementation. + +%package system +Summary: Run-Time component of boost system support library +Group: System Environment/Libraries + +%description system + +Run-Time component of Boost operating system support library, including +the diagnostics support that will be part of the C++0x standard +library. + +%package test +Summary: Run-Time component of boost test library +Group: System Environment/Libraries + +%description test + +Run-Time support for simple program testing, full unit testing, and for +program execution monitoring. + +%package thread +Summary: Run-Time component of boost thread library +Group: System Environment/Libraries +Requires: boost-system%{?_isa} = %{version}-%{release} + +%description thread + +Run-Time component Boost.Thread library, which provides classes and +functions for managing multiple threads of execution, and for +synchronizing data between the threads or providing separate copies of +data specific to individual threads. + +%package timer +Summary: Run-Time component of boost timer library +Group: System Environment/Libraries +Requires: boost-chrono%{?_isa} = %{version}-%{release} +Requires: boost-system%{?_isa} = %{version}-%{release} + +%description timer + +"How long does my C++ code take to run?" +The Boost Timer library answers that question and does so portably, +with as little as one #include and one additional line of code. + +%package wave +Summary: Run-Time component of boost C99/C++ pre-processing library +Group: System Environment/Libraries +Requires: boost-chrono%{?_isa} = %{version}-%{release} +Requires: boost-date-time%{?_isa} = %{version}-%{release} +Requires: boost-filesystem%{?_isa} = %{version}-%{release} +Requires: boost-system%{?_isa} = %{version}-%{release} +Requires: boost-thread%{?_isa} = %{version}-%{release} + +%description wave + +Run-Time support for the Boost.Wave library, a Standards conforming, +and highly configurable implementation of the mandated C99/C++ +pre-processor functionality. + +%package devel +Summary: The Boost C++ headers and shared development libraries +Group: Development/Libraries +Requires: boost%{?_isa} = %{version}-%{release} +Provides: boost-python-devel = %{version}-%{release} + +%description devel +Headers and shared object symbolic links for the Boost C++ libraries. + +%package static +Summary: The Boost C++ static development libraries +Group: Development/Libraries +Requires: boost-devel%{?_isa} = %{version}-%{release} +Obsoletes: boost-devel-static < 1.34.1-14 +Provides: boost-devel-static = %{version}-%{release} + +%description static +Static Boost C++ libraries. + +%package doc +Summary: HTML documentation for the Boost C++ libraries +Group: Documentation +%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 +BuildArch: noarch +%endif +Provides: boost-python-docs = %{version}-%{release} + +%description doc +This package contains the documentation in the HTML format of the Boost C++ +libraries. The documentation provides the same content as that on the Boost +web page (http://www.boost.org/doc/libs/1_40_0). + +%package examples +Summary: Source examples for the Boost C++ libraries +Group: Documentation +%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 +BuildArch: noarch +%endif +Requires: boost-devel = %{version}-%{release} + +%description examples +This package contains example source files distributed with boost. + + +%if %{with openmpi} + +%package openmpi +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +Requires: openmpi%{?_isa} +BuildRequires: openmpi-devel +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description openmpi + +Run-Time support for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package openmpi-devel +Summary: Shared library symbolic links for Boost.MPI +Group: System Environment/Libraries +Requires: boost-devel%{?_isa} = %{version}-%{release} +Requires: boost-openmpi%{?_isa} = %{version}-%{release} +Requires: boost-openmpi-python%{?_isa} = %{version}-%{release} +Requires: boost-graph-openmpi%{?_isa} = %{version}-%{release} + +%description openmpi-devel + +Devel package for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package openmpi-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: boost-openmpi%{?_isa} = %{version}-%{release} +Requires: boost-python%{?_isa} = %{version}-%{release} +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description openmpi-python + +Python support for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package graph-openmpi +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: boost-openmpi%{?_isa} = %{version}-%{release} +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description graph-openmpi + +Run-Time support for the Parallel BGL graph library. The interface and +graph components are generic, in the same sense as the the Standard +Template Library (STL). This libraries in this package use OpenMPI +back-end to do the parallel work. + +%endif + + +%if %{with mpich} + +%package mpich +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +Requires: mpich%{?_isa} +BuildRequires: mpich-devel +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description mpich + +Run-Time support for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package mpich-devel +Summary: Shared library symbolic links for Boost.MPI +Group: System Environment/Libraries +Requires: boost-devel%{?_isa} = %{version}-%{release} +Requires: boost-mpich%{?_isa} = %{version}-%{release} +Requires: boost-mpich-python%{?_isa} = %{version}-%{release} +Requires: boost-graph-mpich%{?_isa} = %{version}-%{release} + +%description mpich-devel + +Devel package for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package mpich-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: boost-mpich%{?_isa} = %{version}-%{release} +Requires: boost-python%{?_isa} = %{version}-%{release} +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description mpich-python + +Python support for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package graph-mpich +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: boost-mpich%{?_isa} = %{version}-%{release} +Requires: boost-serialization%{?_isa} = %{version}-%{release} + +%description graph-mpich + +Run-Time support for the Parallel BGL graph library. The interface and +graph components are generic, in the same sense as the the Standard +Template Library (STL). This libraries in this package use MPICH +back-end to do the parallel work. + +%endif + +%package build +Summary: Cross platform build system for C++ projects +Group: Development/Tools +Requires: boost-jam +BuildArch: noarch + +%description build +Boost.Build is an easy way to build C++ projects, everywhere. You name +your pieces of executable and libraries and list their sources. Boost.Build +takes care about compiling your sources with the right options, +creating static and shared libraries, making pieces of executable, and other +chores -- whether you're using GCC, MSVC, or a dozen more supported +C++ compilers -- on Windows, OSX, Linux and commercial UNIX systems. + +%package jam +Summary: A low-level build tool +Group: Development/Tools + +%description jam +Boost.Jam (BJam) is the low-level build engine tool for Boost.Build. +Historically, Boost.Jam is based on on FTJam and on Perforce Jam but has grown +a number of significant features and is now developed independently + +%prep +%setup -q -n %{toplev_dirname} + +# Fixes +%patch4 -p1 +%patch5 -p1 +%patch7 -p2 +%patch9 -p1 +%patch10 -p1 +%patch15 -p0 +%patch16 -p1 +%patch17 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p0 +%patch26 -p1 +%patch27 -p1 +%patch28 -p0 +%patch29 -p1 +%patch30 -p1 +%patch31 -p0 +%patch32 -p0 +%patch33 -p0 +%patch34 -p1 +%patch35 -p1 +%patch36 -p1 +%patch37 -p1 +%patch38 -p1 +%patch39 -p1 +%patch40 -p1 +%patch41 -p1 +%patch42 -p1 +%patch43 -p1 +%patch44 -p1 +%patch45 -p1 +%patch46 -p1 +%patch47 -p1 +%patch48 -p1 +%patch49 -p1 +%patch51 -p1 +%patch52 -p1 +%patch53 -p1 +%patch54 -p1 +%patch55 -p1 -b .buildflags +%patch56 -p1 +%patch57 -p2 +%patch58 -p1 +%patch61 -p1 +%patch62 -p1 +%patch63 -p1 +%patch64 -p1 +%patch70 -p2 +%patch71 -p1 +%patch72 -p0 + +# At least python2_version needs to be a macro so that it's visible in +# %%install as well. +%global python2_version %(/usr/bin/python2 %{SOURCE1}) +%if %{with python3} +%global python3_version %(/usr/bin/python3 %{SOURCE1}) +%global python3_abiflags %(/usr/bin/python3-config --abiflags) +%endif + +%build +: PYTHON2_VERSION=%{python2_version} +%if %{with python3} +: PYTHON3_VERSION=%{python3_version} +: PYTHON3_ABIFLAGS=%{python3_abiflags} +%endif + +cat >> ./tools/build/v2/user-config.jam << EOF +# There are many strict aliasing warnings, and it's not feasible to go +# through them all at this time. +using gcc : : : "$RPM_OPT_FLAGS -fno-strict-aliasing" ; +%if %{with openmpi} || %{with mpich} +using mpi ; +%endif +%if %{with python3} +# This _adds_ extra python version. It doesn't replace whatever +# python 2.X is default on the system. +using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{python3_version}%{python3_abiflags} : : : : %{python3_abiflags} ; +%endif +EOF + +./bootstrap.sh --with-toolset=gcc --with-icu +sed 's/%%{version}/%{version}/g' %{SOURCE2} > $(basename %{SOURCE2}) + +# N.B. When we build the following with PCH, parts of boost (math +# library in particular) end up being built second time during +# installation. Unsure why that is, but all sub-builds need to be +# built with pch=off to avoid this. +# +# The "python=2.*" bit tells jam that we want to _also_ build 2.*, not +# just 3.*. When omitted, it just builds for python 3 twice, once +# calling the library libboost_python and once libboost_python3. I +# assume this is for backward compatibility for apps that are used to +# linking against -lboost_python, for when 2->3 transition is +# eventually done. + +echo ============================= build serial ================== +./b2 -d+2 -q %{?_smp_mflags} --layout=tagged \ + --without-mpi --without-graph_parallel --build-dir=serial \ +%if !%{with context} + --without-context \ +%endif + variant=release threading=single,multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# Build MPI parts of Boost with OpenMPI support + +%if %{with openmpi} || %{with mpich} +# First, purge all modules so that user environment doesn't conflict +# with the build. +module purge ||: +%endif + +# N.B. python=2.* here behaves differently: it exactly selects a +# version that we want to build against. Boost MPI is not portable to +# Python 3 due to API changes in Python, so this suits us. +%if %{with openmpi} +%{_openmpi_load} +echo ============================= build $MPI_COMPILER ================== +# This doesn't seem to allow single-threaded builds anymore. +./b2 -d+2 -q %{?_smp_mflags} --layout=tagged \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage +%{_openmpi_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +# Build MPI parts of Boost with MPICH support +%if %{with mpich} +%{_mpich_load} +echo ============================= build $MPI_COMPILER ================== +./b2 -d+2 -q %{?_smp_mflags} --layout=tagged \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage +%{_mpich_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +echo ============================= build Boost.Build ================== +(cd tools/build/v2 + ./bootstrap.sh --with-toolset=gcc) + +%check +: + + +%install +rm -rf $RPM_BUILD_ROOT + +cd %{_builddir}/%{toplev_dirname} + +%if %{with openmpi} || %{with mpich} +# First, purge all modules so that user environment doesn't conflict +# with the build. +module purge ||: +%endif + +%if %{with openmpi} +%{_openmpi_load} +echo ============================= install $MPI_COMPILER ================== +./b2 -q %{?_smp_mflags} --layout=tagged \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# Remove generic parts of boost that were built for dependencies. +rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}* + +%{_openmpi_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +%if %{with mpich} +%{_mpich_load} +echo ============================= install $MPI_COMPILER ================== +./b2 -q %{?_smp_mflags} --layout=tagged \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# Remove generic parts of boost that were built for dependencies. +rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}* + +%{_mpich_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +echo ============================= install serial ================== +./b2 -d+2 -q %{?_smp_mflags} --layout=tagged \ + --without-mpi --without-graph_parallel --build-dir=serial \ +%if !%{with context} + --without-context \ +%endif + --prefix=$RPM_BUILD_ROOT%{_prefix} \ + --libdir=$RPM_BUILD_ROOT%{_libdir} \ + variant=release threading=single,multi debug-symbols=on pch=off \ + python=%{python2_version} install + +# Override DSO symlink with a linker script. See the linker script +# itself for details of why we need to do this. +[ -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread-mt.so ] # Must be present +rm -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread-mt.so +install -p -m 644 $(basename %{SOURCE2}) $RPM_BUILD_ROOT%{_libdir}/ + +# Add symlinks libboost_{thread,locale,atomic}.so -> *-mt.so +# https://bugzilla.redhat.com/show_bug.cgi?id=971956 +ln -s libboost_thread-mt.so $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so +ln -s libboost_locale-mt.so $RPM_BUILD_ROOT%{_libdir}/libboost_locale.so +ln -s libboost_atomic-mt.so $RPM_BUILD_ROOT%{_libdir}/libboost_atomic.so +# Check that we didn't forget about anything. +find $RPM_BUILD_ROOT%{_libdir} -maxdepth 1 -name libboost_\*-mt.so \ + | while read a; do test -e ${a/-mt/} || exit 1; done + +echo ============================= install Boost.Build ================== +(cd tools/build/v2 + ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install + # Fix some permissions + chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/build/alias.py + chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/tools/doxproc.py + # We don't want to distribute this + rm -f $RPM_BUILD_ROOT%{_bindir}/b2 + # Not a real file + rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/build/project.ann.py + # Empty file + rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/tools/doxygen/windows-paths-check.hpp + # Install the manual page + %{__install} -p -m 644 doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1 + # Install the unpatched gcc.jam + %{__install} -p -m 644 tools/gcc.jam.buildflags -D $RPM_BUILD_ROOT%{_datadir}/boost-build/tools/gcc.jam +) + +# Install documentation files (HTML pages) within the temporary place +echo ============================= install documentation ================== +# Prepare the place to temporary store the generated documentation +rm -rf %{boost_docdir} && %{__mkdir_p} %{boost_docdir}/html +DOCPATH=%{boost_docdir} +DOCREGEX='.*\.\(html?\|css\|png\|gif\)' + +find libs doc more -type f -regex $DOCREGEX \ + | sed -n '/\//{s,/[^/]*$,,;p}' \ + | sort -u > tmp-doc-directories + +sed "s:^:$DOCPATH/:" tmp-doc-directories \ + | xargs --no-run-if-empty %{__install} -d + +cat tmp-doc-directories | while read tobeinstalleddocdir; do + find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -regex $DOCREGEX \ + | xargs %{__install} -p -m 644 -t $DOCPATH/$tobeinstalleddocdir +done +rm -f tmp-doc-directories +%{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html boost.png rst.css boost.css + +echo ============================= install examples ================== +# Fix a few non-standard issues (DOS and/or non-UTF8 files) +sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.cpp +sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.vcproj +for tmp_doc_file in flyweight/example/Jamfile.v2 \ + format/example/sample_new_features.cpp multi_index/example/Jamfile.v2 \ + multi_index/example/hashed.cpp serialization/example/demo_output.txt \ + test/example/cla/wide_string.cpp +do + mv libs/${tmp_doc_file} libs/${tmp_doc_file}.iso8859 + iconv -f ISO8859-1 -t UTF8 < libs/${tmp_doc_file}.iso8859 > libs/${tmp_doc_file} + touch -r libs/${tmp_doc_file}.iso8859 libs/${tmp_doc_file} + rm -f libs/${tmp_doc_file}.iso8859 +done + +# Prepare the place to temporary store the examples +rm -rf %{boost_examplesdir} && mkdir -p %{boost_examplesdir}/html +EXAMPLESPATH=%{boost_examplesdir} +find libs -type d -name example -exec find {} -type f \; \ + | sed -n '/\//{s,/[^/]*$,,;p}' \ + | sort -u > tmp-doc-directories +sed "s:^:$EXAMPLESPATH/:" tmp-doc-directories \ + | xargs --no-run-if-empty %{__install} -d +rm -f tmp-doc-files-to-be-installed && touch tmp-doc-files-to-be-installed +cat tmp-doc-directories | while read tobeinstalleddocdir +do + find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -type f \ + >> tmp-doc-files-to-be-installed +done +cat tmp-doc-files-to-be-installed | while read tobeinstalledfiles +do + if test -s $tobeinstalledfiles + then + tobeinstalleddocdir=`dirname $tobeinstalledfiles` + %{__install} -p -m 644 -t $EXAMPLESPATH/$tobeinstalleddocdir $tobeinstalledfiles + fi +done +rm -f tmp-doc-files-to-be-installed +rm -f tmp-doc-directories +%{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt + +%clean +rm -rf $RPM_BUILD_ROOT + + +# MPI subpackages don't need the ldconfig magic. They are hidden by +# default, in MPI back-end-specific directory, and only show to the +# user after the relevant environment module has been loaded. +# rpmlint will report that as errors, but it is fine. + +%post atomic -p /sbin/ldconfig + +%postun atomic -p /sbin/ldconfig + +%post chrono -p /sbin/ldconfig + +%postun chrono -p /sbin/ldconfig + +%if %{with context} +%post context -p /sbin/ldconfig + +%postun context -p /sbin/ldconfig +%endif + +%post date-time -p /sbin/ldconfig + +%postun date-time -p /sbin/ldconfig + +%post filesystem -p /sbin/ldconfig + +%postun filesystem -p /sbin/ldconfig + +%post graph -p /sbin/ldconfig + +%postun graph -p /sbin/ldconfig + +%post iostreams -p /sbin/ldconfig + +%postun iostreams -p /sbin/ldconfig + +%post locale -p /sbin/ldconfig + +%postun locale -p /sbin/ldconfig + +%post math -p /sbin/ldconfig + +%postun math -p /sbin/ldconfig + +%post program-options -p /sbin/ldconfig + +%postun program-options -p /sbin/ldconfig + +%post python -p /sbin/ldconfig + +%postun python -p /sbin/ldconfig + +%post random -p /sbin/ldconfig + +%postun random -p /sbin/ldconfig + +%post regex -p /sbin/ldconfig + +%postun regex -p /sbin/ldconfig + +%post serialization -p /sbin/ldconfig + +%postun serialization -p /sbin/ldconfig + +%post signals -p /sbin/ldconfig + +%postun signals -p /sbin/ldconfig + +%post system -p /sbin/ldconfig + +%postun system -p /sbin/ldconfig + +%post test -p /sbin/ldconfig + +%postun test -p /sbin/ldconfig + +%post thread -p /sbin/ldconfig + +%postun thread -p /sbin/ldconfig + +%post timer -p /sbin/ldconfig + +%postun timer -p /sbin/ldconfig + +%post wave -p /sbin/ldconfig + +%postun wave -p /sbin/ldconfig + + + +%files +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt + +%files atomic +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_atomic-mt.so.%{sonamever} + +%files chrono +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_chrono*.so.%{sonamever} + +%if %{with context} +%files context +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_context*.so.%{sonamever} +%endif + +%files date-time +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_date_time*.so.%{sonamever} + +%files filesystem +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_filesystem*.so.%{sonamever} + +%files graph +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_graph.so.%{sonamever} +%{_libdir}/libboost_graph-mt.so.%{sonamever} + +%files iostreams +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_iostreams*.so.%{sonamever} + +%files locale +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_locale*.so.%{sonamever} + +%files math +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_math*.so.%{sonamever} + +%files test +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_prg_exec_monitor*.so.%{sonamever} +%{_libdir}/libboost_unit_test_framework*.so.%{sonamever} + +%files program-options +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_program_options*.so.%{sonamever} + +%files python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python.so.%{sonamever} +%{_libdir}/libboost_python-mt.so.%{sonamever} + +%if %{with python3} +%files python3 +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python3*.so.%{sonamever} + +%files python3-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python3*.so +%endif + +%files random +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_random*.so.%{sonamever} + +%files regex +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_regex*.so.%{sonamever} + +%files serialization +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_serialization*.so.%{sonamever} +%{_libdir}/libboost_wserialization*.so.%{sonamever} + +%files signals +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_signals*.so.%{sonamever} + +%files system +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_system*.so.%{sonamever} + +%files thread +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_thread*.so.%{sonamever} + +%files timer +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_timer*.so.%{sonamever} + +%files wave +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_wave*.so.%{sonamever} + +%files doc +%defattr(-, root, root, -) +%doc %{boost_docdir}/* + +%files examples +%defattr(-, root, root, -) +%doc %{boost_examplesdir}/* + +%files devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_includedir}/%{name} +%{_libdir}/libboost_atomic*.so +%{_libdir}/libboost_chrono*.so +%if %{with context} +%{_libdir}/libboost_context*.so +%endif +%{_libdir}/libboost_date_time*.so +%{_libdir}/libboost_filesystem*.so +%{_libdir}/libboost_graph.so +%{_libdir}/libboost_graph-mt.so +%{_libdir}/libboost_iostreams*.so +%{_libdir}/libboost_locale*.so +%{_libdir}/libboost_math*.so +%{_libdir}/libboost_prg_exec_monitor*.so +%{_libdir}/libboost_unit_test_framework*.so +%{_libdir}/libboost_program_options*.so +%{_libdir}/libboost_python-mt.so +%{_libdir}/libboost_python.so +%{_libdir}/libboost_random*.so +%{_libdir}/libboost_regex*.so +%{_libdir}/libboost_serialization*.so +%{_libdir}/libboost_wserialization*.so +%{_libdir}/libboost_signals*.so +%{_libdir}/libboost_system*.so +%{_libdir}/libboost_thread*.so +%{_libdir}/libboost_timer*.so +%{_libdir}/libboost_wave*.so + +%files static +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/*.a +%if %{with mpich} +%{_libdir}/mpich/lib/*.a +%endif +%if %{with openmpi} +%{_libdir}/openmpi/lib/*.a +%endif + +# OpenMPI packages +%if %{with openmpi} + +%files openmpi +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_mpi-mt.so.%{sonamever} + +%files openmpi-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_*.so + +%files openmpi-python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_mpi_python*.so.%{sonamever} +%{_libdir}/openmpi/lib/mpi.so + +%files graph-openmpi +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_graph_parallel-mt.so.%{sonamever} + +%endif + +# MPICH packages +%if %{with mpich} + +%files mpich +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_mpi-mt.so.%{sonamever} + +%files mpich-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_*.so + +%files mpich-python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_mpi_python*.so.%{sonamever} +%{_libdir}/mpich/lib/mpi.so + +%files graph-mpich +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_graph_parallel-mt.so.%{sonamever} + +%endif + +%files build +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_datadir}/boost-build/ + +%files jam +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_bindir}/bjam +%{_mandir}/man1/bjam.1* + +%changelog +* Wed Feb 13 2019 Jonathan Wakely - 1.53.0-28 +- Add patch for scoped_thread (#1676674) + +* Mon Oct 08 2018 Jonathan Wakely - 1.53.0-28 +- Add patch for date-time bug (#1636817) + +* Tue Feb 21 2017 Jonathan Wakely - 1.53.0-27 +- Patch Boost.Spirit for ppc64 (#1402516) + +* Fri Jun 10 2016 Jonathan Wakely - 1.53.0-26 +- Install unpatched gcc.jam (#1305019). +- Build libboost_python and libboost_python3 such that they depend on + their respective libpython (#1302120). + (boost-1.53.0-python-libpython_dep.patch, + boost-1.53.0-python-abi_letters.patch) +- Fix Boost.Python test suite so that PyImport_AppendInittab is called + before PyInitialize, which broke the test suite with Python 3. + (boost-1.53.0-python-test-PyImport_AppendInittab.patch) +- Patch gcc.jam to not add bogus rpaths. + +* Mon Jun 06 2016 Jonathan Wakely - 1.53.0-26 +- do not use arch-specific BuildRequires (#1268268) +- support TLS libraries without SSLv3 (#1298227) + +* Tue Sep 01 2015 Jonathan Wakely - 1.53.0-25 +- Rebuilt for openmpi update (#1258794) + +* Thu Jan 8 2015 Petr Machata - 1.53.0-24 +- Change Requires: to use %%{?_isa}, so that dependencies are + arch-aware. + +* Mon Sep 22 2014 Petr Machata - 1.53.0-23 +- Fix ambiguity in Boost.LexicalCast. + +* Wed Sep 10 2014 Petr Machata - 1.53.0-22 +- Re-enable mpich and openmpi on aarch64, they are available now. + +* Fri Aug 22 2014 Petr Machata - 1.53.0-21 +- Fix atomic_cas32 (thanks Jaroslav Škarvada for figuring out where + the problem is) (boost-1.54.0-interprocess-atomic_cas32-ppc.patch) + +* Fri Aug 8 2014 Petr Machata - 1.53.0-20 +- Disable mpich and openmpi support for ppc64le until port available. + +* Fri Feb 28 2014 Petr Machata - 1.53.0-18 +- Turn off build flags pre-set by Boost distribution. + (boost-1.53.0-buildflags.patch) +- Pass RPM_OPT_FLAGS through user-config.jam. + +* Wed Feb 19 2014 Petr Machata - 1.53.0-15 +- Fix misunderstanding of Boost.MPI about widths of some + Boost.Serialization types. (boost-1.53.0-mpi-version_type.patch) + +* Tue Feb 4 2014 Brendan Conoboy - 1.53.0-16.1 +- Disable mpich and openmpi support for aarch64 until port available. + +* Fri Jan 24 2014 Daniel Mach - 1.53.0-16 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.53.0-15 +- Mass rebuild 2013-12-27 + +* Wed Oct 2 2013 Petr Machata - 1.53.0-14 +- MPICH2 became MPICH -- rename subpackages, dependencies and + conditionals. +- Resolves: #1014480 + +* Fri Aug 23 2013 Petr Machata - 1.53.0-13 +- Fix compilation of Boost.Pool test cases + (boost-1.54.0-pool-test_linking.patch) +- Fix -Wshadow warnings in Boost.Pool + (boost-1.54.0-pool-max_chunks_shadow.patch) + -Wshadow warnings in Boost.Thread + (boost-1.54.0-thread-cond_variable_shadow.patch) + +* Wed Jul 24 2013 Petr Machata - 1.53.0-9 +- Add explicit dependencies between some of the boost sub-packages + +* Fri Jul 19 2013 Petr Machata - 1.53.0-8 +- Install supporting files (images etc.) for documentation + (courtesy Marcel Metz, bug 985593) +- Add many patches for silencing unused local typedef warnings + (boost-1.53.0-static_assert-unused_typedef.patch, + boost-1.54.0-bind-static_assert.patch, + boost-1.54.0-concept-unused_typedef.patch, + boost-1.54.0-static_warning-unused_typedef.patch, + boost-1.54.0-math-unused_typedef.patch, + boost-1.54.0-math-unused_typedef-2.patch, + boost-1.53.0-fpclassify-unused_typedef.patch, + boost-1.54.0-math-unused_typedef-3.patch, + boost-1.54.0-tuple-unused_typedef.patch, + boost-1.54.0-random-unused_typedef.patch, + boost-1.54.0-date_time-unused_typedef.patch, + boost-1.54.0-date_time-unused_typedef-2.patch, + boost-1.54.0-spirit-unused_typedef.patch, + boost-1.54.0-spirit-unused_typedef-2.patch, + boost-1.54.0-numeric-unused_typedef.patch, + boost-1.54.0-multiprecision-unused_typedef.patch, + boost-1.53.0-lexical_cast-unused_typedef.patch, + boost-1.53.0-regex-unused_typedef.patch, + boost-1.53.0-thread-unused_typedef.patch, + boost-1.54.0-unordered-unused_typedef.patch, + boost-1.54.0-algorithm-unused_typedef.patch, + boost-1.53.0-graph-unused_typedef.patch, + boost-1.54.0-locale-unused_typedef.patch, + boost-1.54.0-property_tree-unused_typedef.patch, + boost-1.54.0-xpressive-unused_typedef.patch, + boost-1.54.0-mpi-unused_typedef.patch, + boost-1.54.0-python-unused_typedef.patch) +- Add a patch to turn off execstack in Boost.Context + (boost-1.54.0-context-execstack.patch) +- Fix boost::mpl::print on GCC (boost-1.54.0-mpl-print.patch) + +* Thu Jun 27 2013 Petr Machata - 1.53.0-7 +- Add symlinks for /usr/lib/libboost_{thread,locale}.so -> *-mt.so + +* Wed Mar 6 2013 Petr Machata - 1.53.0-6 +- libboost_context.so must be guarded by conditional in the expanded + filelist at boost-devel. + +* Tue Mar 5 2013 Petr Machata - 1.53.0-5 +- Split off Python 3 DSO symlink to a separate subpackage + boost-python3-devel. This makes it possible to install + boost-devel separately, without Python 3 support. +- Build with -fno-strict-aliasing + +* Wed Feb 27 2013 Petr Machata - 1.53.0-4 +- Make Boost.Context support conditional + +* Mon Feb 11 2013 Petr Machata - 1.53.0-3 +- Fix Boost.Context on ppc64 +- Future-proof the linker script boost_thread-mt.so + +* Sun Feb 10 2013 Denis Arnaud - 1.53.0-2 +- Fixed the libboost_thread-mt.so script (which wrongly referred to Boost-1.50) + +* Fri Feb 8 2013 Petr Machata - 1.53.0-1 +- Upstream 1.53.0 beta1 + - Drop boost-1.50.0-signals-erase.patch + - Port boost-1.50.0-attribute.patch + - Drop boost-1.50.0-polygon.patch + - New sub-packages boost-atomic and boost-context + +* Sat Jan 26 2013 Peter Robinson 1.50.0-7 +- Rebuild for icu soname bump + +* Sat Nov 03 2012 Denis Arnaud - 1.50.0-6 +- Rebuild for the new MPICH2 (and libmpich2 soname bump) + +* Thu Aug 16 2012 Petr Machata - 1.50.0-5 +- Update %%description to reflect current state of C++ + standardization. Courtesy of Jonathan Wakely. (#837813) + +* Wed Aug 15 2012 Petr Machata - 1.50.0-4 +- Override boost_thread-mt.so with a linker script that brings in + Boost.System DSO as well. + +* Wed Aug 8 2012 Petr Machata - 1.50.0-3 +- boost-python3 shouldn't be under the overall boost umbrella + +* Tue Aug 7 2012 Petr Machata - 1.50.0-2 +- Enable Python 3 builds. This is still disabled in Boost MPI, which + doesn't seem to support Python 3 + +* Thu Jul 26 2012 Petr Machata - 1.50.0-1 +- Upstream 1.50 + - boost-cmake-soname.patch drop, upstream handles soname well, and + we haven't been doing manual numbering for several years now + - boost-1.48.0-cmakeify-full.patch drop, not necessary for bjam + - Rebase many patches, port others, courtesy of Denis Arnaud: + - boost-1.48.0-exceptions.patch drop + - boost-1.48.0-lexical_cast-incomplete.patch drop + - boost-1.48.0-gcc47-pthreads.patch drop + - boost-1.48.0-long-double.patch drop + - boost-1.48.0-xtime.patch drop + - boost-1.48.0-locale.patch drop + - boost-1.48.0-signals-erase.patch port + - boost-1.48.0-fix-non-utf8-files.patch port + - boost-1.48.0-foreach.patch port + - boost-1.48.0-attribute.patch port + - boost-1.48.0-long-double-1.patch port + - boost-1.48.0-polygon.patch port + - boost-1.48.0-pool.patch port + +* Wed Jul 18 2012 Fedora Release Engineering - 1.48.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 21 2012 Petr Machata - 1.48.0-16 +- Build Boost.Locale backends +- Resolves: #832265 + +* Wed Jun 6 2012 Petr Machata - 1.48.0-15 +- In Boost.Pool, be careful not to overflow allocated chunk size. +- Resolves: #828857 + +* Thu May 24 2012 Petr Machata - 1.48.0-14 +- Don't attempt to install Python 3 portions of boost when given + --without python3 +- glibc newly defines a macro TIME_UTC, which collides with + boost::TIME_UTC. We can't avoid expanding that macro, but the value + happens to be the same as that of boost::TIME_UTC. So drop enum + xtime_clock_types. Update boost to use macro TIME_UTC instead of + the scoped enum value. External clients will have to do the same. +- Resolves: #824810 +- BR on hwloc-devel shouldn't be required anymore (see #814798) + +* Wed May 2 2012 Petr Machata - 1.48.0-13 +- Support building boost-python against Python 3 +- Resolves: #807780 + +* Sun Apr 22 2012 Robert Scheck - 1.48.0-12 +- Included -math subpackage into umbrella package +- Added missing /sbin/ldconfig for -math subpackage + +* Fri Apr 20 2012 Petr Machata - 1.48.0-11 +- Add hwloc-devel BR to work around a probable bug in openmpi-devel + which fails to pull it in + +* Tue Feb 28 2012 Fedora Release Engineering - 1.48.0-10 +- Rebuilt for c++ ABI breakage + +* Wed Jan 25 2012 Petr Machata - 1.48.0-9 +- Only build the long double math libraries on arches that support + long double. +- ARM was considered unsupporting, because libc defines + __NO_LONG_DOUBLE_MATH. Ignore this setting, ARM has perfectly + working long double that just happens to be only as long as double. +- Resolves: #783660 +- Add a missing sort adaptor include to boost polygon +- Resolves: #784654 + +* Mon Jan 16 2012 Petr Machata - 1.48.0-8 +- Add underscores around several uses of __attribute__((X)) to prevent + interactions with user-defined macro X +- Resolves: #781859 + +* Sat Jan 14 2012 Denis Arnaud - 1.48.0-7 +- Added source source files for mingw cross-compilation of Boost.Locale. +- Resolves: #781751 + +* Sat Jan 7 2012 Denis Arnaud - 1.48.0-6 +- Added the Boost.Timer sub-package. Resolves: #772397 + +* Wed Jan 4 2012 Denis Arnaud - 1.48.0-5 +- Integrated into "upstream" (CMake-ified Boost) the Boost.TR1/Math patch. + +* Wed Jan 4 2012 Petr Machata - 1.48.0-4 +- Build math portion of Boost.TR1, package DSOs in boost-math. +- Resolves: #771370 + +* Tue Jan 3 2012 Petr Machata - 1.48.0-3 +- Add an upstream patch for BOOST_ENABLE_THREADS + +* Tue Nov 29 2011 Petr Machata - 1.48.0-2 +- Add an upstream patch for BOOST_FOREACH declaration issue #756005 +- Add a proposed patch for error in boost lexical_cast #757385 + +* Sat Nov 19 2011 Denis Arnaud - 1.48.0-1 +- Upgrade to Boost-1.48.0, adding two new header-only components + (Container and Move) and a new library (Locale). +- Resolves: #754865 +- Added a patch with a manual page for the bjam executable. +- Added a patch to fix the non-UTF8-encoded example source file. +- Re-worked a little bit the example section, so as to fix the + DOS-formatted and the ISO-8859-encoded files. + +* Thu Nov 3 2011 Petr Machata - 1.47.0-7 +- Use instead of C++11 header in boost math. +- Resolves: #751210 + +* Fri Sep 9 2011 Petr Machata - 1.47.0-6 +- Rebuild for libicu soname bump +- Hack /bin back to PATH after MPI module unload +- Resolves: #736890 + +* Tue Aug 30 2011 Petr Machata - 1.47.0-4 +- Drop BR bzip2-libs, which is brought it via bzip2-devel +- Source->Source0 +- Drop unnecessary BuildRoot tag +- Update License tag to include all licenses that are found in + sources. Python license is at the main package, not to the python + sub-package, because python22_fixed.h is in -devel. + - Related: #673839 +- Resolves: #225622 + +* Tue Jul 26 2011 Petr Machata - 1.47.0-3 +- Package examples +- Resolves: #722844 + +* Fri Jul 22 2011 Petr Machata - 1.47.0-2 +- Convert two throws in boost/numeric/conversion to + boost::throw_exception to allow compilation with -fno-exception +- Resolves: #724015 + +* Thu Jul 14 2011 Denis Arnaud - 1.47.0-1 +- Upgrade to Boost-1.47.0, adding three new header-only components + (Geometry, Phoenix, Ratio) and a new library (Chrono). + +* Sat Jun 18 2011 Peter Robinson - 1.46.1-4 +- Fix compile on ARM platforms + +* Mon Apr 4 2011 Petr Machata - 1.46.1-3 +- Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake. Passing + via CMAKE_CXX_FLAGS for some reason breaks when rpm re-quotes the + expression as a result of %%{optflags} expansion. +- Related: #667294 + +* Wed Mar 30 2011 Deji Akingunola - 1.46.1-2 +- Rebuild for mpich2 soname bump + +* Sun Mar 13 2011 Denis Arnaud - 1.46.1-1 +- Merged the latest changes from the bug-fix release of Boost-1.46 + +* Mon Mar 07 2011 Caolán McNamara - 1.46.0-0.5 +- rebuild for icu 4.6 + +* Thu Feb 24 2011 Denis Arnaud - 1.46.0-0.4 +- Merged the latest changes from the now final release of Boost-1.46 + +* Tue Feb 8 2011 Petr Machata - 1.46.0-0.3.beta1 +- spirit.patch: Fix a problem in using boost::spirit with utf-8 + strings. Thanks to Hicham HAOUARI for digging up the fix. + +* Mon Feb 07 2011 Fedora Release Engineering - 1.46.0-0.2.beta1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 3 2011 Petr Machata - 1.46.0-0.1.beta1 +- Package 1.46.0-beta1 +- Reintroduce the soname patch +- unordered-cctor.patch: Add copy constructors and assignment + operators when using rvalue references +- signals-erase.patch: Pass const_iterator to map::erase to avoid + ambigous overload vs. templatized value_type ctor +- Related: #656410 + +* Mon Jan 10 2011 Denis Arnaud - 1.44.0-7 +- Integrated Petr's work to fix missing Boost.Filesystem V3 issue +- Resolves: #667740 + +* Thu Jan 6 2011 Petr Machata - 1.44.0-6 +- Don't override CXXFLAGS with -DBOOST_IOSTREAMS_USE_DEPRECATED +- Resolves: #667294 + +* Mon Jan 3 2011 Petr Machata - 1.44.0-5 +- Add boost-random DSOs +- Resolves: #665679 + +* Wed Dec 8 2010 Petr Machata - 1.44.0-4 +- Build with support for iostreams deprecated functions +- Resolves: #654480 + +* Fri Dec 3 2010 Tom "spot" Callaway - 1.44.0-3 +- also package build-system.jam in boost-build + +* Tue Nov 30 2010 Tom "spot" Callaway - 1.44.0-2 +- add boost-build, boost-jam subpackages + +* Sat Oct 23 2010 Denis Arnaud - 1.44.0-1.1 +- Rebuild. + +* Sat Aug 21 2010 Denis Arnaud - 1.44.0-1 +- Split the CMake-buildable tar-ball into pristine upstream tar-ball + and CMake framework patch + +* Mon Aug 16 2010 Denis Arnaud - 1.44.0-0.6 +- Merged the latest changes from the now final release of Boost-1.44 + +* Fri Aug 6 2010 Denis Arnaud - 1.44.0-0.5 +- Patched header file in boost/random/detail. Resolves: #621631 + +* Sat Jul 31 2010 Denis Arnaud - 1.44.0-0.4 +- Added missing header files in boost/random/detail. Resolves: #619869 + +* Tue Jul 27 2010 Orcan Ogetbil - 1.44.0-0.3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Tue Jul 27 2010 Benjamin Kosnik - 1.44.0-0.2 +- Rebuild. + +* Fri Jul 23 2010 Denis Arnaud - 1.44.0-0.1 +- Upstream update: Boost-1.44 with CMake enabled +- Resolves: #607615 + +* Thu Jul 22 2010 David Malcolm - 1.41.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Jun 4 2010 Petr Machata - 1.41.0-12 +- Turn on mpich2 on s390. Add arm to the list of arches that openmpi + doesn't support. + +* Fri Jun 4 2010 Petr Machata - 1.41.0-12 +- Don't distribute cmake support files. +- Related: #597020 + +* Wed Jun 2 2010 Dan Horák - 1.41.0-11 +- don't build with mpich2/openmpi on s390/s390x + +* Mon May 10 2010 Petr Machata - 1.41.0-10 +- Add an upstream patch that fixes computation of CRC in zlib streams. +- Resolves: #590205 + +* Wed May 05 2010 Rex Dieter - 1.41.0-9 +- -devel: own %%{_datadir}/cmake/%%{name}/ +- -devel: Requires: cmake (for %%{_datadir}/cmake ownership) + +* Fri Apr 02 2010 Caolán McNamara - 1.41.0-8 +- rebuild for icu + +* Mon Feb 22 2010 Petr Machata - 1.41.0-7 +- Add a patch for serialization of shared pointers to non polymorphic + types + +* Tue Feb 2 2010 Petr Machata - 1.41.0-6 +- More subpackage interdependency adjustments + - boost doesn't bring in the MPI stuff. Instead, $MPI-devel does. + It needs to, so that the symbolic links don't dangle. + - boost-graph-$MPI depends on boost-$MPI so that boost-mpich2 + doesn't satisfy the SONAME dependency of boost-graph-openmpi. +- Resolves: #559009 + +* Mon Feb 1 2010 Denis Arnaud - 1.41.0-5 +- Various fixes on the specification +- Resolves: #559009 + +* Fri Jan 29 2010 Petr Machata - 1.41.0-5 +- Introduce support for both OpenMPI and MPICH2 +- Resolves: #559009 + +* Mon Jan 25 2010 Petr Machata - 1.41.0-4 +- Add a patch to build mapnik +- Resolves: #558383 + +* Tue Jan 19 2010 Petr Machata - 1.41.0-3 +- Generalize the soname selection + +* Mon Jan 18 2010 Denis Arnaud - 1.41.0-2.2 +- Further split the Boost.MPI sub-package into boost-mpi and + boost-mpi-python +- Changed the description of Boost.MPI according to the actual + dependency (MPICH2 rather than OpenMPI) +- Added a few details on the generation of the mpi.so library + +* Thu Jan 14 2010 Petr Machata - 1.41.0-2 +- Replace a boost-math subpackage with a stub +- Drop _cmake_lib_suffix and CMAKE_INSTALL_PREFIX magic, the rpm macro + does that for us +- Drop LICENSE from the umbrella package +- Drop obsolete Obsoletes: boost-python and boost-doc <= 1.30.2 + +* Tue Jan 12 2010 Benjamin Kosnik - 1.41.0-1 +- Don't package generated debug libs, even with + (-DCMAKE_BUILD_TYPE=RelWithDebInfo | Release). +- Update and include boost-cmake-soname.patch. +- Uncomment ctest. +- Fix up --with tests to run tests. + +* Sat Dec 19 2009 Denis Arnaud - 1.41.0-0.7 +- Switched off the delivery into a versioned sub-directory + +* Thu Dec 17 2009 Denis Arnaud - 1.41.0-0.6 +- Boost-CMake upstream integration + +* Wed Dec 16 2009 Benjamin Kosnik - 1.41.0-0.5 +- Rebase to 1.41.0 +- Set build type to RelWithDebInfo +- Resolves: #533922 + +* Mon Nov 16 2009 Denis Arnaud - 1.40.0-1 +- Add support for the Boost.MPI sub-package +- Build with CMake (https://svn.boost.org/trac/boost/wiki/CMake) +- Resolves: #529563 + +* Mon Nov 16 2009 Petr Machata - 1.39.0-11 +- Move comment in Patch13 out of line + +* Mon Nov 16 2009 Petr Machata - 1.39.0-10 +- translate_exception.hpp misses a include +- Related: #537612 + +* Thu Oct 15 2009 Petr Machata - 1.39.0-9 +- Package index.html in the -doc subpackage +- Resolves: #529030 + +* Wed Oct 14 2009 Petr Machata - 1.39.0-8 +- Several fixes to support PySide +- Resolves: #520087 +- GCC 4.4 name resolution fixes for GIL +- Resolves: #526834 + +* Sun Oct 11 2009 Jitesh Shah 1.39.0-7 +- Disable long double support for ARM + +* Tue Sep 08 2009 Karsten Hopp 1.39.0-6 +- bump release and rebuild as the package was linked with an old libicu + during the mass rebuild on s390x + +* Wed Aug 26 2009 Tomas Mraz - 1.39.0-5 +- Make it to be usable with openssl-1.0 + +* Fri Jul 24 2009 Fedora Release Engineering - 1.39.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 2 2009 Petr Machata - 1.39.0-3 +- Drop file list for main "boost" package, which was inadvertently left in. +- Add thread sub-package to capture omitted boost_thread. +- Add upstream patch to make boost_filesystem compatible with C++0x. +- Resolves: #496188 +- Resolves: #509250 + +* Mon May 11 2009 Benjamin Kosnik - 1.39.0-2 +- Apply patch from Caolan McNamara +- Resolves: #500030 function_template bug is back... + +* Thu May 07 2009 Benjamin Kosnik - 1.39.0-1 +- Update release. + +* Wed May 06 2009 Benjamin Kosnik - 1.39.0-0.3 +- Fixes for rpmlint. + +* Wed May 06 2009 Petr Machata - 1.39.0-0.2 +- Split up boost package to sub-packages per library +- Resolves: #496188 + +* Wed May 06 2009 Benjamin Kosnik - 1.39.0-0.1 +- Rebase to 1.39.0. +- Add --with docs_generated. +- #225622: Substitute optflags at prep time instead of RPM_OPT_FLAGS. + +* Mon May 04 2009 Benjamin Kosnik - 1.37.0-7 +- Rebuild for libicu bump. + +* Mon Mar 23 2009 Petr Machata - 1.37.0-6 +- Apply a SMP patch from Stefan Ring +- Apply a workaround for "cannot appear in a constant-expression" in + dynamic_bitset library. +- Resolves: #491537 + +* Mon Feb 23 2009 Fedora Release Engineering - 1.37.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jan 12 2009 Petr Machata - 1.37.0-3 +- Apply a unneccessary_iostreams patch from Caolan McNamara +- Fix soname patch so that it applies with fuzz=0. Use fuzz=0 option + in spec file just like ordinary patches do. +- Resolves: #479409 + +* Fri Dec 19 2008 Petr Machata - 1.37.0-2 +- Apply a function_template patch from Caolan McNamara +- Resolves: #477131 + +* Tue Dec 16 2008 Benjamin Kosnik - 1.37.0-1 +- Fix rpmlint rpath errors. +- Fix rpmlint warnings on tabs and spaces. +- Bump SONAME to 4 + +* Mon Nov 17 2008 Benjamin Kosnik - 1.37.0-0.1 +- Rebase to 1.37.0. + +* Tue Oct 21 2008 Benjamin Kosnik - 1.36.0-1 +- Rebase to 1.36.0. + +* Mon Oct 6 2008 Petr Machata - 1.34.1-17 +- Fix gcc43 patch to apply cleanly under --fuzz=0 +- Resolves: #465003 + +* Mon Aug 11 2008 Petr Machata - 1.36.0-0.1.beta1 +- Rebase to 1.36.0.beta1 + - Drop boost-regex.patch and portions of boost-gcc43.patch, port the rest + - Automate SONAME tracking and bump SONAME to 4 + - Adjust boost-configure.patch to include threading=single,multi explicitly + +* Thu Jun 12 2008 Petr Machata - 1.34.1-16 +- Fix "changes meaning of keywords" in boost date_time +- Related: #450718 + +* Thu May 29 2008 Tom "spot" Callaway - 1.34.1-15 +- fix license tag + +* Thu Mar 27 2008 Petr Machata - 1.34.1-14 +- Change devel-static back to static. +- Related: #225622 + +* Wed Mar 26 2008 Petr Machata - 1.34.1-13 +- Install library doc files +- Revamp %%install phase to speed up overall build time +- Some cleanups per merge review +- Resolves: #437032 + +* Thu Feb 14 2008 Petr Machata - 1.34.1-12 +- Fix "changes meaning of keywords" in boost python +- Resolves: #432694 + +* Wed Feb 13 2008 Petr Machata - 1.34.1-11 +- Fix "changes meaning of special_values_parser" in boost date_time +- Resolves: #432433 + +* Wed Feb 6 2008 Petr Machata - 1.34.1-10 +- Fixes for GCC 4.3 +- Resolves: #431609 + +* Mon Jan 14 2008 Benjamin Kosnik 1.34.1-7 +- Fixes for boost.regex (rev 42674). + +* Wed Sep 19 2007 Benjamin Kosnik 1.34.1-5 +- (#283771: Linking against boost libraries fails). + +* Tue Aug 21 2007 Benjamin Kosnik 1.34.1-4 +- Rebuild. + +* Wed Aug 08 2007 Benjamin Kosnik 1.34.1-3 +- Rebuild for icu 3.8 bump. + +* Thu Aug 02 2007 Benjamin Kosnik 1.34.1-2 +- SONAME to 3. + +* Tue Jul 31 2007 Benjamin Kosnik 1.34.1-1 +- Update to boost_1_34_1. +- Source via http. +- Philipp Thomas fix for RPM_OPT_FLAGS +- Philipp Thomas fix for .so sym links. +- (#225622) Patrice Dumas review comments. + +* Tue Jun 26 2007 Benjamin Kosnik 1.34.1.rc1-0.1 +- Update to boost_1_34_1_RC1. + +* Mon Apr 02 2007 Benjamin Kosnik 1.33.1-13 +- (#225622: Merge Review: boost) + Change static to devel-static. + +* Mon Mar 26 2007 Benjamin Kosnik 1.33.1-12 +- (#233523: libboost_python needs rebuild against python 2.5) + Use patch. + +* Mon Mar 26 2007 Benjamin Kosnik 1.33.1-11 +- (#225622: Merge Review: boost) + Source to http. + BuildRoot to preferred value. + PreReq to post/postun -p + Clarified BSL as GPL-Compatible, Free Software License. + Remove Obsoletes. + Add Provides boost-python. + Remove mkdir -p $RPM_BUILD_ROOT%%{_docdir} + Added periods for decription text. + Fix Group field. + Remove doc Requires boost. + Preserve timestamps on install. + Use %%defattr(-, root, root, -) + Added static package for .a libs. + Install static libs with 0644 permissions. + Use %%doc for doc files. + +* Mon Jan 22 2007 Benjamin Kosnik 1.34.0-0.5 +- Update to boost.RC_1_34_0 snapshot as of 2007-01-19. +- Modify build procedures for boost build v2. +- Add *-mt variants for libraries, or at least variants that use + threads (regex and thread). + +* Thu Nov 23 2006 Benjamin Kosnik 1.33.1-10 +- (#182414: boost: put tests in %%check section) via Rex Dieter +- Fix EVR with %%{?dist} tag via Gianluca Sforna + +* Wed Nov 15 2006 Benjamin Kosnik 1.33.1-9 +- (#154784: boost-debuginfo package is empty) + +* Tue Nov 14 2006 Benjamin Kosnik 1.33.1-8 +- (#205866: Revert scanner.hpp change.) + +* Mon Nov 13 2006 Benjamin Kosnik 1.33.1-7 +- (#205866: boost::spirit generates warnings with -Wshadow) +- (#205863: serialization lib generates warnings) +- (#204326: boost RPM missing dependencies) +- (#193465: [SIGNAL/BIND] Regressions with GCC 4.1) +- BUILD_FLAGS, add, to see actual compile line. +- REGEX_FLAGS, add, to compile regex with ICU support. + +* Wed Jul 12 2006 Jesse Keating - 1.33.1-6.1 +- rebuild + +* Tue May 16 2006 Karsten Hopp 1.33.1-6 +- buildrequire python-devel for Python.h + +* Thu Feb 16 2006 Florian La Roche - 1.33.1-5 +- use the real version number to point to the shared libs + +* Fri Feb 10 2006 Jesse Keating - 1.33.1-4.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.33.1-4.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Thu Jan 05 2006 Benjamin Kosnik 1.33.1-4 +- Fix symbolic links. + +* Wed Jan 04 2006 Benjamin Kosnik 1.33.1-3 +- Update to boost-1.33.1. +- (#176485: Missing BuildRequires) +- (#169271: /usr/lib/libboost*.so.? links missing in package) + +* Thu Dec 22 2005 Jesse Keating 1.33.1-2 +- rebuilt + +* Mon Nov 14 2005 Benjamin Kosnik 1.33.1-1 +- Update to boost-1.33.1 beta. +- Run testsuite, gather results. + +* Tue Oct 11 2005 Nils Philippsen 1.33.0-4 +- build require bzip2-devel and zlib-devel + +* Tue Aug 23 2005 Benjamin Kosnik 1.33.0-3 +- Create doc package again. +- Parts of the above by Neal Becker . + +* Fri Aug 12 2005 Benjamin Kosnik 1.33.0-1 +- Update to boost-1.33.0, update SONAME to 2 due to ABI changes. +- Simplified PYTHON_VERSION by Philipp Thomas + +* Tue May 24 2005 Benjamin Kosnik 1.32.0-6 +- (#153093: boost warns that gcc 4.0.0 is an unknown compiler) +- (#152205: development .so symbolic links should be in -devel subpackage) +- (#154783: linker .so symbolic links missing from boost-devel package) + +* Fri Mar 18 2005 Benjamin Kosnik 1.32.0-5 +- Revert boost-base.patch to old behavior. +- Use SONAMEVERSION instead of dllversion. + +* Wed Mar 16 2005 Benjamin Kosnik 1.32.0-4 +- (#142612: Compiling Boost 1.32.0 Failed in RHEL 3.0 on Itanium2) +- (#150069: libboost_python.so is missing) +- (#141617: bad patch boost-base.patch) +- (#122817: libboost_*.so symbolic links missing) +- Re-add boost-thread.patch. +- Change boost-base.patch to show thread tags. +- Change boost-gcc-tools.patch to use SOTAG, compile with dllversion. +- Add symbolic links to files. +- Sanity check can compile with gcc-3.3.x, gcc-3.4.2, gcc-4.0.x., gcc-4.1.x. + +* Thu Dec 02 2004 Benjamin Kosnik 1.32.0-3 +- (#122817: libboost_*.so symbolic links missing) +- (#141574: half of the package is missing) +- (#141617: bad patch boost-base.patch) + +* Wed Dec 01 2004 Benjamin Kosnik 1.32.0-2 +- Remove bogus Obsoletes. + +* Mon Nov 29 2004 Benjamin Kosnik 1.32.0-1 +- Update to 1.32.0 + +* Wed Sep 22 2004 Than Ngo 1.31.0-9 +- cleanup specfile +- fix multiarch problem + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Wed May 05 2004 Warren Togami 1.31.0-7 +- missing Obsoletes boost-python + +* Mon May 03 2004 Benjamin Kosnik +- (#121630: gcc34 patch needed) + +* Wed Apr 21 2004 Warren Togami +- #121415 FC2 BLOCKER: Obsoletes boost-python-devel, boost-doc +- other cleanups + +* Tue Mar 30 2004 Benjamin Kosnik +- Remove bjam dependency. (via Graydon). +- Fix installed library names. +- Fix SONAMEs in shared libraries. +- Fix installed header location. +- Fix installed permissions. + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Mon Feb 09 2004 Benjamin Kosnik 1.31.0-2 +- Update to boost-1.31.0 + +* Thu Jan 22 2004 Benjamin Kosnik 1.31.0-1 +- Update to boost-1.31.0.rc2 +- (#109307: Compile Failure with boost libraries) +- (#104831: Compile errors in apps using Boost.Python...) +- Unify into boost, boost-devel rpms. +- Simplify installation using bjam and prefix install. + +* Tue Sep 09 2003 Nalin Dahyabhai 1.30.2-2 +- require boost-devel instead of devel in subpackages which require boost-devel +- remove stray Prefix: tag + +* Mon Sep 08 2003 Benjamin Kosnik 1.30.2-1 +- change license to Freely distributable +- verify installation of libboost_thread +- more boost-devel removals +- deal with lack of _REENTRANT on ia64/s390 +- (#99458) rpm -e fixed via explict dir additions +- (#103293) update to 1.30.2 + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Tue May 13 2003 Florian La Roche +- remove packager, change to new Group: + +* Tue May 06 2003 Tim Powers 1.30.0-3 +- add deffattr's so we don't have unknown users owning files