summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2019-02-21 12:21:03 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 10:56:17 +0000
commit471168b615112e8dee61a9d4722ed032873fcf78 (patch)
tree1de33dd2613e49379fd089d8bd81131aae78b4cf /meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch
parentdb3b872493e9d34dd71c552ddcdf678f01a00d95 (diff)
downloadpoky-471168b615112e8dee61a9d4722ed032873fcf78.tar.gz
ltp: Bump to 20190115
This patch has been refreshed: * 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch These patches have been dropped as they have been merged: * 0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch * 0001-setrlimit05-Use-another-method-to-get-bad-address.patch * 0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch * 0001-statx-fix-compile-errors.patch * 0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch * 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-glibc-.patch This patch has been added: * define-sigrtmin-and-sigrtmax-for-musl.patch Added these rdependencies: * file: for ld01, file01 and logrotate * quota: for quota_remount_test01 (From OE-Core rev: d198364c1007aab6523787f9e1bb6bb274cc89ad) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch b/meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch
deleted file mode 100644
index 140bfeb879..0000000000
--- a/meta/recipes-extended/ltp/ltp/0001-statx-fix-compile-errors.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From a945304b6a2286d0665c70250cc5475eb07fd21e Mon Sep 17 00:00:00 2001
2From: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
3Date: Wed, 26 Sep 2018 11:15:45 -0300
4Subject: [PATCH] statx: fix compile errors
5
6struct statx is only defined in sys/stat.h when _GNU_SOURCE is defined.
7The testcases do define _GNU_SOURCE, but not the m4 struct check.
8
9Upstream-Status: Backport
10Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
11Acked-by: Cyril Hrubis <chrubis@suse.cz>
12---
13 m4/ltp-statx.m4 | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/m4/ltp-statx.m4 b/m4/ltp-statx.m4
17index 44303d30c..5f79a94cd 100644
18--- a/m4/ltp-statx.m4
19+++ b/m4/ltp-statx.m4
20@@ -23,6 +23,11 @@ dnl
21 AC_DEFUN([LTP_CHECK_STATX],[
22 AC_CHECK_FUNCS(statx,,,[[#include <sys/stat.h>]])
23 AC_CHECK_HEADER(linux/fs.h,,,)
24-AC_CHECK_TYPES([struct statx],,,[[#include <sys/stat.h>]])
25-AC_CHECK_TYPES([struct statx_timestamp],,,[[#include <sys/stat.h>]])
26+AC_CHECK_TYPES([struct statx],,,[[
27+ #define _GNU_SOURCE
28+ #include <sys/stat.h>
29+]])
30+AC_CHECK_TYPES([struct statx_timestamp],,,[[
31+ #define _GNU_SOURCE
32+ #include <sys/stat.h>]])
33 ])
34--
352.19.1