summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-03-16 20:12:33 +0000
committerArmin Kuster <akuster808@gmail.com>2018-03-16 19:57:03 -0700
commit41038a71396d1edd58558a5b110cafdc7b1b1762 (patch)
tree9e23d7d5858b39c1bd6a115bf7ace2a799422987 /meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch
parent61914441e8b69e99907a05e190a8d90641b99190 (diff)
downloadmeta-openembedded-41038a71396d1edd58558a5b110cafdc7b1b1762.tar.gz
gperftools: refresh the patches
WARNING: gperftools-2.6.1-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-Support-Atomic-ops-on-clang.patch patching file src/base/atomicops.h Hunk #1 succeeded at 124 with fuzz 2 (offset 6 lines). Now at patch 0001-Support-Atomic-ops-on-clang.patch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch')
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch
index 5bd0b6fa4..b3033621b 100644
--- a/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch
+++ b/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch
@@ -1,4 +1,4 @@
1From 12ac0dc6742e1bcdfaf1842186c9002f0820a5e8 Mon Sep 17 00:00:00 2001 1From 230cd84486145c5bb1d69d4c9a544e00adbcc9b5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 1 Jul 2017 13:21:21 -0700 3Date: Sat, 1 Jul 2017 13:21:21 -0700
4Subject: [PATCH] Use ucontext_t instead of struct ucontext 4Subject: [PATCH] Use ucontext_t instead of struct ucontext
@@ -6,12 +6,13 @@ Subject: [PATCH] Use ucontext_t instead of struct ucontext
6Newer glibc has dropped the ucontext tag from exposing 6Newer glibc has dropped the ucontext tag from exposing
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
9--- 10---
10 src/stacktrace_powerpc-linux-inl.h | 3 +-- 11 src/stacktrace_powerpc-linux-inl.h | 3 +--
11 1 file changed, 1 insertion(+), 2 deletions(-) 12 1 file changed, 1 insertion(+), 2 deletions(-)
12 13
13diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h 14diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h
14index a9bf775..47ff2d7 100644 15index 3b3843b..a301a46 100644
15--- a/src/stacktrace_powerpc-linux-inl.h 16--- a/src/stacktrace_powerpc-linux-inl.h
16+++ b/src/stacktrace_powerpc-linux-inl.h 17+++ b/src/stacktrace_powerpc-linux-inl.h
17@@ -53,7 +53,6 @@ 18@@ -53,7 +53,6 @@
@@ -31,6 +32,3 @@ index a9bf775..47ff2d7 100644
31 // We don't care about the rest, since IP value is at 'uc' field.A 32 // We don't care about the rest, since IP value is at 'uc' field.A
32 } *sigframe = reinterpret_cast<rt_signal_frame_32*>(current); 33 } *sigframe = reinterpret_cast<rt_signal_frame_32*>(current);
33 result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP]; 34 result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP];
34--
352.13.2
36