summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-01-01 12:50:28 +0100
committerFabian Groffen <grobian@gentoo.org>2018-01-01 12:50:40 +0100
commitfdde8111232e14e62301ef655fb5e1ff0ac3b313 (patch)
tree17936bdb537477efa9ba2b54b7ede26a7913c0f0
parentdev-python/bcrypt: keyworded 3.1.3 for sparc, bug #628670 (diff)
downloadgentoo-fdde8111232e14e62301ef655fb5e1ff0ac3b313.tar.gz
gentoo-fdde8111232e14e62301ef655fb5e1ff0ac3b313.tar.bz2
gentoo-fdde8111232e14e62301ef655fb5e1ff0ac3b313.zip
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
-rw-r--r--dev-libs/mpc/files/mpc-1.0.3-mpfr-4.0.0.patch12
1 files 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 72d6f2217caf..3a62d9bd20a3 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];