1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.2.4/190-c99-complex-ugly-hack.patch Sat Apr 30 22:45:27 2011 +0200
1.3 @@ -0,0 +1,13 @@
1.4 +diff -durN gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
1.5 +--- gcc-4.2.1.orig/libstdc++-v3/configure 2007-08-03 20:30:21.000000000 +0200
1.6 ++++ gcc-4.2.1/libstdc++-v3/configure 2007-08-03 20:33:56.000000000 +0200
1.7 +@@ -7514,6 +7514,9 @@
1.8 + cat >>conftest.$ac_ext <<_ACEOF
1.9 + /* end confdefs.h. */
1.10 + #include <complex.h>
1.11 ++#ifdef __UCLIBC__
1.12 ++#error ugly hack to make sure configure test fails here for cross until uClibc supports the complex funcs
1.13 ++#endif
1.14 + int
1.15 + main ()
1.16 + {