summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/lttng
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-02 21:45:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:49 +0000
commitcc4f9860332300925d93e2607d675509fc002be4 (patch)
tree2c85637154332250e654dad371c1335d47b860fc /meta/recipes-kernel/lttng
parentacffe22de65fad2f69c702e4fe94b366883a265b (diff)
downloadopenembedded-core-cc4f9860332300925d93e2607d675509fc002be4.tar.gz
openembedded-core-cc4f9860332300925d93e2607d675509fc002be4.tar.bz2
openembedded-core-cc4f9860332300925d93e2607d675509fc002be4.zip
babeltrace: Add missing header for MAXNAMLEN define
Fix bug exposed on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-kernel/lttng')
-rw-r--r--meta/recipes-kernel/lttng/babeltrace/0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch29
-rw-r--r--meta/recipes-kernel/lttng/babeltrace_1.3.1.bb5
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 @@
+From 8331b87845cafdda40e59a682f2ca8120ed0c472 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 31 Dec 2015 08:17:40 +0000
+Subject: [PATCH] lttng-live: Include sys/param.h for MAXNAMLEN defintion
+
+exposed on musl based systems
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+Upstream-Status: pending
+
+ formats/lttng-live/lttng-live.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/formats/lttng-live/lttng-live.h b/formats/lttng-live/lttng-live.h
+index 4ab641d..808ed2b 100644
+--- a/formats/lttng-live/lttng-live.h
++++ b/formats/lttng-live/lttng-live.h
+@@ -25,6 +25,7 @@
+ */
+
+ #include <stdint.h>
++#include <sys/param.h>
+ #include "lttng-viewer-abi.h"
+
+ #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344
+--
+2.6.4
+
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"
LICENSE = "MIT & GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa"
-inherit autotools pkgconfig
-
DEPENDS = "glib-2.0 util-linux popt bison-native flex-native"
+inherit autotools pkgconfig
+
SRCREV = "6e2b9096c77138593097335b9b27202d98918089"
SRC_URI = "git://git.efficios.com/babeltrace.git;branch=stable-1.3 \
file://0001-Fix-invalid-pointer-free-with-trace-collection.patch \
+ file://0001-lttng-live-Include-sys-param.h-for-MAXNAMLEN-definti.patch \
"
S = "${WORKDIR}/git"