mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
ltp: Reduce local Pending patches
Rebase the patch on latest ltp upstream:
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
[Yocto #11548]
(From OE-Core rev: 69bd27d9d268d4c52aa521a0ceed0eb5a259a516)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b18a0f56ed
commit
20dcf0c1ef
+8
-7
@@ -1,22 +1,23 @@
|
|||||||
From 32644bde4d33b677614534ec37030e57883b8e15 Mon Sep 17 00:00:00 2001
|
From b906ec2fe4711a727e198cd9259287c042eef8e2 Mon Sep 17 00:00:00 2001
|
||||||
From: Dengke Du <dengke.du@windriver.com>
|
From: Dengke Du <dengke.du@windriver.com>
|
||||||
Date: Thu, 9 Feb 2017 16:41:12 +0800
|
Date: Thu, 9 Feb 2017 16:41:12 +0800
|
||||||
Subject: [PATCH 1/3] fix PATH_MAX undeclared when building with musl
|
Subject: [PATCH] fix PATH_MAX undeclared when building with musl
|
||||||
|
|
||||||
fix PATH_MAX undeclared when building with musl.
|
fix PATH_MAX undeclared when building with musl.
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/176]
|
||||||
|
|
||||||
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
||||||
Upstream-Status: Pending
|
|
||||||
---
|
---
|
||||||
include/tst_test.h | 3 +++
|
include/tst_test.h | 3 +++
|
||||||
1 file changed, 3 insertions(+)
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
diff --git a/include/tst_test.h b/include/tst_test.h
|
diff --git a/include/tst_test.h b/include/tst_test.h
|
||||||
index 7ff33b2..9779c0e 100644
|
index 335c82684..4dfa1511b 100644
|
||||||
--- a/include/tst_test.h
|
--- a/include/tst_test.h
|
||||||
+++ b/include/tst_test.h
|
+++ b/include/tst_test.h
|
||||||
@@ -19,6 +19,9 @@
|
@@ -23,6 +23,9 @@
|
||||||
#define TST_TEST_H__
|
#endif /* __TEST_H__ */
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
+#ifndef __GLIBC__
|
+#ifndef __GLIBC__
|
||||||
@@ -26,5 +27,5 @@ index 7ff33b2..9779c0e 100644
|
|||||||
#include "tst_common.h"
|
#include "tst_common.h"
|
||||||
#include "tst_res_flags.h"
|
#include "tst_res_flags.h"
|
||||||
--
|
--
|
||||||
2.7.4
|
2.11.0
|
||||||
|
|
||||||
|
|||||||
+13
-12
@@ -1,30 +1,31 @@
|
|||||||
From a2639bd0f0d3f9f3049ee33e6710fed06225f54f Mon Sep 17 00:00:00 2001
|
From d1a27570457fb6e1d6bafe81bfa0f3507b137e32 Mon Sep 17 00:00:00 2001
|
||||||
From: Dengke Du <dengke.du@windriver.com>
|
From: Dengke Du <dengke.du@windriver.com>
|
||||||
Date: Thu, 9 Feb 2017 18:20:58 +0800
|
Date: Thu, 9 Feb 2017 18:20:58 +0800
|
||||||
Subject: [PATCH 1/2] fix __WORDSIZE undeclared when building with musl
|
Subject: [PATCH] fix __WORDSIZE undeclared when building with musl
|
||||||
|
|
||||||
fix __WORDSIZE undeclared when building with musl.
|
fix __WORDSIZE undeclared when building with musl.
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/177]
|
||||||
|
|
||||||
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
||||||
Upstream-Status: Pending
|
|
||||||
---
|
---
|
||||||
include/old/test.h | 3 +++
|
include/old/test.h | 3 +++
|
||||||
1 file changed, 3 insertions(+)
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
diff --git a/include/old/test.h b/include/old/test.h
|
diff --git a/include/old/test.h b/include/old/test.h
|
||||||
index d492560..263e92e 100644
|
index b36764d83..cc6f1b551 100644
|
||||||
--- a/include/old/test.h
|
--- a/include/old/test.h
|
||||||
+++ b/include/old/test.h
|
+++ b/include/old/test.h
|
||||||
@@ -58,6 +58,9 @@
|
@@ -44,6 +44,9 @@
|
||||||
#include "tst_clone.h"
|
#include <string.h>
|
||||||
#include "old_device.h"
|
#include <stdlib.h>
|
||||||
#include "old_tmpdir.h"
|
#include <stdint.h>
|
||||||
+#ifndef __GLIBC__
|
+#ifndef __GLIBC__
|
||||||
+#include <bits/reg.h>
|
+#include <bits/reg.h>
|
||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
/*
|
#include "usctest.h"
|
||||||
* Ensure that NUMSIGS is defined.
|
|
||||||
--
|
--
|
||||||
2.7.4
|
2.11.0
|
||||||
|
|
||||||
|
|||||||
+5
-4
@@ -1,18 +1,19 @@
|
|||||||
From 2d7ea67e8eaa41cbd6816f7ab654254b40b530a1 Mon Sep 17 00:00:00 2001
|
From bf5dd2932200e0199a38f3028d3bef2253f32e38 Mon Sep 17 00:00:00 2001
|
||||||
From: Dengke Du <dengke.du@windriver.com>
|
From: Dengke Du <dengke.du@windriver.com>
|
||||||
Date: Thu, 9 Feb 2017 17:17:37 +0800
|
Date: Thu, 9 Feb 2017 17:17:37 +0800
|
||||||
Subject: [PATCH] fix redefinition of 'struct msgbuf' error building with musl
|
Subject: [PATCH] fix redefinition of 'struct msgbuf' error building with musl
|
||||||
|
|
||||||
When building with musl the file "sys/msg.h" already contain 'struct msgbuf'
|
When building with musl the file "sys/msg.h" already contain 'struct msgbuf'
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/linux-test-project/ltp/pull/177]
|
||||||
|
|
||||||
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
||||||
Upstream-Status: Pending
|
|
||||||
---
|
---
|
||||||
testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c | 4 +++-
|
testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c | 4 +++-
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
diff --git a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
||||||
index a757c0d..e023114 100644
|
index a757c0d18..e023114d2 100644
|
||||||
--- a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
--- a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
||||||
+++ b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
+++ b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv08.c
|
||||||
@@ -47,11 +47,13 @@ const char *TCID = "msgrcv08";
|
@@ -47,11 +47,13 @@ const char *TCID = "msgrcv08";
|
||||||
@@ -31,5 +32,5 @@ index a757c0d..e023114 100644
|
|||||||
static void msr(int msqid)
|
static void msr(int msqid)
|
||||||
{
|
{
|
||||||
--
|
--
|
||||||
2.7.4
|
2.11.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user