SHA256
8
0
forked from pool/boost
Files
boost/boost-charconv-quadmath.patch
Dirk Mueller 6d3dae4db5 Accepting request 1197908 from home:aschnell:boost
- update to 1.86.0
  * process turned into compile library
  * for details on all changes see,
    https://www.boost.org/users/history/version_1_86_0.html
- boost-aarch64-flags.patch: updated
- boost-1.57.0-python-abi_letters.patch: updated
- boost-process.patch: removed (included upstream)
- boost-charconv-quadmath.patch: removed (improved upstream)

OBS-URL: https://build.opensuse.org/request/show/1197908
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=330
2024-08-31 09:15:04 +00:00

18 lines
746 B
Diff

The quadmath detection is broken, see https://github.com/boostorg/charconv/issues/191.
Just disable quadmath.
--- a/boost/charconv/detail/config.hpp 2024-04-23 11:38:55.099806792 +0200
+++ b/boost/charconv/detail/config.hpp 2024-04-23 11:39:01.966514420 +0200
@@ -27,11 +27,6 @@
# define BOOST_CHARCONV_UINT128_MAX (2 * static_cast<boost::uint128_type>(BOOST_CHARCONV_INT128_MAX) + 1)
#endif
-#if defined(BOOST_HAS_FLOAT128) && !defined(__STRICT_ANSI__) && !defined(BOOST_CHARCONV_NO_QUADMATH)
-# define BOOST_CHARCONV_HAS_FLOAT128
-# include <quadmath.h>
-#endif
-
#ifndef BOOST_NO_CXX14_CONSTEXPR
# define BOOST_CHARCONV_CXX14_CONSTEXPR BOOST_CXX14_CONSTEXPR
# define BOOST_CHARCONV_CXX14_CONSTEXPR_NO_INLINE BOOST_CXX14_CONSTEXPR