diff options
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch | 44 | ||||
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20180926.bb | 1 |
2 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch b/meta/recipes-extended/ltp/ltp/0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch deleted file mode 100644 index 0245a89f3d..0000000000 --- a/meta/recipes-extended/ltp/ltp/0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 23518508de307790231d16af307291f1b45e903a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org> | ||
3 | Date: Tue, 5 Jun 2018 15:36:30 -0500 | ||
4 | Subject: [PATCH] read_all: Define FNM_EXTMATCH if not already (like under | ||
5 | musl). | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | With musl, FNM_EXTMATCH is not defined: | ||
11 | | read_all.c: In function 'read_test': | ||
12 | | read_all.c:201:41: error: 'FNM_EXTMATCH' undeclared (first use in this function); did you mean 'FNM_NOMATCH'? | ||
13 | | if (exclude && !fnmatch(exclude, path, FNM_EXTMATCH)) { | ||
14 | | ^~~~~~~~~~~~ | ||
15 | | FNM_NOMATCH | ||
16 | | read_all.c:201:41: note: each undeclared identifier is reported only once for each function it appears in | ||
17 | | <builtin>: recipe for target 'read_all' failed | ||
18 | | make[4]: *** [read_all] Error 1 | ||
19 | |||
20 | Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> | ||
21 | |||
22 | Upstream-Status: Pending | ||
23 | --- | ||
24 | testcases/kernel/fs/read_all/read_all.c | 4 ++++ | ||
25 | 1 file changed, 4 insertions(+) | ||
26 | |||
27 | diff --git a/testcases/kernel/fs/read_all/read_all.c b/testcases/kernel/fs/read_all/read_all.c | ||
28 | index a8e1611..e9ff47a 100644 | ||
29 | --- a/testcases/kernel/fs/read_all/read_all.c | ||
30 | +++ b/testcases/kernel/fs/read_all/read_all.c | ||
31 | @@ -59,6 +59,10 @@ | ||
32 | #define MAX_PATH 4096 | ||
33 | #define MAX_DISPLAY 40 | ||
34 | |||
35 | +#if !defined(FNM_EXTMATCH) | ||
36 | +#define FNM_EXTMATCH 0 | ||
37 | +#endif | ||
38 | + | ||
39 | struct queue { | ||
40 | sem_t sem; | ||
41 | int front; | ||
42 | -- | ||
43 | 2.7.4 | ||
44 | |||
diff --git a/meta/recipes-extended/ltp/ltp_20180926.bb b/meta/recipes-extended/ltp/ltp_20180926.bb index 622c1f42f7..500ca0063d 100644 --- a/meta/recipes-extended/ltp/ltp_20180926.bb +++ b/meta/recipes-extended/ltp/ltp_20180926.bb | |||
@@ -46,7 +46,6 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
46 | file://0035-fix-test_proc_kill-hang.patch \ | 46 | file://0035-fix-test_proc_kill-hang.patch \ |
47 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ | 47 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ |
48 | file://0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch \ | 48 | file://0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch \ |
49 | file://0040-read_all-Define-FNM_EXTMATCH-if-not-already-like-und.patch \ | ||
50 | file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \ | 49 | file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \ |
51 | file://0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch \ | 50 | file://0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch \ |
52 | file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \ | 51 | file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \ |