libmpc/libmpc-0.8.1-gmp501.patch

14 lines
454 B
Diff

diff -Nru mpc-0.8.1.orig//src/acos.c mpc-0.8.1/src/acos.c
--- mpc-0.8.1.orig//src/acos.c 2009-11-02 12:21:53.000000000 +0100
+++ mpc-0.8.1/src/acos.c 2010-07-15 15:54:29.656017924 +0200
@@ -188,9 +188,6 @@
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;
rnd1 = RNDC(GMP_RNDN, rnd_im);
mpfr_init2 (pi_over_2, p);