patches/gcc/4.0.4/140-c99-snprintf.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
parent 1 eeea35fbf182
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.0.0/libstdc++-v3/include/c_std/std_cstdio.h-orig	2005-04-29 00:08:41.000000000 -0500
     2 +++ gcc-4.0.0/libstdc++-v3/include/c_std/std_cstdio.h	2005-04-29 00:08:45.000000000 -0500
     3 @@ -142,7 +142,7 @@
     4    using ::vsprintf;
     5  }
     6  
     7 -#if _GLIBCXX_USE_C99
     8 +#if _GLIBCXX_USE_C99 || defined(__UCLIBC__)
     9  
    10  #undef snprintf
    11  #undef vfscanf