summaryrefslogtreecommitdiff
path: root/dev-libs/mpfr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-09 01:48:35 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-09 01:48:35 +0000
commit0b832a429ecd6081aa9faa0eb262303b019d87ea (patch)
treec39bb9eaa7bc30cec17f3a3bdef0cf5ed27c6a75 /dev-libs/mpfr
parent80e87db4d9ed551615eb2d0309bf370e79500716 (diff)
gentoo auto-resync : 09:03:2025 - 01:48:35
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r--dev-libs/mpfr/Manifest3
-rw-r--r--dev-libs/mpfr/files/mpfr-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch48
-rw-r--r--dev-libs/mpfr/mpfr-4.2.1.ebuild1
3 files changed, 1 insertions, 51 deletions
diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
index 9108d774f898..541b0b5ff289 100644
--- a/dev-libs/mpfr/Manifest
+++ b/dev-libs/mpfr/Manifest
@@ -1,5 +1,4 @@
-AUX mpfr-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch 1805 BLAKE2B ad94d1beade2f6bf97efc033d1030617dd391afe01e8b7081d6f8c030c97c055e6e150856ca8c97867719a9b328c45c44851ebaa578efd4cad9a9dcd97e92f07 SHA512 fc8627bf397dc4dcd80847fd50bbdf8903204f2d8a3d874e4f1bd5043416de77f460b62fcfcd8a4e7bcdf19e395779a96f8dae689135d85a34707cbea5d82921
DIST mpfr-4.2.1.tar.xz 1493608 BLAKE2B ad69f53bc910294647523e7613b18a683f1d0f3dd994168ab2a46b66d0371ffa9b8e7cb59495f898470aea69d343e83fc722f11babe4af7b3a12665a1e65860c SHA512 bc68c0d755d5446403644833ecbb07e37360beca45f474297b5d5c40926df1efc3e2067eecffdf253f946288bcca39ca89b0613f545d46a9e767d1d4cf358475
DIST mpfr-4.2.1.tar.xz.asc 228 BLAKE2B a50ccf4136c3b460b15540364a49dec05da266a77bce6220832262581fa57cc1e70b7739ea4fdf2e8ad4fd3318151b8c420b09597942493d95e6276f380debfd SHA512 2f409f2a93726fba086882de3ad26d0bcb5d78afc687e44550bf55a98b940ff0d355a655aa18da78bfa2581ef37d72cb630d7642de7ec70590ec80044b3dbe38
-EBUILD mpfr-4.2.1.ebuild 3227 BLAKE2B d8adc0d1838ee111ee03a6fee645b388ae30d8a2def5404d3497ecb0c81a63aad2869c2ad4cae483b0e46196924dc25174e428b16ea3337270c88e3e6dfb1be3 SHA512 4af0994c063413c89bfb99c11ea343f9ea920c44ee092052704092d7c2a3516b9e6bbbcdfc899578050b27851f8266587c17594d7744a9016c424435ffb477bd
+EBUILD mpfr-4.2.1.ebuild 3141 BLAKE2B 9522fa7b06d670abf56c4d0646b0ed26a31d3266380af37b01abd7da33c40edec13e31b18dfb795146bd086cd8a42dd0981cf2fe78fb73e1cd23371004863a78 SHA512 6150a360be902ad744db9b91c59d9981adfd1022a62940b24f7d3386faecb6aa9e50924a19e15ea67f5f008d5e790ca800c4cf47a34755d629d13b5f4ac24ed8
MISC metadata.xml 344 BLAKE2B b7a0bcfbcf945ce2b6d58a9a2078c823c12de5ef8261ec009612b58a833deecb7caaf864f0b55e0c46aac004c58feb7a1f88f6d78b584c2e25c403cfb1de96a0 SHA512 8b8b5ae00a4f9ba76c193c5d84f27cce973963f4db109219394efccba3a8e8bebb7f241658a0b682331e34c66ee99332f871d826abf6ec5a4ced4f3dce381fe9
diff --git a/dev-libs/mpfr/files/mpfr-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch b/dev-libs/mpfr/files/mpfr-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch
deleted file mode 100644
index abf08eec1e73..000000000000
--- a/dev-libs/mpfr/files/mpfr-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From dd0bbbeae865561be679baa680e8c5135fe9dc5e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Thu, 26 Dec 2024 19:44:12 -0800
-Subject: [PATCH] include math.h to use predefined _Float128 definition
-
-glibc has added this patch [1] which defines __HAVE_FLOAT128 for clang
-therefore include math.h to avoid defining _Float128 during configure if
-not needed.
-
-This is a workaround until mpfr upstream does a proper fix. For more
-context see the relevant glibc bug report [2].
-
-[1] https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=sysdeps/x86/bits/floatn.h;h=ba030d270a73c71f166083b30dbaf89371ff49fa;hp=e661abaea469b8b916fd312cc42382ad4c5e220f;hb=d773aff467840f5ed305e40c180466e90bd88183;hpb=b2556550a0f952b2a841a0b4bddc999c2df1b233
-[2] https://sourceware.org/bugzilla/show_bug.cgi?id=32750
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
----
- acinclude.m4 | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/acinclude.m4 b/acinclude.m4
-index d5b5b4bdb..c9e882cdd 100644
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -793,8 +793,9 @@ dnl the "undefined reference" error disappear.
- if test "$enable_float128" != no; then
- AC_MSG_CHECKING(if _Float128 with hex constants is supported)
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[
--volatile _Float128 x = 0x1.fp+16383f128;
--return x == 0;
-+ #include <math.h>
-+ volatile _Float128 x = 0x1.fp+16383f128;
-+ return x == 0;
- ]])],
- [AC_MSG_RESULT(yes)
- AC_DEFINE([MPFR_WANT_FLOAT128],1,[Build float128 functions])],
-@@ -804,6 +805,7 @@ dnl Use the q suffix in this case.
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
- #define _Float128 __float128
- ]], [[
-+#include <math.h>
- volatile _Float128 x = 0x1.fp+16383q;
- return x == 0;
- ]])],
---
-2.30.2
-
diff --git a/dev-libs/mpfr/mpfr-4.2.1.ebuild b/dev-libs/mpfr/mpfr-4.2.1.ebuild
index 6b56ce06b126..46d9b8b88ab8 100644
--- a/dev-libs/mpfr/mpfr-4.2.1.ebuild
+++ b/dev-libs/mpfr/mpfr-4.2.1.ebuild
@@ -61,7 +61,6 @@ PATCHES=(
"${MY_PATCHES[@]}"
# Additional patches
- "${FILESDIR}"/${PN}-4.2.1-include-math.h-to-use-predefined-_Float128-definitio.patch
)
HTML_DOCS=( doc/FAQ.html )