patches/gcc/4.3.6/280-c99-complex-ugly-hack.patch
changeset 2670 4ae31a5eb546
parent 2124 5dd0b83ae528
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.6/280-c99-complex-ugly-hack.patch	Fri Sep 02 13:45:05 2011 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +Original patch from: ../4.3.2/280-c99-complex-ugly-hack.patch
     1.5 +
     1.6 +-= BEGIN original header =-
     1.7 +Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_303-c99-complex-ugly-hack.patch
     1.8 +-= END original header =-
     1.9 +
    1.10 +diff -durN gcc-4.3.3.orig/libstdc++-v3/configure gcc-4.3.3/libstdc++-v3/configure
    1.11 +--- gcc-4.3.3.orig/libstdc++-v3/configure	2008-07-07 21:49:54.000000000 +0200
    1.12 ++++ gcc-4.3.3/libstdc++-v3/configure	2009-01-27 22:25:39.000000000 +0100
    1.13 +@@ -38935,6 +38935,9 @@
    1.14 + cat >>conftest.$ac_ext <<_ACEOF
    1.15 + /* end confdefs.h.  */
    1.16 + #include <complex.h>
    1.17 ++#ifdef __UCLIBC__
    1.18 ++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
    1.19 ++#endif
    1.20 + int
    1.21 + main ()
    1.22 + {