summaryrefslogtreecommitdiff
path: root/dev-libs/sleef/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-12 23:42:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-12 23:42:09 +0100
commit7bb99171a372e6cff495daf7dbef2e03d216be29 (patch)
tree656d783c21019354fbccc867f079b62aa6ab6b53 /dev-libs/sleef/files
parent5b36c18aaba339882ed70281371a1059d9e7943f (diff)
gentoo auto-resync : 12:04:2023 - 23:42:09
Diffstat (limited to 'dev-libs/sleef/files')
-rw-r--r--dev-libs/sleef/files/sleef-3.5.1-mpfr42.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/sleef/files/sleef-3.5.1-mpfr42.patch b/dev-libs/sleef/files/sleef-3.5.1-mpfr42.patch
new file mode 100644
index 000000000000..0ae5706974f2
--- /dev/null
+++ b/dev-libs/sleef/files/sleef-3.5.1-mpfr42.patch
@@ -0,0 +1,30 @@
+--- a/src/libm-tester/testerutil.h 2023-04-12 22:07:52.400469592 +0200
++++ b/src/libm-tester/testerutil.h 2023-04-12 22:08:03.404312574 +0200
+@@ -90,7 +90,5 @@
+ double countULPsp(float d, mpfr_t c);
+ double countULP2sp(float d, mpfr_t c);
+
+-void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
+-void mpfr_cospi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
+ void mpfr_lgamma_nosign(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd);
+ #endif
+--- a/src/libm-tester/testerutil.c 2023-04-12 22:07:55.045431845 +0200
++++ b/src/libm-tester/testerutil.c 2023-04-12 22:08:23.275029908 +0200
+@@ -289,7 +289,7 @@
+ }
+
+ //
+-
++#if 0
+ void mpfr_sinpi(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd) {
+ mpfr_t frpi, frd;
+ mpfr_inits(frpi, frd, NULL);
+@@ -315,7 +315,7 @@
+
+ mpfr_clears(frpi, frd, NULL);
+ }
+-
++#endif
+ void mpfr_lgamma_nosign(mpfr_t ret, mpfr_t arg, mpfr_rnd_t rnd) {
+ int s;
+ mpfr_lgamma(ret, &s, arg, rnd);