[packages/crossmingw32-boost] - updated to 1.76.0 - removed obsolete mingw-lld patch - added allow-mingw32-thread-local patch to a
qboosh
qboosh at pld-linux.org
Wed Sep 8 18:00:52 CEST 2021
commit 9ce0c68cb6de762fe184989a913e4b4eeee12035
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 8 18:05:24 2021 +0200
- updated to 1.76.0
- removed obsolete mingw-lld patch
- added allow-mingw32-thread-local patch to adjust thread_local check (required for boost-math library)
boost-mingw-lld.patch | 42 ------------------------------------------
crossmingw32-boost.spec | 17 +++++++++--------
2 files changed, 9 insertions(+), 50 deletions(-)
---
diff --git a/crossmingw32-boost.spec b/crossmingw32-boost.spec
index a6a8719..ffbdfdd 100644
--- a/crossmingw32-boost.spec
+++ b/crossmingw32-boost.spec
@@ -8,14 +8,14 @@
Summary: The Boost C++ Libraries - MinGW32 cross version
Summary(pl.UTF-8): Biblioteki C++ "Boost" - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
-Version: 1.73.0
+Version: 1.76.0
%define fver %(echo %{version} | tr . _)
Release: 1
License: Boost Software License and others
Group: Development/Libraries
-Source0: http://dl.bintray.com/boostorg/release/%{version}/source/%{realname}_%{fver}.tar.bz2
-# Source0-md5: 9273c8c4576423562bbe84574b07b2bd
-Patch0: boost-mingw-lld.patch
+Source0: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/%{realname}_%{fver}.tar.bz2
+# Source0-md5: 33334dd7f862e8ac9fe1cc7c6584fb6d
+Patch0: boost-allow-mingw32-thread-local.patch
URL: http://www.boost.org/
BuildRequires: crossmingw32-bzip2
BuildRequires: crossmingw32-gcc-c++
@@ -49,7 +49,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define filterout_c -f[-a-z0-9=]*
%define filterout_cxx -f[-a-z0-9=]*
-%define abi_tag mgw*-mt-x32-1_73
+%define abi_tag mgw*-mt-x32-1_76
%description
The Boost web site provides free peer-reviewed portable C++ source
@@ -97,9 +97,7 @@ Boost - biblioteki DLL dla Windows.
%prep
%setup -q -n %{realname}_%{fver}
-cd libs/context
-%patch0 -R -p1
-cd ../..
+%patch0 -p1
echo 'using gcc : : %{target}-g++ : ' \
'<cxxflags>"%{rpmcxxflags}"' \
@@ -160,6 +158,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_filesystem-%{abi_tag}.dll.a
%{_libdir}/libboost_graph-%{abi_tag}.dll.a
%{_libdir}/libboost_iostreams-%{abi_tag}.dll.a
+%{_libdir}/libboost_json-%{abi_tag}.dll.a
%{_libdir}/libboost_locale-%{abi_tag}.dll.a
%{_libdir}/libboost_log-%{abi_tag}.dll.a
%{_libdir}/libboost_log_setup-%{abi_tag}.dll.a
@@ -201,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_filesystem-%{abi_tag}.a
%{_libdir}/libboost_graph-%{abi_tag}.a
%{_libdir}/libboost_iostreams-%{abi_tag}.a
+%{_libdir}/libboost_json-%{abi_tag}.a
%{_libdir}/libboost_locale-%{abi_tag}.a
%{_libdir}/libboost_log-%{abi_tag}.a
%{_libdir}/libboost_log_setup-%{abi_tag}.a
@@ -238,6 +238,7 @@ rm -rf $RPM_BUILD_ROOT
%{_dlldir}/libboost_filesystem-%{abi_tag}.dll
%{_dlldir}/libboost_graph-%{abi_tag}.dll
%{_dlldir}/libboost_iostreams-%{abi_tag}.dll
+%{_dlldir}/libboost_json-%{abi_tag}.dll
%{_dlldir}/libboost_locale-%{abi_tag}.dll
%{_dlldir}/libboost_log-%{abi_tag}.dll
%{_dlldir}/libboost_log_setup-%{abi_tag}.dll
diff --git a/boost-mingw-lld.patch b/boost-mingw-lld.patch
deleted file mode 100644
index 58b3c0c..0000000
--- a/boost-mingw-lld.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 85783e8cbba03804e13b3d314112df6b089ed2c0 Mon Sep 17 00:00:00 2001
-From: Eric Astor <epastor at google.com>
-Date: Fri, 22 Nov 2019 11:07:15 -0500
-Subject: [PATCH] Fix exports for 32-bit GNU assembler files targeting Windows.
-
-The incorrect exports can cause linker issues (at least when using LLVM's lld-link) claiming that these primitives are not available.
----
- src/asm/jump_i386_ms_pe_gas.asm | 2 +-
- src/asm/make_i386_ms_pe_gas.asm | 2 +-
- src/asm/ontop_i386_ms_pe_gas.asm | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/asm/jump_i386_ms_pe_gas.asm b/src/asm/jump_i386_ms_pe_gas.asm
-index 8512a3d0..4c623006 100644
---- a/src/asm/jump_i386_ms_pe_gas.asm
-+++ b/src/asm/jump_i386_ms_pe_gas.asm
-@@ -114,4 +114,4 @@ _jump_fcontext:
- jmp *%ecx
-
- .section .drectve
--.ascii " -export:\"jump_fcontext\""
-+.ascii " -export:\"_jump_fcontext\""
-diff --git a/src/asm/make_i386_ms_pe_gas.asm b/src/asm/make_i386_ms_pe_gas.asm
-index dcb77000..f2e3b689 100644
---- a/src/asm/make_i386_ms_pe_gas.asm
-+++ b/src/asm/make_i386_ms_pe_gas.asm
-@@ -144,4 +144,4 @@ finish:
- .def __exit; .scl 2; .type 32; .endef /* standard C library function */
-
- .section .drectve
--.ascii " -export:\"make_fcontext\""
-+.ascii " -export:\"_make_fcontext\""
-diff --git a/src/asm/ontop_i386_ms_pe_gas.asm b/src/asm/ontop_i386_ms_pe_gas.asm
-index 41f15f5b..8bfe93c6 100644
---- a/src/asm/ontop_i386_ms_pe_gas.asm
-+++ b/src/asm/ontop_i386_ms_pe_gas.asm
-@@ -122,4 +122,4 @@ _ontop_fcontext:
- jmp *%ecx
-
- .section .drectve
--.ascii " -export:\"ontop_fcontext\""
-+.ascii " -export:\"_ontop_fcontext\""
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-boost.git/commitdiff/9ce0c68cb6de762fe184989a913e4b4eeee12035
More information about the pld-cvs-commit
mailing list