patches/gcc/4.4.4/310-missing-execinfo_h.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Oct 21 22:27:17 2012 +0200 (2012-10-21)
changeset 3085 0c3f8dd9d184
parent 1948 d341be24dc68
permissions -rw-r--r--
scripts/functions: return a proper error code in CT_DoExecLog

Since we added the debug-shell feature, CT_DoExecLog no longer
returns the error code of the command, but always return 0.

This breaks the download mechanism, which relies on CT_DoExecLog
to fail _on_purpose_ to detect that the ressource was not found
at the specified URL.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 diff -durN gcc-4.4.4.orig/boehm-gc/include/gc.h gcc-4.4.4/boehm-gc/include/gc.h
     2 --- gcc-4.4.4.orig/boehm-gc/include/gc.h	2007-04-23 23:10:09.000000000 +0200
     3 +++ gcc-4.4.4/boehm-gc/include/gc.h	2010-05-16 19:36:48.000000000 +0200
     4 @@ -503,7 +503,7 @@
     5  #if defined(__linux__) || defined(__GLIBC__)
     6  # include <features.h>
     7  # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
     8 -     && !defined(__ia64__)
     9 +     && !defined(__ia64__) && !defined(__UCLIBC__)
    10  #   ifndef GC_HAVE_BUILTIN_BACKTRACE
    11  #     define GC_HAVE_BUILTIN_BACKTRACE
    12  #   endif