python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / lttng-libust / 0001-lttng-ust-elf.c-define-NT_GNU_BUILD_ID-if-not-define.patch
blob2e0c8b1da0d2f58aab4c319b2286e9d34d14f644
1 From d400314757a8d5d52bd5722d263bfd5886bb6595 Mon Sep 17 00:00:00 2001
2 From: Philippe Proulx <eeppeliteloop@gmail.com>
3 Date: Sat, 29 Oct 2016 13:32:57 -0400
4 Subject: [PATCH] lttng-ust-elf.c: define NT_GNU_BUILD_ID if not defined
6 On uClibc, NT_GNU_BUILD_ID is not defined, so we define it
7 manually in this case.
9 Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
10 [Philippe: grabbed from this pull request:
11 https://github.com/lttng/lttng-ust/pull/39
13 ---
14 liblttng-ust/lttng-ust-elf.c | 4 ++++
15 1 file changed, 4 insertions(+)
17 diff --git a/liblttng-ust/lttng-ust-elf.c b/liblttng-ust/lttng-ust-elf.c
18 index 5f27920..beaa7f3 100644
19 --- a/liblttng-ust/lttng-ust-elf.c
20 +++ b/liblttng-ust/lttng-ust-elf.c
21 @@ -29,6 +29,10 @@
23 #define BUF_LEN 4096
25 +#ifndef NT_GNU_BUILD_ID
26 +# define NT_GNU_BUILD_ID 3
27 +#endif
30 * Retrieve the nth (where n is the `index` argument) phdr (program
31 * header) from the given elf instance.
33 2.9.3