1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/gcc/4.3.2/280-c99-complex-ugly-hack.patch Sat Mar 03 23:38:33 2012 +0100
1.3 @@ -0,0 +1,14 @@
1.4 +Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_303-c99-complex-ugly-hack.patch
1.5 +diff -durN gcc-4.3.2.orig/libstdc++-v3/configure gcc-4.3.2/libstdc++-v3/configure
1.6 +--- gcc-4.3.2.orig/libstdc++-v3/configure 2008-07-07 21:49:54.000000000 +0200
1.7 ++++ gcc-4.3.2/libstdc++-v3/configure 2008-09-23 19:45:27.000000000 +0200
1.8 +@@ -38935,6 +38935,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 + {