summaryrefslogtreecommitdiffstats
path: root/package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch
diff options
context:
space:
mode:
authorPhilippe Proulx <eeppeliteloop@gmail.com>2016-11-02 02:55:05 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-02 22:40:30 +0100
commitd6d3c7ad39b3eb6e51a3feec333a8fc84f7258f7 (patch)
treee8de0290a1c4cd1093648baf2e694d4c4a9b8953 /package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch
parent36bd9a3cb45ef4ce59581eb9f9c557cf6ceef09b (diff)
downloadbuildroot-d6d3c7ad39b3eb6e51a3feec333a8fc84f7258f7.tar.gz
buildroot-d6d3c7ad39b3eb6e51a3feec333a8fc84f7258f7.zip
lttng-tools: bump to version 2.8.2
The current patches are dropped because they were merged upstream. The new patches exist to fix the build with musl. They were submitted on the lttng-dev mailing list, but not merged yet, or not merged in 2.8.2. LTTng-tools now has its man pages written in AsciiDoc and they get converted to troff at build time. This is not needed in a Buildroot image anyway. The --enable-lttng-ust/--disable-lttng-ust configure options are renamed to --with-lttng-ust/--without-lttng-ust in v2.8. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch')
-rw-r--r--package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch b/package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch
new file mode 100644
index 0000000000..e9ba74fac4
--- /dev/null
+++ b/package/lttng-tools/0002-Fix-strerror_r-behavior-is-glibc-specific.patch
@@ -0,0 +1,30 @@
+From fc743b22fc26eab9f9dbf48e4505ed2394924bba Mon Sep 17 00:00:00 2001
+From: Michael Jeanson <mjeanson@efficios.com>
+Date: Mon, 13 Jun 2016 18:44:17 -0400
+Subject: [PATCH lttng-tools] Fix: strerror_r behavior is glibc specific
+
+Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
+[Philippe: grabbed from the mailing list:
+ https://lists.lttng.org/pipermail/lttng-dev/2016-June/026194.html
+]
+Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
+---
+ src/common/error.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/common/error.h b/src/common/error.h
+index 0fbd3a2..e8c811e 100644
+--- a/src/common/error.h
++++ b/src/common/error.h
+@@ -198,7 +198,7 @@ static inline void __lttng_print_check_abort(enum lttng_error_level type)
+
+ #define _PERROR(fmt, args...) _ERRMSG("PERROR", PRINT_ERR, fmt, ## args)
+
+-#if !defined(__linux__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
++#if !defined(__GLIBC__) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE))
+
+ /*
+ * Version using XSI strerror_r.
+--
+2.7.4
+
OpenPOWER on IntegriCloud