Hello community, here is the log from the commit of package boost for openSUSE:Factory checked in at 2015-05-20 23:43:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boost (Old) and /work/SRC/openSUSE:Factory/.boost.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boost" Changes: -------- --- /work/SRC/openSUSE:Factory/boost/boost.changes 2015-03-18 13:02:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2015-05-20 23:43:42.000000000 +0200 @@ -1,0 +2,24 @@ +Sat May 9 09:01:32 UTC 2015 - dmuel...@suse.com + +- update to 1.58.0: + boost docs remain at 1.56 since upstream hasn't updated yet + * New Libraries: Endian, Sort. + * Updated Libraries: Asio, Chrono, Container, Context, Conversion, + DateTime, Flyweight, Function, Functional/Factory, Fusion, Geometry, + Hash, Interprocess, Intrusive, Lexical Cast, Log, Math, Move, + Multi-index Containers, Multiprecision, Optional, Phoenix, + Predef, Random, Thread, TypeErasure, TypeIndex, Units, + Unordered, Variant. + See http://www.boost.org/users/history/version_1_58_0.html +- add 0001-Fix-exec_file-for-Python-3-3.4.patch , + 0002-Fix-a-regression-with-non-constexpr-types.patch: Fixes regressions + in 1.58 +- drop bjam-alignment.patch, boost-gcc5.patch: Already fixed upstream + differently +- add boost-rpmoptflags-only.patch: Build only with optflags +- add boost-aarch64-flags.patch: Avoid using -m64 +- add boost-uuid-comparison.patch: Fix regression in UUID operator< +- add boost-disable-pch-on-aarch64.patch: Disable pch on math library + to avoid compiler segfault + +------------------------------------------------------------------- Old: ---- bjam-alignment.patch boost-gcc5.patch boost_1_56_0.tar.bz2 New: ---- 0001-Fix-exec_file-for-Python-3-3.4.patch 0002-Fix-a-regression-with-non-constexpr-types.patch boost-aarch64-flags.patch boost-disable-pch-on-aarch64.patch boost-rpmoptflags-only.patch boost-uuid-comparison.patch boost_1_58_0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost.spec ++++++ --- /var/tmp/diff_new_pack.RTDKkG/_old 2015-05-20 23:43:48.000000000 +0200 +++ /var/tmp/diff_new_pack.RTDKkG/_new 2015-05-20 23:43:48.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package boost # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,11 @@ # -%define ver 1.56.0 -%define file_version 1_56_0 +%define ver 1.58.0 +%define file_version 1_58_0 +%define docs_version 1.56.0 %define short_version 1_56 -%define lib_appendix 1_56_0 +%define lib_appendix 1_58_0 #Only define to 1 to generate the man pages %define build_docs 0 @@ -51,18 +52,18 @@ %define disable_long_double 0 %endif -%define boost_libs1 libboost_date_time%{lib_appendix} libboost_filesystem%{lib_appendix} libboost_graph%{lib_appendix} -%define boost_libs2 libboost_iostreams%{lib_appendix} libboost_math%{lib_appendix} libboost_test%{lib_appendix} -%define boost_libs3 libboost_program_options%{lib_appendix} libboost_python%{lib_appendix} libboost_serialization%{lib_appendix} -%define boost_libs4 libboost_signals%{lib_appendix} libboost_system%{lib_appendix} libboost_thread%{lib_appendix} -%define boost_libs5 libboost_wave%{lib_appendix} libboost_regex%{lib_appendix} libboost_regex%{lib_appendix} -%define boost_libs6 libboost_random%{lib_appendix} libboost_chrono%{lib_appendix} libboost_locale%{lib_appendix} -%define boost_libs7 libboost_timer%{lib_appendix} libboost_atomic%{lib_appendix} libboost_log%{lib_appendix} libboost_container%{lib_appendix} +%define boost_l1 libboost_date_time%{lib_appendix} libboost_filesystem%{lib_appendix} libboost_graph%{lib_appendix} +%define boost_l2 libboost_iostreams%{lib_appendix} libboost_math%{lib_appendix} libboost_test%{lib_appendix} +%define boost_l3 libboost_program_options%{lib_appendix} libboost_python%{lib_appendix} libboost_serialization%{lib_appendix} +%define boost_l4 libboost_signals%{lib_appendix} libboost_system%{lib_appendix} libboost_thread%{lib_appendix} +%define boost_l5 libboost_wave%{lib_appendix} libboost_regex%{lib_appendix} libboost_regex%{lib_appendix} +%define boost_l6 libboost_random%{lib_appendix} libboost_chrono%{lib_appendix} libboost_locale%{lib_appendix} +%define boost_l7 libboost_timer%{lib_appendix} libboost_atomic%{lib_appendix} libboost_log%{lib_appendix} libboost_container%{lib_appendix} %if %build_context %define boost_libs_context libboost_context%{lib_appendix} libboost_coroutine%{lib_appendix} %endif -%define most_libs %boost_libs1 %boost_libs2 %boost_libs3 %boost_libs4 %boost_libs5 %boost_libs6 %boost_libs7 %{?boost_libs_context} +%define most_libs %boost_l1 %boost_l2 %boost_l3 %boost_l4 %boost_l5 %boost_l6 %boost_l7 %{?boost_libs_context} %if %build_mpi %define all_libs %{most_libs} libboost_graph_parallel%lib_appendix libboost_mpi%{lib_appendix} @@ -71,7 +72,7 @@ %endif Name: boost -Version: 1.56.0 +Version: 1.58.0 Release: 0 Summary: Boost C++ Libraries License: BSL-1.0 @@ -79,7 +80,7 @@ Url: http://www.boost.org Source0: http://downloads.sourceforge.net/project/boost/boost/%{version}/%{name}_%{file_version}.tar.bz2 Source1: boost-rpmlintrc -Source3: http://downloads.sourceforge.net/project/boost/boost-docs/%{version}/%{name}_%{short_version}_pdf.tar.bz2 +Source3: http://downloads.sourceforge.net/project/boost/boost-docs/%{docs_version}/%{name}_%{short_version}_pdf.tar.bz2 Source4: existing_extra_docs #Source5: NEWS Source100: baselibs.conf @@ -89,8 +90,12 @@ Patch4: boost-pool_check_overflow.patch Patch5: boost-strict_aliasing.patch Patch6: boost-use_std_xml_catalog.patch -Patch7: bjam-alignment.patch -Patch8: boost-gcc5.patch +Patch7: boost-rpmoptflags-only.patch +Patch9: 0001-Fix-exec_file-for-Python-3-3.4.patch +Patch10: 0002-Fix-a-regression-with-non-constexpr-types.patch +Patch11: boost-aarch64-flags.patch +Patch12: boost-uuid-comparison.patch +Patch13: boost-disable-pch-on-aarch64.patch BuildRequires: chrpath BuildRequires: dos2unix BuildRequires: fdupes @@ -423,8 +428,14 @@ %patch4 %patch5 %patch6 -p1 -%patch7 -p1 -%patch8 +%patch7 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%ifarch aarch64 +%patch13 -p1 +%endif #stupid build machinery copies .orig files find . -name \*.orig -exec rm {} + @@ -451,9 +462,6 @@ # lower number of jobs if memory is less than 7G but more than 4G JOBS=2 fi -if test "$JOBS" = 0; then - JOBS=1 -fi # In case you want more parallel jobs than autobuild grants you #if [ $J_P -gt $J_I ]; then ++++++ 0001-Fix-exec_file-for-Python-3-3.4.patch ++++++ >From 3e405b6fd5db5615bbef241763de070118222ca7 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld <ste...@seefeld.name> Date: Thu, 9 Apr 2015 08:57:08 -0400 Subject: [PATCH] Fix exec_file for Python 3 < 3.4. --- src/exec.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/exec.cpp b/src/exec.cpp index 2910db7..12cdabc 100644 --- a/libs/python/src/exec.cpp +++ b/libs/python/src/exec.cpp @@ -86,9 +86,12 @@ object BOOST_PYTHON_DECL exec_file(str filename, object global, object local) char *f = python::extract<char *>(filename); // Let python open the file to avoid potential binary incompatibilities. -#if PY_VERSION_HEX >= 0x03000000 - // See http://www.codeproject.com/Articles/820116/Embedding-Python-program-in-a-C-Cplusplus-code +#if PY_VERSION_HEX >= 0x03400000 FILE *fs = _Py_fopen(f, "r"); +#elif PY_VERSION_HEX >= 0x03000000 + PyObject *fo = Py_BuildValue("s", f); + FILE *fs = _Py_fopen(fo, "r"); + Py_DECREF(fo); #else PyObject *pyfile = PyFile_FromString(f, const_cast<char*>("r")); if (!pyfile) throw std::invalid_argument(std::string(f) + " : no such file"); -- 2.1.0 ++++++ 0002-Fix-a-regression-with-non-constexpr-types.patch ++++++ diff --git a/include/boost/fusion/adapted/struct/detail/define_struct.hpp b/include/boost/fusion/adapted/struct/detail/define_struct.hpp index 2554292..ce3737e 100644 --- a/boost/fusion/adapted/struct/detail/define_struct.hpp +++ b/boost/fusion/adapted/struct/detail/define_struct.hpp @@ -69,7 +69,7 @@ ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ \ template<typename Seq> \ - BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ self_type& \ operator=(Seq const& seq) \ { \ @@ -128,7 +128,7 @@ ATTRIBUTE_TUPEL_SIZE, \ ATTRIBUTES_SEQ) \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME() \ : BOOST_PP_SEQ_FOR_EACH_I_R( \ 1, \ @@ -137,7 +137,7 @@ ATTRIBUTES_SEQ) \ {} \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME(self_type const& other_self) \ : BOOST_PP_SEQ_FOR_EACH_I_R( \ 1, \ @@ -147,7 +147,7 @@ {} \ \ template<typename Seq> \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME(Seq const& seq \ BOOST_PP_IF( \ BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(ATTRIBUTES_SEQ)), \ @@ -167,7 +167,7 @@ #define BOOST_FUSION_DEFINE_STRUCT_CTOR_1( \ NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ explicit \ NAME(boost::call_traits< \ BOOST_PP_TUPLE_ELEM( \ @@ -180,7 +180,7 @@ #define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_1( \ TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ explicit \ NAME(typename boost::call_traits< \ typename boost::fusion::detail::get_first_arg< \ @@ -217,7 +217,7 @@ #define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_N( \ TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \ 1, \ BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_ARG_I, \ @@ -245,7 +245,7 @@ #define BOOST_FUSION_DEFINE_STRUCT_CTOR_N( \ NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \ 1, \ BOOST_FUSION_DEFINE_STRUCT_CTOR_ARG_I, \ diff --git a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp index a5a3ae0..a037ffe 100644 --- a/boost/fusion/adapted/struct/detail/define_struct_inline.hpp +++ b/boost/fusion/adapted/struct/detail/define_struct_inline.hpp @@ -66,7 +66,7 @@ #define BOOST_FUSION_IGNORE_2(ARG1, ARG2) #define BOOST_FUSION_MAKE_COPY_CONSTRUCTOR(NAME, ATTRIBUTES_SEQ) \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ NAME(BOOST_PP_SEQ_FOR_EACH_I( \ BOOST_FUSION_MAKE_CONST_REF_PARAM, \ ~, \ @@ -337,7 +337,7 @@ typedef boost::mpl::int_<N> index; \ typedef boost_fusion_detail_Seq sequence_type; \ \ - BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_GPU_ENABLED \ BOOST_FUSION_ITERATOR_NAME(NAME)(boost_fusion_detail_Seq& seq) \ : seq_(seq) \ BOOST_FUSION_DEFINE_ITERATOR_WKND_INIT_LIST_ENTRIES( \ diff --git a/test/sequence/adapt_struct.cpp b/test/sequence/adapt_struct.cpp index c0cd304..121827f 100644 --- a/libs/fusion/test/sequence/adapt_struct.cpp +++ b/libs/fusion/test/sequence/adapt_struct.cpp @@ -67,6 +67,17 @@ namespace ns foo foo_; int y; }; + + + // Testing non-constexpr compatible types + struct employee { + std::string name; + std::string nickname; + + employee(std::string name, std::string nickname) + : name(name), nickname(nickname) + {} + }; } #if BOOST_PP_VARIADICS @@ -96,6 +107,13 @@ namespace ns y ) + BOOST_FUSION_ADAPT_STRUCT( + ns::employee, + name, + nickname + ) + + #else // BOOST_PP_VARIADICS BOOST_FUSION_ADAPT_STRUCT( @@ -123,6 +141,12 @@ namespace ns (BOOST_FUSION_ADAPT_AUTO, y) ) + BOOST_FUSION_ADAPT_STRUCT( + ns::employee, + (std::string, name) + (BOOST_FUSION_ADAPT_AUTO, nickname) + ) + #endif int @@ -224,6 +248,15 @@ main() BOOST_TEST(v2 >= v1); } + { + ns::employee emp("John Doe", "jdoe"); + std::cout << at_c<0>(emp) << std::endl; + std::cout << at_c<1>(emp) << std::endl; + + fusion::vector<std::string, std::string> v1("John Doe", "jdoe"); + BOOST_TEST(emp == v1); + } + return boost::report_errors(); } diff --git a/test/sequence/define_struct.cpp b/test/sequence/define_struct.cpp index 795fdf6..63b5a19 100644 --- a/libs/fusion/test/sequence/define_struct.cpp +++ b/libs/fusion/test/sequence/define_struct.cpp @@ -26,6 +26,14 @@ BOOST_FUSION_DEFINE_STRUCT( BOOST_FUSION_DEFINE_STRUCT(BOOST_PP_EMPTY(), s, (int, m)) +// Testing non-constexpr compatible types +BOOST_FUSION_DEFINE_STRUCT( + (ns), + employee, + (std::string, name) + (std::string, nickname) +) + int main() { @@ -100,6 +108,14 @@ main() BOOST_TEST(p == make_vector(3,5)); } + { + ns::employee emp = make_list("John Doe", "jdoe"); + std::cout << at_c<0>(emp) << std::endl; + std::cout << at_c<1>(emp) << std::endl; + + BOOST_TEST(emp == make_vector("John Doe", "jdoe")); + } + return boost::report_errors(); } diff --git a/test/sequence/define_struct_inline.cpp b/test/sequence/define_struct_inline.cpp index e849ce9..d34a142 100644 --- a/libs/fusion/test/sequence/define_struct_inline.cpp +++ b/libs/fusion/test/sequence/define_struct_inline.cpp @@ -41,6 +41,13 @@ namespace ns BOOST_FUSION_DEFINE_STRUCT_INLINE(s, (int, m)) BOOST_FUSION_DEFINE_STRUCT_INLINE(empty_struct, ) + + // Testing non-constexpr compatible types + BOOST_FUSION_DEFINE_STRUCT_INLINE( + employee, + (std::string, name) + (std::string, nickname) + ) } template <typename Point> @@ -128,6 +135,17 @@ main() { run_test<cls::point>(); // test with non-template enclosing class run_test<tpl_cls<>::point>(); // test with template enclosing class + + { + using namespace boost::fusion; + + ns::employee emp = make_list("John Doe", "jdoe"); + std::cout << at_c<0>(emp) << std::endl; + std::cout << at_c<1>(emp) << std::endl; + + BOOST_TEST(emp == make_vector("John Doe", "jdoe")); + } + return boost::report_errors(); } ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.RTDKkG/_old 2015-05-20 23:43:48.000000000 +0200 +++ /var/tmp/diff_new_pack.RTDKkG/_new 2015-05-20 23:43:48.000000000 +0200 @@ -1,23 +1,23 @@ boost-devel requires -boost-<targettype> -libboost_atomic1_56_0 -libboost_container1_56_0 -libboost_context1_56_0 -libboost_coroutine1_56_0 -libboost_date_time1_56_0 -libboost_filesystem1_56_0 -libboost_graph1_56_0 -libboost_graph_parallel1_56_0 -libboost_iostreams1_56_0 -libboost_math1_56_0 -libboost_mpi1_56_0 -libboost_test1_56_0 -libboost_program_options1_56_0 -libboost_python1_56_0 -libboost_random1_56_0 -libboost_serialization1_56_0 -libboost_signals1_56_0 -libboost_system1_56_0 -libboost_thread1_56_0 -libboost_wave1_56_0 -libboost_regex1_56_0 +libboost_atomic1_58_0 +libboost_container1_58_0 +libboost_context1_58_0 +libboost_coroutine1_58_0 +libboost_date_time1_58_0 +libboost_filesystem1_58_0 +libboost_graph1_58_0 +libboost_graph_parallel1_58_0 +libboost_iostreams1_58_0 +libboost_math1_58_0 +libboost_mpi1_58_0 +libboost_test1_58_0 +libboost_program_options1_58_0 +libboost_python1_58_0 +libboost_random1_58_0 +libboost_serialization1_58_0 +libboost_signals1_58_0 +libboost_system1_58_0 +libboost_thread1_58_0 +libboost_wave1_58_0 +libboost_regex1_58_0 ++++++ boost-aarch64-flags.patch ++++++ Index: boost_1_58_0/tools/build/src/tools/gcc.jam =================================================================== --- boost_1_58_0.orig/tools/build/src/tools/gcc.jam +++ boost_1_58_0/tools/build/src/tools/gcc.jam @@ -457,10 +457,6 @@ rule setup-address-model ( targets * : s { option = -m32 ; } - else if $(model) = 64 - { - option = -m64 ; - } } # For darwin, the model can be 32_64. darwin.jam will handle that # on its own. ++++++ boost-disable-pch-on-aarch64.patch ++++++ Index: boost_1_58_0/libs/math/build/Jamfile.v2 =================================================================== --- boost_1_58_0.orig/libs/math/build/Jamfile.v2 +++ boost_1_58_0/libs/math/build/Jamfile.v2 @@ -4,23 +4,17 @@ # http://www.boost.org/LICENSE_1_0.txt. import testing ; -import pch ; project : requirements <toolset>intel-win:<cxxflags>-nologo <toolset>intel-win:<linkflags>-nologo - #<toolset>intel-linux:<pch>off - <toolset>intel-darwin:<pch>off - <toolset>msvc-7.1:<pch>off - <toolset>gcc,<target-os>windows:<pch>off #<toolset>gcc:<cxxflags>-fvisibility=hidden <toolset>intel-linux:<cxxflags>-fvisibility=hidden <toolset>sun:<cxxflags>-xldscope=hidden [ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ] ; -cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ; C99_SOURCES = acosh asinh @@ -80,19 +74,19 @@ obj long_double_check : ../config/has_lo explicit long_double_check ; # Library targets -lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch +lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <include>../src/tr1 ; -lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch +lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <include>../src/tr1 ; -lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch +lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <dependency>../config//has_long_double_support @@ -100,19 +94,19 @@ lib boost_math_tr1l : ../src/tr1/$(TR1_S [ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ] ; -lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch +lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <include>../src/tr1 ; -lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch +lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <include>../src/tr1 ; -lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch +lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp : <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 <dependency>../config//has_long_double_support ++++++ boost-rpmoptflags-only.patch ++++++ 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 ++++++ boost-thread.patch ++++++ --- /var/tmp/diff_new_pack.RTDKkG/_old 2015-05-20 23:43:48.000000000 +0200 +++ /var/tmp/diff_new_pack.RTDKkG/_new 2015-05-20 23:43:48.000000000 +0200 @@ -1,8 +1,8 @@ -Index: boost_1_56_0/boost/config/compiler/gcc.hpp +Index: boost_1_58_0/boost/config/compiler/gcc.hpp =================================================================== ---- boost_1_56_0.orig/boost/config/compiler/gcc.hpp -+++ boost_1_56_0/boost/config/compiler/gcc.hpp -@@ -68,7 +68,7 @@ +--- boost_1_58_0.orig/boost/config/compiler/gcc.hpp ++++ boost_1_58_0/boost/config/compiler/gcc.hpp +@@ -73,7 +73,7 @@ // those platforms where we can know for sure). It will get turned off again // later if no threading API is detected. // ++++++ boost-uuid-comparison.patch ++++++ >From fc32eea4ac9e514a7d210306cd9fa3a017dfe02c Mon Sep 17 00:00:00 2001 From: VemundH <vehan...@online.no> Date: Tue, 30 Sep 2014 21:53:45 +0200 Subject: [PATCH] remove incorrect casts see https://github.com/boostorg/uuid/pull/5 --- include/boost/uuid/detail/uuid_x86.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/uuid/detail/uuid_x86.hpp b/include/boost/uuid/detail/uuid_x86.hpp index 1a329b0..5a2cdec 100644 --- a/boost/uuid/detail/uuid_x86.hpp +++ b/boost/uuid/detail/uuid_x86.hpp @@ -100,7 +100,7 @@ inline bool operator< (uuid const& lhs, uuid const& rhs) BOOST_NOEXCEPT cmp = (cmp - 1u) ^ cmp; rcmp = (rcmp - 1u) ^ rcmp; - return static_cast< uint16_t >(cmp) < static_cast< uint16_t >(rcmp); + return cmp < rcmp; } } // namespace uuids ++++++ boost_1_56_0.tar.bz2 -> boost_1_58_0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/boost/boost_1_56_0.tar.bz2 /work/SRC/openSUSE:Factory/.boost.new/boost_1_58_0.tar.bz2 differ: char 11, line 1