dev-libs/mpc: rerun diff for mpc-1.0.3-mpfr-4.0.0.patch
authorFabian Groffen <grobian@gentoo.org>
Mon, 1 Jan 2018 11:50:28 +0000 (12:50 +0100)
committerFabian Groffen <grobian@gentoo.org>
Mon, 1 Jan 2018 11:50:40 +0000 (12:50 +0100)
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

index 72d6f2217caf3a03202647f55f6d568991ae0e62..3a62d9bd20a365b0489f8d39c14691542fa61ebc 100644 (file)
@@ -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];