[packages/crossmingw32-boost] - updated to 1.81.0
qboosh
qboosh at pld-linux.org
Wed Apr 26 22:39:47 CEST 2023
commit d621e2c64c8f203e9f77782cbfe6935e0e430c80
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Apr 26 22:42:37 2023 +0200
- updated to 1.81.0
boost-allow-mingw32-thread-local.patch | 12 ++++++------
crossmingw32-boost.spec | 14 ++++++++++----
2 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/crossmingw32-boost.spec b/crossmingw32-boost.spec
index cebacf7..29ac0d2 100644
--- a/crossmingw32-boost.spec
+++ b/crossmingw32-boost.spec
@@ -8,19 +8,19 @@
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.76.0
+Version: 1.81.0
%define fver %(echo %{version} | tr . _)
Release: 1
License: Boost Software License and others
Group: Development/Libraries
Source0: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/%{realname}_%{fver}.tar.bz2
-# Source0-md5: 33334dd7f862e8ac9fe1cc7c6584fb6d
+# Source0-md5: 3276c0637d1be8687740c550237ef999
Patch0: boost-allow-mingw32-thread-local.patch
URL: http://www.boost.org/
BuildRequires: crossmingw32-bzip2
BuildRequires: crossmingw32-gcc-c++
BuildRequires: crossmingw32-runtime
-BuildRequires: crossmingw32-w32api
+BuildRequires: crossmingw32-w32api >= 1:5.4.2-2
BuildRequires: crossmingw32-zlib
Requires: crossmingw32-bzip2
Requires: crossmingw32-runtime
@@ -50,7 +50,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_76
+%define abi_tag mgw*-mt-x32-1_81
%description
The Boost web site provides free peer-reviewed portable C++ source
@@ -156,6 +156,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_contract-%{abi_tag}.dll.a
%{?with_context:%{_libdir}/libboost_coroutine-%{abi_tag}.dll.a}
%{_libdir}/libboost_date_time-%{abi_tag}.dll.a
+%{_libdir}/libboost_fiber-%{abi_tag}.dll.a
%{_libdir}/libboost_filesystem-%{abi_tag}.dll.a
%{_libdir}/libboost_graph-%{abi_tag}.dll.a
%{_libdir}/libboost_iostreams-%{abi_tag}.dll.a
@@ -183,6 +184,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_timer-%{abi_tag}.dll.a
%{_libdir}/libboost_type_erasure-%{abi_tag}.dll.a
%{?with_test:%{_libdir}/libboost_unit_test_framework-%{abi_tag}.dll.a}
+%{_libdir}/libboost_url-%{abi_tag}.dll.a
%{_libdir}/libboost_wave-%{abi_tag}.dll.a
%{?with_serialization:%{_libdir}/libboost_wserialization-%{abi_tag}.dll.a}
# static-only
@@ -198,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_contract-%{abi_tag}.a
%{?with_context:%{_libdir}/libboost_coroutine-%{abi_tag}.a}
%{_libdir}/libboost_date_time-%{abi_tag}.a
+%{_libdir}/libboost_fiber-%{abi_tag}.a
%{_libdir}/libboost_filesystem-%{abi_tag}.a
%{_libdir}/libboost_graph-%{abi_tag}.a
%{_libdir}/libboost_iostreams-%{abi_tag}.a
@@ -224,6 +227,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libboost_timer-%{abi_tag}.a
%{_libdir}/libboost_type_erasure-%{abi_tag}.a
%{?with_test:%{_libdir}/libboost_unit_test_framework-%{abi_tag}.a}
+%{_libdir}/libboost_url-%{abi_tag}.a
%{_libdir}/libboost_wave-%{abi_tag}.a
%{?with_serialization:%{_libdir}/libboost_wserialization-%{abi_tag}.a}
@@ -236,6 +240,7 @@ rm -rf $RPM_BUILD_ROOT
%{_dlldir}/libboost_contract-%{abi_tag}.dll
%{?with_context:%{_dlldir}/libboost_coroutine-%{abi_tag}.dll}
%{_dlldir}/libboost_date_time-%{abi_tag}.dll
+%{_dlldir}/libboost_fiber-%{abi_tag}.dll
%{_dlldir}/libboost_filesystem-%{abi_tag}.dll
%{_dlldir}/libboost_graph-%{abi_tag}.dll
%{_dlldir}/libboost_iostreams-%{abi_tag}.dll
@@ -262,5 +267,6 @@ rm -rf $RPM_BUILD_ROOT
%{_dlldir}/libboost_timer-%{abi_tag}.dll
%{_dlldir}/libboost_type_erasure-%{abi_tag}.dll
%{?with_test:%{_dlldir}/libboost_unit_test_framework-%{abi_tag}.dll}
+%{_dlldir}/libboost_url-%{abi_tag}.dll
%{_dlldir}/libboost_wave-%{abi_tag}.dll
%{?with_serialization:%{_dlldir}/libboost_wserialization-%{abi_tag}.dll}
diff --git a/boost-allow-mingw32-thread-local.patch b/boost-allow-mingw32-thread-local.patch
index 03d9f03..043c904 100644
--- a/boost-allow-mingw32-thread-local.patch
+++ b/boost-allow-mingw32-thread-local.patch
@@ -1,13 +1,13 @@
Bug has been fixed: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562
probably after 7.5.0, but gcc 7.5.0+original mingw32 implementation seems not affected.
---- boost_1_76_0/boost/config/compiler/gcc.hpp.orig 2021-04-13 18:21:39.000000000 +0200
-+++ boost_1_76_0/boost/config/compiler/gcc.hpp 2021-09-08 18:02:35.766161179 +0200
+--- boost_1_79_0/boost/config/compiler/gcc.hpp.orig 2022-06-04 10:01:44.039749227 +0200
++++ boost_1_79_0/boost/config/compiler/gcc.hpp 2022-06-04 16:26:51.547898441 +0200
@@ -323,7 +323,7 @@
# define BOOST_FALLTHROUGH __attribute__((fallthrough))
#endif
--#if defined(__MINGW32__) && !defined(__MINGW64__)
-+#if (defined(__MINGW32__) && !defined(__MINGW64__)) && (BOOST_GCC_VERSION < 70500)
- // Currently (March 2019) thread_local is broken on mingw for all current 32bit compiler releases, see
+-#if (__GNUC__ < 11) && defined(__MINGW32__) && !defined(__MINGW64__)
++#if (__GNUC__ < 8) && defined(__MINGW32__) && !defined(__MINGW64__)
+ // thread_local was broken on mingw for all 32bit compiler releases prior to 11.x, see
// https://sourceforge.net/p/mingw-w64/bugs/527/
- // Not setting this causes program termination on thread exit.
+ // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-boost.git/commitdiff/d621e2c64c8f203e9f77782cbfe6935e0e430c80
More information about the pld-cvs-commit
mailing list