mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
depends: boost: update to 1.90.0
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
package=boost
|
||||
$(package)_version=1.85.0
|
||||
$(package)_download_path=https://archives.boost.io/release/$($(package)_version)/source/
|
||||
$(package)_file_name=$(package)_$(subst .,_,$($(package)_version)).tar.gz
|
||||
$(package)_sha256_hash=be0d91732d5b0cc6fbb275c7939974457e79b54d6f07ce2e3dfdd68bef883b0b
|
||||
$(package)_patches=disable_addr2line.patch filesystem_macos_sdk.patch
|
||||
$(package)_version=1.90.0
|
||||
$(package)_download_path=https://github.com/boostorg/boost/releases/download/boost-$($(package)_version)
|
||||
$(package)_file_name=boost-$($(package)_version)-b2-nodocs.tar.gz
|
||||
$(package)_sha256_hash=e848446c6fec62d8a96b44ed7352238b3de040b8b9facd4d6963b32f541e00f5
|
||||
|
||||
define $(package)_set_vars
|
||||
$(package)_config_opts=variant=release
|
||||
@@ -28,8 +27,6 @@ $(package)_cxxflags_freebsd=-fPIC
|
||||
endef
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
patch -p1 -i $($(package)_patch_dir)/disable_addr2line.patch && \
|
||||
patch -p1 -i $($(package)_patch_dir)/filesystem_macos_sdk.patch && \
|
||||
echo "using $(boost_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$(boost_archiver_$(host_os))\" <arflags>\"$($(package)_arflags)\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam
|
||||
endef
|
||||
|
||||
@@ -43,4 +40,4 @@ endef
|
||||
|
||||
define $(package)_stage_cmds
|
||||
./b2 -d0 -j4 --prefix=$($(package)_staging_prefix_dir) $($(package)_config_opts) install
|
||||
endef
|
||||
endef
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
Fixes a reproducibility defect. We don't need the library.
|
||||
|
||||
diff --git a/libs/stacktrace/build/Jamfile.v2 b/libs/stacktrace/build/Jamfile.v2
|
||||
index 230d5a8b4..d3d74599b 100644
|
||||
--- a/libs/stacktrace/build/Jamfile.v2
|
||||
+++ b/libs/stacktrace/build/Jamfile.v2
|
||||
@@ -48,9 +48,6 @@ rule mp-run-simple ( sources + : args * : input-files * : requirements * : targe
|
||||
mp-run-simple has_backtrace.cpp : : : <library>backtrace : libbacktrace ;
|
||||
explicit libbacktrace ;
|
||||
|
||||
-mp-run-simple has_addr2line.cpp : : : : addr2line ;
|
||||
-explicit addr2line ;
|
||||
-
|
||||
mp-run-simple has_windbg.cpp : : : <library>Dbgeng <library>ole32 : WinDbg ;
|
||||
explicit WinDbg ;
|
||||
|
||||
@@ -82,19 +79,6 @@ lib boost_stacktrace_backtrace
|
||||
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
|
||||
;
|
||||
|
||||
-lib boost_stacktrace_addr2line
|
||||
- : # sources
|
||||
- ../src/addr2line.cpp
|
||||
- : # requirements
|
||||
- <warnings>all
|
||||
- <target-os>linux:<library>dl
|
||||
- <link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
|
||||
- [ check-target-builds ../build//addr2line : : <build>no ]
|
||||
- : # default build
|
||||
- : # usage-requirements
|
||||
- #<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
|
||||
- ;
|
||||
-
|
||||
lib boost_stacktrace_basic
|
||||
: # sources
|
||||
../src/basic.cpp
|
||||
@@ -152,4 +136,4 @@ lib boost_stacktrace_from_exception
|
||||
#<link>shared:<define>BOOST_STACKTRACE_DYN_LINK=1
|
||||
;
|
||||
|
||||
-boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_addr2line boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;
|
||||
+boost-install boost_stacktrace_noop boost_stacktrace_backtrace boost_stacktrace_basic boost_stacktrace_windbg boost_stacktrace_windbg_cached boost_stacktrace_from_exception ;
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/libs/filesystem/src/directory.cpp b/libs/filesystem/src/directory.cpp
|
||||
index 0cf5025..cd38e1b 100644
|
||||
--- a/libs/filesystem/src/directory.cpp
|
||||
+++ b/libs/filesystem/src/directory.cpp
|
||||
@@ -279,7 +279,7 @@ inline system::error_code dir_itr_close(dir_itr_imp& imp) noexcept
|
||||
// Obtains a file descriptor from the directory iterator
|
||||
inline int dir_itr_fd(dir_itr_imp const& imp, system::error_code& ec)
|
||||
{
|
||||
- int fd = ::dirfd(static_cast< DIR* >(imp.handle));
|
||||
+ int fd = dirfd(static_cast< DIR* >(imp.handle));
|
||||
if (BOOST_UNLIKELY(fd < 0))
|
||||
{
|
||||
int err = errno;
|
||||
Reference in New Issue
Block a user