patches/gcc/4.3.1/650-c99-complex-ugly-hack.patch
changeset 746 b150d6f590fc
parent 552 4edbcdb17e3d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.1/650-c99-complex-ugly-hack.patch	Mon Jul 28 21:08:01 2008 +0000
     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.1.orig/libstdc++-v3/configure gcc-4.3.1/libstdc++-v3/configure
     1.6 +--- gcc-4.3.1.orig/libstdc++-v3/configure	2008-06-10 14:58:43.000000000 +0200
     1.7 ++++ gcc-4.3.1/libstdc++-v3/configure	2008-06-10 14:58:58.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 + {