patches/gcc/4.3.0/330-c99-complex-ugly-hack.patch
changeset 757 90e887b06da3
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.0/330-c99-complex-ugly-hack.patch	Mon Aug 04 12:38:06 2008 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/uclibc/90_all_303-c99-complex-ugly-hack.patch
     1.5 +diff -durN gcc-4.3.0.orig/libstdc++-v3/configure gcc-4.3.0/libstdc++-v3/configure
     1.6 +--- gcc-4.3.0.orig/libstdc++-v3/configure	2008-06-10 14:45:39.000000000 +0200
     1.7 ++++ gcc-4.3.0/libstdc++-v3/configure	2008-06-10 14:45:54.000000000 +0200
     1.8 +@@ -39006,6 +39006,9 @@
     1.9 + cat >>conftest.$ac_ext <<_ACEOF
    1.10 + /* end confdefs.h.  */
    1.11 + #include <complex.h>
    1.12 ++#ifdef __UCLIBC__
    1.13 ++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
    1.14 ++#endif
    1.15 + int
    1.16 + main ()
    1.17 + {