diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap/0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch | 27 | ||||
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.inc | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap/0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch b/meta/recipes-kernel/systemtap/systemtap/0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch new file mode 100644 index 0000000000..df9b7c94cf --- /dev/null +++ b/meta/recipes-kernel/systemtap/systemtap/0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 62379eedc739605f04d02e76eb50c4d2f129ae08 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Frank Ch. Eigler" <fche@redhat.com> | ||
3 | Date: Tue, 25 Nov 2014 13:45:14 +0800 | ||
4 | Subject: [PATCH] PR16632: Adapt to glibc deprecation of _BSD_SOURCE: add _DEFAULT_SOURCE | ||
5 | |||
6 | Upstream-Status: Backport from commit c6278d012a483d97f5ee4756406d9c88735d2838 | ||
7 | |||
8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
9 | --- | ||
10 | staprun/staprun.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/staprun/staprun.c b/staprun/staprun.c | ||
14 | index b85e2b0..1e1b5c3 100644 | ||
15 | --- a/staprun/staprun.c | ||
16 | +++ b/staprun/staprun.c | ||
17 | @@ -21,6 +21,7 @@ | ||
18 | |||
19 | #define _XOPEN_SOURCE | ||
20 | #define _BSD_SOURCE | ||
21 | +#define _DEFAULT_SOURCE | ||
22 | #include "staprun.h" | ||
23 | #include "../privilege.h" | ||
24 | #include "../runtime/k_syms.h" | ||
25 | -- | ||
26 | 1.9.1 | ||
27 | |||
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc index d8c6408e0f..2724c0e60f 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.inc +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc | |||
@@ -7,6 +7,7 @@ PV = "2.3+git${SRCPV}" | |||
7 | SRC_URI = "git://sourceware.org/git/systemtap.git \ | 7 | SRC_URI = "git://sourceware.org/git/systemtap.git \ |
8 | file://docproc-build-fix.patch \ | 8 | file://docproc-build-fix.patch \ |
9 | file://obsolete_automake_macros.patch \ | 9 | file://obsolete_automake_macros.patch \ |
10 | file://0001-PR16632-Adapt-to-glibc-deprecation-of-_BSD_SOURCE-ad.patch \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | FILESPATH = "${FILE_DIRNAME}/systemtap" | 13 | FILESPATH = "${FILE_DIRNAME}/systemtap" |