From 9647d8bca3213f4b8a85ec165d74609a1f525aa2a8ed76f1797e031b910706fe Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Fri, 15 Dec 2023 07:21:44 +0000 Subject: [PATCH] Accepting request 1132997 from home:aschnell:boost - update to 1.84.0 * new libraries: + Cobalt (single-threaded asynchronicity framework) + Redis (implements protocol RESP3) * for details on all changes see, https://www.boost.org/users/history/version_1_84_0.html - drop boost-phoenix-revert-std-tuple-support.patch (upstream) - drop boost-mpi-noreturn.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/1132997 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=320 --- baselibs.conf | 54 ++++++++++---------- boost-mpi-noreturn.patch | 12 ----- boost-phoenix-revert-std-tuple-support.patch | 31 ----------- boost.changes | 12 +++++ boost.spec | 16 ++---- boost_1_83_0.tar.bz2 | 3 -- boost_1_84_0.tar.bz2 | 3 ++ 7 files changed, 47 insertions(+), 84 deletions(-) delete mode 100644 boost-mpi-noreturn.patch delete mode 100644 boost-phoenix-revert-std-tuple-support.patch delete mode 100644 boost_1_83_0.tar.bz2 create mode 100644 boost_1_84_0.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf index 02455b3..0540836 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,27 +1,27 @@ -libboost_atomic1_83_0 -libboost_container1_83_0 -libboost_context1_83_0 -libboost_coroutine1_83_0 -libboost_date_time1_83_0 -libboost_fiber1_83_0 -libboost_filesystem1_83_0 -libboost_graph1_83_0 -libboost_graph_parallel1_83_0 -libboost_iostreams1_83_0 -libboost_locale1_83_0 -libboost_math1_83_0 -libboost_mpi1_83_0 -libboost_nowide1_83_0 -libboost_test1_83_0 -libboost_program_options1_83_0 -libboost_python-py3-1_83_0 -libboost_random1_83_0 -libboost_serialization1_83_0 -libboost_stacktrace1_83_0 -libboost_system1_83_0 -libboost_thread1_83_0 -libboost_type_erasure1_83_0 -libboost_wave1_83_0 -libboost_url1_83_0 -libboost_regex1_83_0 -libboost_json1_83_0 +libboost_atomic1_84_0 +libboost_container1_84_0 +libboost_context1_84_0 +libboost_coroutine1_84_0 +libboost_date_time1_84_0 +libboost_fiber1_84_0 +libboost_filesystem1_84_0 +libboost_graph1_84_0 +libboost_graph_parallel1_84_0 +libboost_iostreams1_84_0 +libboost_locale1_84_0 +libboost_math1_84_0 +libboost_mpi1_84_0 +libboost_nowide1_84_0 +libboost_test1_84_0 +libboost_program_options1_84_0 +libboost_python-py3-1_84_0 +libboost_random1_84_0 +libboost_serialization1_84_0 +libboost_stacktrace1_84_0 +libboost_system1_84_0 +libboost_thread1_84_0 +libboost_type_erasure1_84_0 +libboost_wave1_84_0 +libboost_url1_84_0 +libboost_regex1_84_0 +libboost_json1_84_0 diff --git a/boost-mpi-noreturn.patch b/boost-mpi-noreturn.patch deleted file mode 100644 index b7da04e..0000000 --- a/boost-mpi-noreturn.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -r -u boost_1_83_0-orig/boost/mpi/environment.hpp boost_1_83_0/boost/mpi/environment.hpp ---- boost_1_83_0-orig/boost/mpi/environment.hpp 2023-08-08 23:02:53.000000000 +0200 -+++ boost_1_83_0/boost/mpi/environment.hpp 2023-09-12 08:36:01.310536799 +0200 -@@ -176,7 +176,7 @@ - * @param errcode The error code to return to the environment. - * @returns Will not return. - */ -- static void abort(int errcode); -+ [[noreturn]] static void abort(int errcode); - - /** Determine if the MPI environment has already been initialized. - * diff --git a/boost-phoenix-revert-std-tuple-support.patch b/boost-phoenix-revert-std-tuple-support.patch deleted file mode 100644 index 3e3eae5..0000000 --- a/boost-phoenix-revert-std-tuple-support.patch +++ /dev/null @@ -1,31 +0,0 @@ -From cc9bc2387fe19d6cb130460defe52ee8ecefe968 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= - -Date: Tue, 29 Nov 2022 07:34:17 +0700 -Subject: [PATCH] stl/tuple: change uarg##N to internal linkage - -8b6a9c2 (std::tuple support (Resolving #103) (#104), 2021-03-11) put -uarg##N in all translation units, which includes -boost/phoenix/stl/tuple.hpp or boost/phoenix/stl.hpp, with external -linkage. Thus, we'll run into below error: - -> multiple definition of `boost::phoenix::placeholders::uarg1' - -Change it to internal linkage. ---- - include/boost/phoenix/stl/tuple.hpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/include/boost/phoenix/stl/tuple.hpp b/include/boost/phoenix/stl/tuple.hpp -index a83014ac..d04ad16e 100644 ---- a/boost/phoenix/stl/tuple.hpp -+++ b/boost/phoenix/stl/tuple.hpp -@@ -110,7 +110,7 @@ namespace boost { namespace phoenix { - namespace placeholders { - #define BOOST_PP_LOCAL_LIMITS (1, BOOST_PHOENIX_ARG_LIMIT) - #define BOOST_PP_LOCAL_MACRO(N) \ -- auto uarg##N = \ -+ const auto uarg##N = \ - boost::phoenix::get_<(N)-1>(boost::phoenix::placeholders::arg1); - #include BOOST_PP_LOCAL_ITERATE() - } diff --git a/boost.changes b/boost.changes index e13556e..634cc36 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Dec 14 08:43:05 CET 2023 - aschnell@suse.com + +- update to 1.84.0 + * new libraries: + + Cobalt (single-threaded asynchronicity framework) + + Redis (implements protocol RESP3) + * for details on all changes see, + https://www.boost.org/users/history/version_1_84_0.html +- drop boost-phoenix-revert-std-tuple-support.patch (upstream) +- drop boost-mpi-noreturn.patch (upstream) + ------------------------------------------------------------------- Thu Oct 26 14:08:59 UTC 2023 - Nicolas Morey diff --git a/boost.spec b/boost.spec index 3e248cf..8ddc45f 100644 --- a/boost.spec +++ b/boost.spec @@ -19,9 +19,9 @@ # %global flavor @BUILD_FLAVOR@%{nil} -%define ver 1.83.0 -%define _ver 1_83_0 -%define package_version 1_83_0 +%define ver 1.84.0 +%define _ver 1_84_0 +%define package_version 1_84_0 %define file_version %_ver %define lib_appendix %_ver %define docs_version 1.56.0 @@ -213,9 +213,9 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le %endif Name: %{base_name} -Version: 1.83.0 +Version: 1.84.0 Release: 0 -%define library_version 1_83_0 +%define library_version 1_84_0 Summary: Boost C++ Libraries License: BSL-1.0 Group: Development/Libraries/C and C++ @@ -231,8 +231,6 @@ Source101: symbol_diff.sh Source102: README.boost-devel Patch1: boost-thread.patch Patch2: boost-no_type_punning.patch -# https://github.com/boostorg/phoenix/pull/112 -Patch3: boost-phoenix-revert-std-tuple-support.patch Patch4: boost-pool_check_overflow.patch Patch5: boost-strict_aliasing.patch Patch6: boost-use_std_xml_catalog.patch @@ -245,8 +243,6 @@ Patch18: dynamic_linking.patch Patch20: python_library_name.patch Patch21: boost-remove-cmakedir.patch Patch22: boost-process.patch -# https://github.com/boostorg/mpi/issues/149 -Patch50: boost-mpi-noreturn.patch %{?suse_build_hwcaps_libs} BuildRequires: fdupes BuildRequires: gmp-devel @@ -1246,7 +1242,6 @@ tasks. find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + %patch1 -p1 %patch2 -%patch3 -p1 %patch4 %patch5 %patch6 -p1 @@ -1259,7 +1254,6 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} %patch20 -p1 %patch21 -p1 %patch22 -p2 -%patch50 -p1 %build find . -type f -exec chmod u+w {} + diff --git a/boost_1_83_0.tar.bz2 b/boost_1_83_0.tar.bz2 deleted file mode 100644 index 91089ff..0000000 --- a/boost_1_83_0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e -size 122892751 diff --git a/boost_1_84_0.tar.bz2 b/boost_1_84_0.tar.bz2 new file mode 100644 index 0000000..e4b384b --- /dev/null +++ b/boost_1_84_0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454 +size 123110547