[-]
[+]
|
Changed |
_service:tar_git:boost.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:boost.spec
^
|
|
[-]
[+]
|
Deleted |
_service:tar_git:200-cstdint_missing_include.patch
^
|
@@ -1,12 +0,0 @@
---- a/libs/context/src/fcontext.cpp.new 2012-12-11 17:59:59.349131458 +0100
-+++ b/libs/context/src/fcontext.cpp 2012-12-11 18:00:06.925131652 +0100
-@@ -9,6 +9,9 @@
- #include <boost/context/fcontext.hpp>
-
- #include <cstddef>
-+extern "C" {
-+#include <stdint.h>
-+}
-
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_PREFIX
|
[-]
[+]
|
Added |
_service:tar_git: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<thing_base_unit, boost::units::
+ struct euro_base_unit : boost::units::base_unit<euro_base_unit, boost::units::dimensionless_type, 5>
+ {
+ 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<euro_base_unit::unit_type> 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;
|
[-]
[+]
|
Deleted |
_service:tar_git:boost-1.51.0-fix-cstdint.patch
^
|
@@ -1,16 +0,0 @@
-Index: boost/cstdint.hpp
-===================================================================
---- boost/cstdint.hpp.orig
-+++ boost/cstdint.hpp
-@@ -41,7 +41,10 @@
- // so we disable use of stdint.h when GLIBC does not define __GLIBC_HAVE_LONG_LONG.
- // See https://svn.boost.org/trac/boost/ticket/3548 and http://sources.redhat.com/bugzilla/show_bug.cgi?id=10990
- //
--#if defined(BOOST_HAS_STDINT_H) && (!defined(__GLIBC__) || defined(__GLIBC_HAVE_LONG_LONG))
-+#if defined(BOOST_HAS_STDINT_H) \
-+ && (!defined(__GLIBC__) \
-+ || defined(__GLIBC_HAVE_LONG_LONG) \
-+ || (defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 17)))))
-
- // The following #include is an implementation artifact; not part of interface.
- # ifdef __hpux
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.55.0-python-test-PyImport_AppendInittab.patch
^
|
@@ -0,0 +1,98 @@
+diff -up boost_1_55_0/libs/python/test/exec.cpp\~ boost_1_55_0/libs/python/test/exec.cpp
+--- boost_1_55_0/libs/python/test/exec.cpp~ 2010-07-05 00:38:38.000000000 +0200
++++ boost_1_55_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 <class Cb>
++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
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.57.0-build-optflags.patch
^
|
@@ -0,0 +1,48 @@
+diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam
+--- ./tools/build/src/tools/gcc.jam~ 2015-02-09 15:01:04.850331626 +0100
++++ ./tools/build/src/tools/gcc.jam 2015-02-09 15:44:29.122307134 +0100
+@@ -366,17 +366,17 @@ generators.override gcc.compile.c++.pch
+ toolset.flags gcc.compile PCH_FILE <pch>on : <pch-file> ;
+
+ # Declare flags and action for compilation.
+-toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
+-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
+-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
++toolset.flags gcc.compile OPTIONS <optimization>off : ;
++toolset.flags gcc.compile OPTIONS <optimization>speed : ;
++toolset.flags gcc.compile OPTIONS <optimization>space : ;
+
+-toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
+-toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
+-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
++toolset.flags gcc.compile OPTIONS <inlining>off : ;
++toolset.flags gcc.compile OPTIONS <inlining>on : ;
++toolset.flags gcc.compile OPTIONS <inlining>full : ;
+
+-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
+-toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
+-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
++toolset.flags gcc.compile OPTIONS <warnings>off : ;
++toolset.flags gcc.compile OPTIONS <warnings>on : ;
++toolset.flags gcc.compile OPTIONS <warnings>all : ;
+ toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
+
+ toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
+@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
+
+ actions compile.c++ bind PCH_FILE
+ {
+- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
++ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
+ }
+
+ actions compile.c bind PCH_FILE
+@@ -613,7 +613,7 @@ actions compile.c bind PCH_FILE
+
+ actions compile.c++.preprocess bind PCH_FILE
+ {
+- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
++ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
+ }
+
+ actions compile.c.preprocess bind PCH_FILE
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.57.0-mpl-print.patch
^
|
@@ -0,0 +1,31 @@
+diff -up boost_1_57_0/libs/mpl/include/boost/mpl/print.hpp\~ boost_1_57_0/libs/mpl/include/boost/mpl/print.hpp
+--- boost_1_57_0/libs/mpl/include/boost/mpl/print.hpp~ 2014-07-09 23:12:31.000000000 +0200
++++ boost_1_57_0/libs/mpl/include/boost/mpl/print.hpp 2015-01-20 12:44:59.621400948 +0100
+@@ -52,16 +52,15 @@ struct print
+ enum { n = sizeof(T) + -1 };
+ #elif defined(__MWERKS__)
+ void f(int);
+-#else
+- enum {
+- n =
+-# if defined(__EDG_VERSION__)
+- aux::dependent_unsigned<T>::value > -1
+-# else
+- sizeof(T) > -1
+-# endif
+- };
+-#endif
++#elif defined(__EDG_VERSION__)
++ enum { n = aux::dependent_unsigned<T>::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 finished. Tue Jan 20 12:45:03 2015
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.57.0-python-abi_letters.patch
^
|
@@ -0,0 +1,62 @@
+--- boost_1_57_0/tools/build/src/tools/python.jam 2013-05-21 06:14:18.000000000 +0200
++++ boost_1_55_0/tools/build/src/tools/python.jam 2014-05-29 19:09:12.115413877 +0200
+@@ -94,7 +94,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) ;
+
+@@ -107,7 +107,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 ;
+ }
+@@ -653,7 +653,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.
+@@ -677,13 +677,13 @@ local rule declare-libpython-target ( ve
+ }
+
+ # Declare it.
+- lib python.lib : : <name>python$(lib-version) $(requirements) ;
++ lib python.lib : : <name>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 ;
+@@ -699,6 +699,7 @@ local rule configure ( version ? : cmd-o
+ extension-suffix ?= _d ;
+ }
+ extension-suffix ?= "" ;
++ abi-letters ?= "" ;
+
+ # Normalize and dissect any version number.
+ local major-minor ;
+@@ -922,7 +923,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
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.57.0-python-libpython_dep.patch
^
|
@@ -0,0 +1,13 @@
+Index: boost_1_57_0/tools/build/src/tools/python.jam
+===================================================================
+--- boost_1_57_0/tools/build/src/tools/python.jam (revision 50406)
++++ boost_1_57_0/tools/build/src/tools/python.jam (working copy)
+@@ -994,7 +994,7 @@
+ else
+ {
+ alias python_for_extensions
+- :
++ : python
+ : $(target-requirements)
+ :
+ : $(usage-requirements)
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.57.0-spirit-unused_typedef.patch
^
|
@@ -0,0 +1,19 @@
+diff -up boost_1_57_0/libs/spirit/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp\~ boost_1_57_0/libs/spirit/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
+--- boost_1_57_0/libs/spirit/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp~ 2014-10-13 12:21:40.000000000 +0200
++++ boost_1_57_0/libs/spirit/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2015-01-20 13:25:50.069710766 +0100
+@@ -282,12 +282,12 @@ struct grammar_definition
+ #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
+ typedef impl::grammar_helper_base<GrammarT> helper_base_t;
+ typedef grammar_helper_list<GrammarT> helper_list_t;
+- typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
+
+ helper_list_t& helpers =
+ grammartract_helper_list::do_(self);
+
+ # if defined(BOOST_INTEL_CXX_VERSION)
++ typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
+ for (iterator_t i = helpers.rbegin(); i != helpers.rend(); ++i)
+ (*i)->undefine(self);
+ # else
+
+Diff finished. Tue Jan 20 13:25:53 2015
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.58.0-address-model.patch
^
|
@@ -0,0 +1,13 @@
+--- boost_1_58_0/tools/build/src/tools/gcc.jam~ 2015-07-17 15:14:57.381636224 +0100
++++ boost_1_58_0/tools/build/src/tools/gcc.jam 2015-07-27 17:35:29.122264048 +0100
+@@ -421,7 +421,9 @@
+
+ rule setup-address-model ( targets * : sources * : properties * )
+ {
+- local model = [ feature.get-values address-model : $(properties) ] ;
++ # For RPM builds the address model flag is passed in %{optflags}.
++ # local model = [ feature.get-values address-model : $(properties) ] ;
++ local model ;
+ if $(model)
+ {
+ local option ;
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.58.0-pool-test_linking.patch
^
|
@@ -0,0 +1,31 @@
+diff -up boost_1_58_0/libs/pool/test/Jamfile.v2\~ boost_1_58_0/libs/pool/test/Jamfile.v2
+--- boost_1_57_0/libs/pool/test/Jamfile.v2~ 2015-07-17 11:36:16.362519826 +0100
++++ boost_1_57_0/libs/pool/test/Jamfile.v2 2015-07-17 11:37:38.858847388 +0100
+@@ -28,17 +28,17 @@
+ local Werr = <toolset>gcc:<warnings-as-errors>on <toolset>msvc:<warnings-as-errors>on ;
+
+ test-suite pool :
+- [ run test_simple_seg_storage.cpp : : : $(Werr) <toolset>msvc:<cxxflags>-wd4267 ]
+- [ run test_pool_alloc.cpp : : : $(Werr) ]
+- [ run pool_msvc_compiler_bug_test.cpp : : : $(Werr) <toolset>msvc:<cxxflags>-wd4512 ]
+- [ run test_msvc_mem_leak_detect.cpp : : : $(Werr) ]
+- [ run test_bug_3349.cpp : : : $(Werr) ]
+- [ run test_bug_4960.cpp : : : $(Werr) ]
+- [ run test_bug_1252.cpp : : : $(Werr) ]
+- [ run test_bug_2696.cpp : : : $(Werr) ]
+- [ run test_bug_5526.cpp : : : $(Werr) ]
++ [ run test_simple_seg_storage.cpp : : : $(Werr) <toolset>msvc:<cxxflags>-wd4267 <library>/boost/system//boost_system ]
++ [ run test_pool_alloc.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run pool_msvc_compiler_bug_test.cpp : : : $(Werr) <toolset>msvc:<cxxflags>-wd4512 <library>/boost/system//boost_system ]
++ [ run test_msvc_mem_leak_detect.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run test_bug_3349.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run test_bug_4960.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run test_bug_1252.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run test_bug_2696.cpp : : : $(Werr) <library>/boost/system//boost_system ]
++ [ run test_bug_5526.cpp : : : $(Werr) <library>/boost/system//boost_system ]
+ [ run test_threading.cpp : : : <threading>multi <library>/boost/thread//boost_thread ]
+- [ run ../example/time_pool_alloc.cpp : : : $(Werr) ]
++ [ run ../example/time_pool_alloc.cpp : : : $(Werr) <library>/boost/system//boost_system ]
+ [ compile test_poisoned_macros.cpp : $(Werr) ]
+
+ #
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.58.0-pool.patch
^
|
@@ -0,0 +1,120 @@
+Index: libs/pool/include/boost/pool/pool.hpp
+===================================================================
+--- a/libs/pool/include/boost/pool/pool.hpp (revision 78317)
++++ b/libs/pool/include/boost/pool/pool.hpp (revision 78326)
+@@ -27,4 +27,6 @@
+ #include <boost/pool/poolfwd.hpp>
+
++// std::numeric_limits
++#include <boost/limits.hpp>
+ // boost::integer::static_lcm
+ #include <boost/integer/common_factor_ct.hpp>
+@@ -358,4 +360,11 @@
+ }
+
++ 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 = integer::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
++ return (std::numeric_limits<size_type>::max() - POD_size) / alloc_size();
++ }
++
+ 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
+===================================================================
+--- a/libs/pool/test/test_bug_6701.cpp (revision 78326)
++++ b/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 <boost/pool/object_pool.hpp>
++#include <boost/limits.hpp>
++
++int main()
++{
++ boost::pool<> p(1024, std::numeric_limits<size_t>::max() / 768);
++
++ void *x = p.malloc();
++ BOOST_ASSERT(!x);
++
++ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_next_size());
++ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_max_size());
++
++ void *y = p.ordered_malloc(std::numeric_limits<size_t>::max() / 768);
++ BOOST_ASSERT(!y);
++
++ return 0;
++}
|
[-]
[+]
|
Added |
_service:tar_git:boost-1.59-test-fenv.patch
^
|
@@ -0,0 +1,32 @@
+commit 2f3b98e640c25fe45ae691a5aa950745380b983e
+Author: Jonathan Wakely <jwakely@redhat.com>
+Date: Mon Sep 14 15:05:24 2015 +0100
+
+ Do not qualify <fenv.h> names that might be macros.
+
+diff --git a/libs/test/include/boost/test/impl/execution_monitor.ipp b/libs/test/include/boost/test/impl/execution_monitor.ipp
+index 3a9e779..8b319df 100644
+--- a/libs/test/include/boost/test/impl/execution_monitor.ipp
++++ b/libs/test/include/boost/test/impl/execution_monitor.ipp
+@@ -1380,8 +1380,8 @@ enable( unsigned mask )
+
+ return ~old_cw & BOOST_FPE_ALL;
+ #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
+- ::feclearexcept(BOOST_FPE_ALL);
+- int res = ::feenableexcept( mask );
++ feclearexcept(BOOST_FPE_ALL);
++ int res = feenableexcept( mask );
+ return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
+ #else
+ /* Not Implemented */
+@@ -1417,8 +1417,8 @@ disable( unsigned mask )
+
+ return ~old_cw & BOOST_FPE_ALL;
+ #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
+- ::feclearexcept(BOOST_FPE_ALL);
+- int res = ::fedisableexcept( mask );
++ feclearexcept(BOOST_FPE_ALL);
++ int res = fedisableexcept( mask );
+ return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
+ #else
+ /* Not Implemented */
|
[-]
[+]
|
Changed |
_service:tar_git:boost-no_segfault_in_Regex_filter.patch
^
|
@@ -1,5 +1,5 @@
---- boost/iostreams/filter/regex.hpp
-+++ boost/iostreams/filter/regex.hpp
+--- a/libs/iostreams/include/boost/iostreams/filter/regex.hpp
++++ b/libs/iostreams/include/boost/iostreams/filter/regex.hpp
@@ -58,7 +58,7 @@
return;
iterator first(&src[0], &src[0] + src.size(), re_, flags_);
|
[-]
[+]
|
Changed |
_service:tar_git:boost-no_type_punning.patch
^
|
@@ -1,7 +1,7 @@
Index: libs/python/src/dict.cpp
===================================================================
---- libs/python/src/dict.cpp.orig 2009-10-14 00:37:59.000000000 +0200
-+++ libs/python/src/dict.cpp 2012-03-13 17:20:34.286172759 +0100
+--- a/libs/python/src/dict.cpp.orig 2009-10-14 00:37:59.000000000 +0200
++++ b/libs/python/src/dict.cpp 2012-03-13 17:20:34.286172759 +0100
@@ -28,9 +28,9 @@ namespace
detail::new_reference dict_base::call(object const& arg_)
@@ -16,8 +16,8 @@
dict_base::dict_base()
Index: libs/python/src/list.cpp
===================================================================
---- libs/python/src/list.cpp.orig 2009-10-14 00:37:59.000000000 +0200
-+++ libs/python/src/list.cpp 2012-03-13 17:20:34.286172759 +0100
+--- a/libs/python/src/list.cpp.orig 2009-10-14 00:37:59.000000000 +0200
++++ b/libs/python/src/list.cpp 2012-03-13 17:20:34.286172759 +0100
@@ -10,11 +10,11 @@ namespace boost { namespace python { nam
detail::new_non_null_reference list_base::call(object const& arg_)
@@ -34,8 +34,8 @@
list_base::list_base()
Index: libs/python/src/long.cpp
===================================================================
---- libs/python/src/long.cpp.orig 2009-08-17 23:01:18.000000000 +0200
-+++ libs/python/src/long.cpp 2012-03-13 17:20:34.287172735 +0100
+--- a/libs/python/src/long.cpp.orig 2009-08-17 23:01:18.000000000 +0200
++++ b/libs/python/src/long.cpp 2012-03-13 17:20:34.287172735 +0100
@@ -8,16 +8,16 @@ namespace boost { namespace python { nam
new_non_null_reference long_base::call(object const& arg_)
@@ -73,8 +73,8 @@
: object(long_base::call(arg))
Index: libs/python/src/object/class.cpp
===================================================================
---- libs/python/src/object/class.cpp.orig 2011-06-07 06:15:33.000000000 +0200
-+++ libs/python/src/object/class.cpp 2012-03-13 17:20:34.287172735 +0100
+--- a/libs/python/src/object/class.cpp.orig 2011-06-07 06:15:33.000000000 +0200
++++ b/libs/python/src/object/class.cpp 2012-03-13 17:20:34.287172735 +0100
@@ -616,9 +616,11 @@ namespace objects
void class_base::add_property(
char const* name, object const& fget, char const* docstr)
@@ -103,8 +103,8 @@
}
Index: libs/python/src/str.cpp
===================================================================
---- libs/python/src/str.cpp.orig 2009-10-14 00:37:59.000000000 +0200
-+++ libs/python/src/str.cpp 2012-03-13 17:20:34.287172735 +0100
+--- a/libs/python/src/str.cpp.orig 2009-10-14 00:37:59.000000000 +0200
++++ b/libs/python/src/str.cpp 2012-03-13 17:20:34.287172735 +0100
@@ -9,14 +9,14 @@ namespace boost { namespace python { nam
detail::new_reference str_base::call(object const& arg_)
@@ -127,8 +127,8 @@
str_base::str_base()
Index: libs/python/src/tuple.cpp
===================================================================
---- libs/python/src/tuple.cpp.orig 2009-08-17 23:01:18.000000000 +0200
-+++ libs/python/src/tuple.cpp 2012-03-13 17:20:34.287172735 +0100
+--- a/libs/python/src/tuple.cpp.orig 2009-08-17 23:01:18.000000000 +0200
++++ b/libs/python/src/tuple.cpp 2012-03-13 17:20:34.287172735 +0100
@@ -8,9 +8,10 @@ namespace boost { namespace python { nam
detail::new_reference tuple_base::call(object const& arg_)
|
[-]
[+]
|
Changed |
_service:tar_git:boost-strict_aliasing.patch
^
|
@@ -1,7 +1,7 @@
Index: libs/python/build/Jamfile.v2
===================================================================
---- libs/python/build/Jamfile.v2.orig 2010-07-13 00:29:41.000000000 +0200
-+++ libs/python/build/Jamfile.v2 2010-08-24 12:51:20.939878260 +0200
+--- a/libs/python/build/Jamfile.v2.orig 2010-07-13 00:29:41.000000000 +0200
++++ b/libs/python/build/Jamfile.v2 2010-08-24 12:51:20.939878260 +0200
@@ -51,6 +51,7 @@ project boost/python
: requirements
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
|
[-]
[+]
|
Changed |
_service:tar_git:boost-thread.patch
^
|
@@ -1,7 +1,7 @@
-Index: boost/config/compiler/gcc.hpp
+Index: libs/config/include/boost/config/compiler
===================================================================
---- boost/config/compiler/gcc.hpp.orig 2010-07-01 13:59:21.000000000 +0200
-+++ boost/config/compiler/gcc.hpp 2010-08-24 14:01:18.000000000 +0200
+--- a/libs/config/include/boost/config/compiler/gcc.hpp.orig 2010-07-01 13:59:21.000000000 +0200
++++ b/libs/config/include/boost/config/compiler/gcc.hpp 2010-08-24 14:01:18.000000000 +0200
@@ -93,7 +93,7 @@
// those platforms where we can know for sure). It will get turned off again
// later if no threading API is detected.
|
[-]
[+]
|
Changed |
_service:tar_git:boost-use_std_xml_catalog.patch
^
|
@@ -1,46 +1,45 @@
-Index: tools/build/v2/tools/boostbook.jam
-===================================================================
---- tools/build/v2/tools/boostbook.jam.orig 2011-06-06 22:36:21.000000000 +0200
-+++ tools/build/v2/tools/boostbook.jam 2012-03-13 17:20:34.311172162 +0100
-@@ -491,40 +491,7 @@ rule generate-xml-catalog ( target : sou
- " <rewriteURI uriStartString=\"http://www.boost.org/tools/boostbook/dtd/\" rewritePrefix=\"file://$(boostbook-dtd-dir)/\"/>"
- : true ;
+diff --git a/tools/build/src/tools/boostbook.jam b/tools/build/src/tools/boostbook.jam
+index 13d55fc..c61c856 100644
+--- a/tools/build/src/tools/boostbook.jam
++++ b/tools/build/src/tools/boostbook.jam
+@@ -548,40 +548,7 @@ rule generate-xml-catalog ( target : sources * : properties * )
+ " <rewriteURI uriStartString=\"http://www.boost.org/tools/boostbook/dtd/\" rewritePrefix=\"file://$(boostbook-dtd-dir)/\"/>"
+ : true ;
-- local docbook-xsl-dir = [ boostbook.docbook-xsl-dir ] ;
-- if ! $(docbook-xsl-dir)
-- {
-- ECHO "BoostBook warning: no DocBook XSL directory specified." ;
-- ECHO " If you have the DocBook XSL stylesheets installed, please " ;
-- ECHO " set DOCBOOK_XSL_DIR to the stylesheet directory on either " ;
-- ECHO " the command line (via -sDOCBOOK_XSL_DIR=...) or in a " ;
-- ECHO " Boost.Jam configuration file. The DocBook XSL stylesheets " ;
-- ECHO " are available here: http://docbook.sourceforge.net/ " ;
-- ECHO " Stylesheets will be downloaded on-the-fly (very slow!) " ;
-- }
-- else
-- {
-- docbook-xsl-dir = [ format-catalog-path $(docbook-xsl-dir) ] ;
-- print.text " <rewriteURI uriStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"file://$(docbook-xsl-dir)/\"/>" ;
-- }
+- local docbook-xsl-dir = [ boostbook.docbook-xsl-dir ] ;
+- if ! $(docbook-xsl-dir)
+- {
+- ECHO "BoostBook warning: no DocBook XSL directory specified." ;
+- ECHO " If you have the DocBook XSL stylesheets installed, please " ;
+- ECHO " set DOCBOOK_XSL_DIR to the stylesheet directory on either " ;
+- ECHO " the command line (via -sDOCBOOK_XSL_DIR=...) or in a " ;
+- ECHO " Boost.Jam configuration file. The DocBook XSL stylesheets " ;
+- ECHO " are available here: http://docbook.sourceforge.net/ " ;
+- ECHO " Stylesheets will be downloaded on-the-fly (very slow!) " ;
+- }
+- else
+- {
+- docbook-xsl-dir = [ format-catalog-path $(docbook-xsl-dir) ] ;
+- print.text " <rewriteURI uriStartString=\"http://docbook.sourceforge.net/release/xsl/current/\" rewritePrefix=\"file://$(docbook-xsl-dir)/\"/>" ;
+- }
-
-- local docbook-dtd-dir = [ boostbook.docbook-dtd-dir ] ;
-- if ! $(docbook-dtd-dir)
-- {
-- ECHO "BoostBook warning: no DocBook DTD directory specified." ;
-- ECHO " If you have the DocBook DTD installed, please set " ;
-- ECHO " DOCBOOK_DTD_DIR to the DTD directory on either " ;
-- ECHO " the command line (via -sDOCBOOK_DTD_DIR=...) or in a " ;
-- ECHO " Boost.Jam configuration file. The DocBook DTD is available " ;
-- ECHO " here: http://www.oasis-open.org/docbook/xml/4.2/index.shtml" ;
-- ECHO " The DTD will be downloaded on-the-fly (very slow!) " ;
-- }
-- else
-- {
-- docbook-dtd-dir = [ format-catalog-path $(docbook-dtd-dir) ] ;
-- print.text " <rewriteURI uriStartString=\"http://www.oasis-open.org/docbook/xml/4.2/\" rewritePrefix=\"file://$(docbook-dtd-dir)/\"/>" ;
-- }
+- local docbook-dtd-dir = [ boostbook.docbook-dtd-dir ] ;
+- if ! $(docbook-dtd-dir)
+- {
+- ECHO "BoostBook warning: no DocBook DTD directory specified." ;
+- ECHO " If you have the DocBook DTD installed, please set " ;
+- ECHO " DOCBOOK_DTD_DIR to the DTD directory on either " ;
+- ECHO " the command line (via -sDOCBOOK_DTD_DIR=...) or in a " ;
+- ECHO " Boost.Jam configuration file. The DocBook DTD is available " ;
+- ECHO " here: http://www.oasis-open.org/docbook/xml/4.2/index.shtml" ;
+- ECHO " The DTD will be downloaded on-the-fly (very slow!) " ;
+- }
+- else
+- {
+- docbook-dtd-dir = [ format-catalog-path $(docbook-dtd-dir) ] ;
+- print.text " <rewriteURI uriStartString=\"http://www.oasis-open.org/docbook/xml/4.2/\" rewritePrefix=\"file://$(docbook-dtd-dir)/\"/>" ;
+- }
-
-+ print.text " <nextCatalog catalog=\"file:///etc/xml/catalog\"/> " ;
- print.text "</catalog>" ;
++ print.text " <nextCatalog catalog=\"file:///etc/xml/catalog\"/> " ;
+ print.text "</catalog>" ;
}
-
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,8 +1,10 @@
<services>
- <service name="tar_git">
+ <service name="tar_git">
<param name="url">git://git.merproject.org/kimmoli/boost</param>
- <param name="branch">logging</param>
- <param name="revision">HEAD</param>
- <param name="dumb">Y</param>
+ <param name="branch">master</param>
+ <param name="revision">HEAD</param>
+ <param name="token"/>
+ <param name="debian">N</param>
+ <param name="dumb">N</param>
</service>
</services>
|
|
Added |
_service:tar_git:boost-1.60.0+master.20160915120954.8cae0d7.tar.bz2
^
|
|
Deleted |
_service:tar_git:boost_1_51_0.tar.bz2
^
|
[-]
[+]
|
Added |
_service:tar_git:libboost_thread.so
^
|
@@ -0,0 +1,21 @@
+changequote(`[', `]')dnl
+/* 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.so.VERSION)
+INPUT(libboost_system.so.VERSION)
+ifdef([HAS_ATOMIC_FLAG_LOCKFREE],[],
+[
+/* If the given architecture doesn't have lock-free implementation of
+ boost::atomic_flag, the dependency on Boost.Atomic may leak from
+ the header files to client binaries. */
+
+INPUT(libboost_atomic.so.VERSION)
+])dnl
|