commit: fdde8111232e14e62301ef655fb5e1ff0ac3b313
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 11:50:28 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 11:50:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdde8111
dev-libs/mpc: rerun diff for mpc-1.0.3-mpfr-4.0.0.patch
For some reason the existing patch fails to apply using GNU patch 2.7.5
on Solaris/Sparc. The fuzz is quite high, so I re-diffed it which makes
the patch apply everywhere.
Package-Manager: Portage-2.3.13, Repoman-2.3.3
dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch
b/dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch
index 72d6f2217ca..3a62d9bd20a 100644
--- a/dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch
+++ b/dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch
@@ -41,9 +41,9 @@ diff --git a/src/mul.c b/src/mul.c
index 3c9c0a7..8c4afe4 100644
--- a/src/mul.c
+++ b/src/mul.c
-@@ -175,8 +175,9 @@ mul_imag (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t
rnd)
- #define MPFR_EXP(x) ((x)->_mpfr_exp)
- #define MPFR_LIMB_SIZE(x) ((MPFR_PREC (x) - 1) / GMP_NUMB_BITS + 1)
+@@ -171,8 +171,9 @@
+ }
+
+#if HAVE_MPFR_FMMA == 0
static int
@@ -52,15 +52,15 @@ index 3c9c0a7..8c4afe4 100644
mpfr_srcptr d, int sign, mpfr_rnd_t rnd)
{
/* Computes z = ab+cd if sign >= 0, or z = ab-cd if sign < 0.
-@@ -359,6 +360,7 @@ mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b,
mpfr_srcptr c,
+@@ -319,6 +320,7 @@
+
return inex;
}
+#endif
int
- mpc_mul_naive (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd)
-@@ -375,10 +377,17 @@ mpc_mul_naive (mpc_ptr z, mpc_srcptr x, mpc_srcptr y,
mpc_rnd_t rnd)
+@@ -337,10 +339,17 @@
else
rop [0] = z [0];