diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:45:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:28 +0000 |
commit | 9f40dba1fcbd5dcad733117d4fd562cb26e35cc6 (patch) | |
tree | 989bb7ca942e86cba2db344bbaa3a0afde1c578a /meta/recipes-kernel | |
parent | 245885063e6b2aa1c66d32458217546892768894 (diff) | |
download | poky-9f40dba1fcbd5dcad733117d4fd562cb26e35cc6.tar.gz |
babeltrace: Add missing header for MAXNAMLEN define
Fix bug exposed on musl
(From OE-Core rev: cc4f9860332300925d93e2607d675509fc002be4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch | 29 | ||||
-rw-r--r-- | meta/recipes-kernel/lttng/babeltrace_1.3.1.bb | 5 |
2 files changed, 32 insertions, 2 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch b/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch new file mode 100644 index 0000000000..eb16cd1d2e --- /dev/null +++ b/meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 8331b87845cafdda40e59a682f2ca8120ed0c472 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 31 Dec 2015 08:17:40 +0000 | ||
4 | Subject: [PATCH] lttng-live: Include sys/param.h for MAXNAMLEN defintion | ||
5 | |||
6 | exposed on musl based systems | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: pending | ||
11 | |||
12 | formats/lttng-live/lttng-live.h | 1 + | ||
13 | 1 file changed, 1 insertion(+) | ||
14 | |||
15 | diff --git a/formats/lttng-live/lttng-live.h b/formats/lttng-live/lttng-live.h | ||
16 | index 4ab641d..808ed2b 100644 | ||
17 | --- a/formats/lttng-live/lttng-live.h | ||
18 | +++ b/formats/lttng-live/lttng-live.h | ||
19 | @@ -25,6 +25,7 @@ | ||
20 | */ | ||
21 | |||
22 | #include <stdint.h> | ||
23 | +#include <sys/param.h> | ||
24 | #include "lttng-viewer-abi.h" | ||
25 | |||
26 | #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344 | ||
27 | -- | ||
28 | 2.6.4 | ||
29 | |||
diff --git a/meta/recipes-kernel/lttng/babeltrace_1.3.1.bb b/meta/recipes-kernel/lttng/babeltrace_1.3.1.bb index 36345e3c10..176602632b 100644 --- a/meta/recipes-kernel/lttng/babeltrace_1.3.1.bb +++ b/meta/recipes-kernel/lttng/babeltrace_1.3.1.bb | |||
@@ -6,14 +6,15 @@ BUGTRACKER = "https://bugs.lttng.org/projects/babeltrace" | |||
6 | LICENSE = "MIT & GPLv2" | 6 | LICENSE = "MIT & GPLv2" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa" |
8 | 8 | ||
9 | inherit autotools pkgconfig | ||
10 | |||
11 | DEPENDS = "glib-2.0 util-linux popt bison-native flex-native" | 9 | DEPENDS = "glib-2.0 util-linux popt bison-native flex-native" |
12 | 10 | ||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | SRCREV = "6e2b9096c77138593097335b9b27202d98918089" | 13 | SRCREV = "6e2b9096c77138593097335b9b27202d98918089" |
14 | 14 | ||
15 | SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.3 \ | 15 | SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.3 \ |
16 | file://0001-Fix-invalid-pointer-free-with-trace-collection.patch \ | 16 | file://0001-Fix-invalid-pointer-free-with-trace-collection.patch \ |
17 | file://0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |