From e7deac3aad394325f9e6fc6fda41d34ec94a59e0 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 19 May 2017 21:58:46 -0700 Subject: Switch comp.libs/tools and debug to new framework. Signed-off-by: Alexey Neyman --- packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff (limited to 'packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff') diff --git a/packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff b/packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff new file mode 100644 index 00000000..88e1517d --- /dev/null +++ b/packages/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff @@ -0,0 +1,14 @@ +--- trunk/src/acos.c 2009/12/08 16:49:43 733 ++++ trunk/src/acos.c 2009/12/09 20:51:38 734 +@@ -188,10 +188,7 @@ + else + rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD + : rnd_im == GMP_RNDD ? GMP_RNDU +-#if MPFR_VERSION_MAJOR >= 3 +- : rnd_im == GMP_RNDA ? GMP_RNDZ +-#endif +- : rnd_im; ++ : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */ + rnd1 = RNDC(GMP_RNDN, rnd_im); + mpfr_init2 (pi_over_2, p); + for (;;) -- cgit v1.2.3