patches/gcc/4.0.4/303-c99-complex-ugly-hack.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.0.4/303-c99-complex-ugly-hack.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +--- gcc-4.0.0/libstdc++-v3/configure-old	2005-04-30 22:04:48.061603912 -0500
     1.5 ++++ gcc-4.0.0/libstdc++-v3/configure	2005-04-30 22:06:13.678588152 -0500
     1.6 +@@ -7194,6 +7194,9 @@
     1.7 + cat >>conftest.$ac_ext <<_ACEOF
     1.8 + /* end confdefs.h.  */
     1.9 + #include <complex.h>
    1.10 ++#ifdef __UCLIBC__
    1.11 ++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
    1.12 ++#endif
    1.13 + int
    1.14 + main ()
    1.15 + {