diff options
| -rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.5.bb | 3 | 
2 files changed, 30 insertions, 1 deletions
| diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch new file mode 100644 index 0000000000..27f855d1e9 --- /dev/null +++ b/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | Subject: Fix build failure for ppc | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | |||
| 5 | Fix the following build failure. | ||
| 6 | |||
| 7 | error: 'siginfo_t' does not name a type | ||
| 8 | |||
| 9 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
| 10 | --- | ||
| 11 | src/stacktrace_powerpc-linux-inl.h | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h | ||
| 15 | index 5d16fa1..a9bf775 100644 | ||
| 16 | --- a/src/stacktrace_powerpc-linux-inl.h | ||
| 17 | +++ b/src/stacktrace_powerpc-linux-inl.h | ||
| 18 | @@ -44,6 +44,7 @@ | ||
| 19 | |||
| 20 | #include <stdint.h> // for uintptr_t | ||
| 21 | #include <stdlib.h> // for NULL | ||
| 22 | +#include <signal.h> // for siginfo_t | ||
| 23 | #include <gperftools/stacktrace.h> | ||
| 24 | #include <base/vdso_support.h> | ||
| 25 | |||
| 26 | -- | ||
| 27 | 2.8.3 | ||
| 28 | |||
| diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb index 3cab423858..15cfc97e88 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb | |||
| @@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" | |||
| 5 | DEPENDS = "libunwind" | 5 | DEPENDS = "libunwind" | 
| 6 | 6 | ||
| 7 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \ | 7 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \ | 
| 8 | file://0001-Support-Atomic-ops-on-clang.patch\ | 8 | file://0001-Support-Atomic-ops-on-clang.patch \ | 
| 9 | file://0001-Fix-build-failure-for-ppc.patch \ | ||
| 9 | " | 10 | " | 
| 10 | 11 | ||
| 11 | SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50" | 12 | SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50" | 
