Accepting request 920345 from home:aschnell:boost
- update to 1.77.0 OBS-URL: https://build.opensuse.org/request/show/920345 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=291
This commit is contained in:
parent
05af76b802
commit
49a667b8e3
45
boost-math.patch
Normal file
45
boost-math.patch
Normal file
@ -0,0 +1,45 @@
|
||||
From 720536a08e4e33639869e1b7a99d9ec923409c0b Mon Sep 17 00:00:00 2001
|
||||
From: Matt Borland <matt@mattborland.com>
|
||||
Date: Mon, 23 Aug 2021 17:48:28 +0300
|
||||
Subject: [PATCH] Fix for issue 675 (#676)
|
||||
|
||||
---
|
||||
.../boost/math/tools/header_deprecated.hpp | 22 ++++++++++++++-----
|
||||
test/Jamfile.v2 | 1 +
|
||||
test/header_deprecated_test.cpp | 12 ++++++++++
|
||||
3 files changed, 29 insertions(+), 6 deletions(-)
|
||||
create mode 100644 test/header_deprecated_test.cpp
|
||||
|
||||
diff --git a/include/boost/math/tools/header_deprecated.hpp b/include/boost/math/tools/header_deprecated.hpp
|
||||
index 8f4a5db25..867fcaa21 100644
|
||||
--- a/include/boost/math/tools/header_deprecated.hpp
|
||||
+++ b/include/boost/math/tools/header_deprecated.hpp
|
||||
@@ -6,12 +6,22 @@
|
||||
#ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED
|
||||
#define BOOST_MATH_TOOLS_HEADER_DEPRECATED
|
||||
|
||||
-#ifdef _MSC_VER
|
||||
-// Expands to "This header is deprecated; use expr instead."
|
||||
-#define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is deprecated; use " expr " instead.")
|
||||
-#else // GNU, Clang, Intel, IBM, etc.
|
||||
+#ifndef BOOST_MATH_STANDALONE
|
||||
+
|
||||
+# include <boost/config/header_deprecated.hpp>
|
||||
+# define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr)
|
||||
+
|
||||
+#else
|
||||
+
|
||||
+# ifdef _MSC_VER
|
||||
// Expands to "This header is deprecated; use expr instead."
|
||||
-#define BOOST_MATH_HEADER_DEPRECATED(expr) _Pragma("This header is deprecated; use " expr " instead.")
|
||||
-#endif
|
||||
+# define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is deprecated; use " expr " instead.")
|
||||
+# else // GNU, Clang, Intel, IBM, etc.
|
||||
+// Expands to "This header is deprecated use expr instead"
|
||||
+# define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr)
|
||||
+# define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " expr " instead")
|
||||
+# endif
|
||||
+
|
||||
+#endif // BOOST_MATH_STANDALONE
|
||||
|
||||
#endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED
|
23
boost-process.patch
Normal file
23
boost-process.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From e08374ed95ac33865bda40602c94909e7cd9607f Mon Sep 17 00:00:00 2001
|
||||
From: Eddie-cz <48474051+Eddie-cz@users.noreply.github.com>
|
||||
Date: Mon, 2 Aug 2021 10:49:42 +0200
|
||||
Subject: [PATCH] Update wchar_t.hpp
|
||||
|
||||
---
|
||||
include/boost/process/detail/traits/wchar_t.hpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/boost/process/detail/traits/wchar_t.hpp b/include/boost/process/detail/traits/wchar_t.hpp
|
||||
index 812a92c..98026d3 100644
|
||||
--- a/include/boost/process/detail/traits/wchar_t.hpp
|
||||
+++ b/include/boost/process/detail/traits/wchar_t.hpp
|
||||
@@ -12,6 +12,8 @@
|
||||
#include <boost/process/detail/traits/env.hpp>
|
||||
#include <boost/process/locale.hpp>
|
||||
|
||||
+#include <algorithm>
|
||||
+
|
||||
namespace boost { namespace process { namespace detail {
|
||||
|
||||
//template
|
||||
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 08:29:43 CEST 2021 - aschnell@suse.com
|
||||
|
||||
- update to 1.77.0:
|
||||
* new libraries:
|
||||
+ Describe - Reflection Library
|
||||
+ Lambda2 - Lambda Library
|
||||
* for details on all changes see,
|
||||
https://www.boost.org/users/history/version_1_77_0.html
|
||||
- dynamic_linking.patch: updated
|
||||
- boost-math.patch and boost-process.patch: added from upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 1 06:43:16 UTC 2021 - Haochuan Chen <yjcoshc@mail.nankai.edu.cn>
|
||||
|
||||
@ -6,7 +18,7 @@ Tue Jun 1 06:43:16 UTC 2021 - Haochuan Chen <yjcoshc@mail.nankai.edu.cn>
|
||||
-------------------------------------------------------------------
|
||||
Sat May 8 16:29:23 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use https://
|
||||
- use https:// in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 5 18:18:21 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
@ -2300,7 +2312,7 @@ Fri Sep 22 13:49:48 CEST 2006 - pth@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 14 11:02:21 CEST 2006 - sf@suse.de
|
||||
|
||||
- fixed wrong usage of visit_each() (Bug #192116 )
|
||||
- fixed wrong usage of visit_each() (Bug #192116)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 13 15:47:57 CEST 2006 - sf@suse.de
|
||||
@ -2411,5 +2423,3 @@ Wed Jul 23 14:52:15 CEST 2003 - pthomas@suse.de
|
||||
|
||||
- Initial package, based on the work by Robert Schiele.
|
||||
- Fix building with Python 2.3
|
||||
|
||||
|
||||
|
15
boost.spec
15
boost.spec
@ -19,9 +19,9 @@
|
||||
#
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
|
||||
%define ver 1.76.0
|
||||
%define _ver 1_76_0
|
||||
%define package_version 1_76_0
|
||||
%define ver 1.77.0
|
||||
%define _ver 1_77_0
|
||||
%define package_version 1_77_0
|
||||
%define file_version %_ver
|
||||
%define lib_appendix %_ver
|
||||
%define docs_version 1.56.0
|
||||
@ -235,9 +235,9 @@ ExcludeArch: s390x %{ix86} ppc64 ppc64le
|
||||
%endif
|
||||
|
||||
Name: %{base_name}
|
||||
Version: 1.76.0
|
||||
Version: 1.77.0
|
||||
Release: 0
|
||||
%define library_version 1_76_0
|
||||
%define library_version 1_77_0
|
||||
|
||||
Summary: Boost C++ Libraries
|
||||
License: BSL-1.0
|
||||
@ -265,6 +265,8 @@ Patch17: python_mpi.patch
|
||||
Patch18: dynamic_linking.patch
|
||||
Patch20: python_library_name.patch
|
||||
Patch21: boost-remove-cmakedir.patch
|
||||
Patch22: boost-process.patch
|
||||
Patch23: boost-math.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: libbz2-devel
|
||||
@ -640,6 +642,7 @@ Summary: Development headers for Boost.Filesystem library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libboost_filesystem%{library_version} = %{version}
|
||||
Requires: libboost_headers%{library_version}-devel = %{version}
|
||||
Requires: libboost_atomic%{library_version}-devel = %{version}
|
||||
Requires: libstdc++-devel
|
||||
Conflicts: boost-devel < 1.63
|
||||
Conflicts: libboost_filesystem-devel-impl
|
||||
@ -1252,6 +1255,8 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {}
|
||||
%patch18 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p2
|
||||
%patch23 -p2
|
||||
|
||||
%build
|
||||
find . -type f -exec chmod u+w {} +
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41
|
||||
size 110073117
|
3
boost_1_77_0.tar.bz2
Normal file
3
boost_1_77_0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854
|
||||
size 110361537
|
@ -103,8 +103,8 @@ Index: boost_1_74_0/libs/filesystem/build/Jamfile.v2
|
||||
;
|
||||
|
||||
SOURCES =
|
||||
@@ -75,7 +75,7 @@ lib boost_filesystem
|
||||
: <define>BOOST_FILESYSTEM_SOURCE
|
||||
@@ -157,7 +157,7 @@ lib boost_filesystem
|
||||
<conditional>@select-platform-specific-sources
|
||||
<include>../src
|
||||
<link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
|
||||
- <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
|
||||
|
Loading…
Reference in New Issue
Block a user