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