summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-08-23 16:11:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-23 18:02:23 +0100
commit6b1f8224454f1e0702cf30890cca2d3ef5c25aab (patch)
tree5684d39bf5545f64a6de8ba7f2cb560616bfb8f4 /meta/recipes-devtools/strace
parenta0de8a6fb892dc5625ff145e33ff2ccfff4f7e88 (diff)
downloadpoky-6b1f8224454f1e0702cf30890cca2d3ef5c25aab.tar.gz
strace: 4.23 -> 4.24
Remove backported patch 0001-tests-fix-build-with-fresh-glibc.patch. (From OE-Core rev: 20b45274681892cc761bbef87360dc1088d040a1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/0001-tests-fix-build-with-fresh-glibc.patch42
-rw-r--r--meta/recipes-devtools/strace/strace_4.24.bb (renamed from meta/recipes-devtools/strace/strace_4.23.bb)5
2 files changed, 2 insertions, 45 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-tests-fix-build-with-fresh-glibc.patch b/meta/recipes-devtools/strace/strace/0001-tests-fix-build-with-fresh-glibc.patch
deleted file mode 100644
index ce6e567da0..0000000000
--- a/meta/recipes-devtools/strace/strace/0001-tests-fix-build-with-fresh-glibc.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From bba1b0085f2a2c83839647fee48628ee054aceb7 Mon Sep 17 00:00:00 2001
2From: "Dmitry V. Levin" <ldv@altlinux.org>
3Date: Sun, 15 Jul 2018 22:14:29 +0000
4Subject: [PATCH] tests: fix build with fresh glibc
5
6Workaround additional incompatibility between <sys/stat.h> and
7<asm/stat.h> introduced by glibc-2.27.9000-566-gfd70af4.
8
9* tests/xstatx.c (statx, statx_timestamp): Redefine before the inclusion
10of <sys/stat.h> to avoid conflicts between definitions provided by the
11linux kernel headers and the GNU libc.
12
13Upstream-Status: Backport [https://gitlab.com/strace/strace/commit/3dbffb7]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16
17 tests/xstatx.c | 6 +++++-
18 1 file changed, 5 insertions(+), 1 deletion(-)
19
20diff --git a/tests/xstatx.c b/tests/xstatx.c
21index 7fb9326..441f4a8 100644
22--- a/tests/xstatx.c
23+++ b/tests/xstatx.c
24@@ -64,10 +64,14 @@ typedef off_t libc_off_t;
25
26 # define stat libc_stat
27 # define stat64 libc_stat64
28+# define statx libc_statx
29+# define statx_timestamp libc_statx_timestamp
30 # include <fcntl.h>
31 # include <sys/stat.h>
32-# undef stat
33+# undef statx_timestamp
34+# undef statx
35 # undef stat64
36+# undef stat
37
38 # undef st_atime
39 # undef st_mtime
40--
412.18.0
42
diff --git a/meta/recipes-devtools/strace/strace_4.23.bb b/meta/recipes-devtools/strace/strace_4.24.bb
index d30d440abc..e6f7e9cba7 100644
--- a/meta/recipes-devtools/strace/strace_4.23.bb
+++ b/meta/recipes-devtools/strace/strace_4.24.bb
@@ -14,10 +14,9 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
14 file://mips-SIGEMT.patch \ 14 file://mips-SIGEMT.patch \
15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ 15 file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ 16 file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
17 file://0001-tests-fix-build-with-fresh-glibc.patch \
18 " 17 "
19SRC_URI[md5sum] = "fad4bba0947553cef34d46a9fd78f039" 18SRC_URI[md5sum] = "8780136849c85acf76ad3a522aa4462a"
20SRC_URI[sha256sum] = "7860a6965f1dd832747bd8281a04738274398d32c56e9fbd0a68b1bb9ec09aad" 19SRC_URI[sha256sum] = "1f4e59fc1edfa2bfb4adf2a748623dc25b105ec79713dd84404199f91b0b0634"
21 20
22inherit autotools ptest bluetooth 21inherit autotools ptest bluetooth
23 22