patches/mpc/0.8.1/100-fix-build-with-mpfr-3_0_9.diff
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Oct 31 16:50:07 2010 +0100 (2010-10-31)
changeset 2163 96082aa6459f
permissions -rw-r--r--
scripts: do not provide to-sysroot include symlink

Do not provide the PREFIX/TUPLE/include -> SYSROOT/usr/include symlink,
and let gcc install its dependable C++ headers were it sees fit to
install them.

See the test by Anthony (by the end of the messages):
http://sourceware.org/ml/crossgcc/2010-10/msg00129.html
http://sourceware.org/ml/crossgcc/2010-10/msg00134.html

See also the comment by Arnaud:
http://sourceware.org/ml/crossgcc/2010-10/msg00157.html

Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 --- trunk/src/acos.c	2009/12/08 16:49:43	733
     2 +++ trunk/src/acos.c	2009/12/09 20:51:38	734
     3 @@ -188,10 +188,7 @@
     4    else
     5      rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
     6        : rnd_im == GMP_RNDD ? GMP_RNDU
     7 -#if MPFR_VERSION_MAJOR >= 3
     8 -      : rnd_im == GMP_RNDA ? GMP_RNDZ
     9 -#endif
    10 -      : rnd_im;
    11 +      : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */
    12    rnd1 = RNDC(GMP_RNDN, rnd_im);
    13    mpfr_init2 (pi_over_2, p);
    14    for (;;)