boost: upgrade to 1_92_0

<https://dev-www.libreoffice.org/src/boost_1_92_0.tar.xz> has been generated (on
Debian 13) with

> $ wget https://archives.boost.io/release/1.92.0/source/boost_1_92_0.tar.bz2
> $ printf '5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c boost_1_92_0.tar.bz2' | sha256sum -c # cf. <https://www.boost.org/users/history/version_1_92_0.html>
> boost_1_92_0.tar.bz2: OK
> $ external/boost/repack_tarball.sh boost_1_92_0.tar.bz2
> Unpacking boost_1_92_0.tar.bz2 ...
> Removing unnecessary files ...
> Creating boost_1_92_0.tar.xz ...
> Cleaning up ...
> 6010caf17a5742227b54f0c3f5a045d09e8abb981faf7770d445cd705dc26214  boost_1_92_0.tar.xz
> Done.

0001-Allow-fallthrough-of-Android-to-128-bit-float.patch.1 has been
fixed upstream

Change-Id: Ibedd4ca05d2d11f1d9e5176170a44f72d83fa013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209274
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli
2026-08-18 17:24:48 +02:00
parent f0e78f28ee
commit 139f436078
3 changed files with 2 additions and 35 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ ARGON2_TARBALL := phc-winner-argon2-20190702.tar.gz
# so that git cherry-pick
# will not run into conflicts
# please repack the tarball using external/boost/repack_tarball.sh
BOOST_SHA256SUM := 2f975c10da79511c2f218189fc8a12eef1a92e3bd18206e9841d406296d065eb
BOOST_TARBALL := boost_1_91_0.tar.xz
BOOST_SHA256SUM := 6010caf17a5742227b54f0c3f5a045d09e8abb981faf7770d445cd705dc26214
BOOST_TARBALL := boost_1_92_0.tar.xz
# three static lines
# so that git cherry-pick
# will not run into conflicts
@@ -1,31 +0,0 @@
From 2c4580c119cc40ca5341d634bb579a77f6d88ce6 Mon Sep 17 00:00:00 2001
From: Matt Borland <matt@mattborland.com>
Date: Tue, 28 Apr 2026 11:27:23 -0400
Subject: [PATCH] Allow fallthrough of Android to 128-bit float
---
include/boost/math/special_functions/detail/fp_traits.hpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/boost/math/special_functions/detail/fp_traits.hpp b/include/boost/math/special_functions/detail/fp_traits.hpp
index 7cdb12b18..368df69f3 100644
--- a/boost/math/special_functions/detail/fp_traits.hpp
+++ b/boost/math/special_functions/detail/fp_traits.hpp
@@ -305,9 +305,12 @@ private:
// long double (>64 bits), x86 and x64 -----------------------------------------
-#elif defined(__i386) || defined(__i386__) || defined(_M_IX86) \
+// Andorid is a known exception because on x64 it reports LDBL_MANT_DIG == 113
+// See: https://github.com/boostorg/math/issues/1389
+
+#elif (defined(__i386) || defined(__i386__) || defined(_M_IX86) \
|| defined(__amd64) || defined(__amd64__) || defined(_M_AMD64) \
- || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64)
+ || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64)) && !defined(__ANDROID__)
// Intel extended double precision format (80 bits)
--
2.47.3
-2
View File
@@ -34,8 +34,6 @@ boost_patches += Wundef.patch.0
boost_patches += boost.spirit.noreturn.patch
boost_patches += 0001-Allow-fallthrough-of-Android-to-128-bit-float.patch.1
boost_patches += unreachable_code.patch.1
$(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))