patches/gcc/4.2.0/180-c99-snprintf.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
parent 111 2e16b9fc302d
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     1 --- gcc-4.2.0.orig/libstdc++-v3/include/c_std/std_cstdio.h	2006-12-07 10:33:51.000000000 +0100
     2 +++ gcc-4.2.0/libstdc++-v3/include/c_std/std_cstdio.h	2007-05-20 01:05:38.000000000 +0200
     3 @@ -144,7 +144,7 @@
     4  
     5  _GLIBCXX_END_NAMESPACE
     6  
     7 -#if _GLIBCXX_USE_C99
     8 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
     9  
    10  #undef snprintf
    11  #undef vfscanf