diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0026-crash01-Define-_GNU_SOURCE.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0026-crash01-Define-_GNU_SOURCE.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0026-crash01-Define-_GNU_SOURCE.patch b/meta/recipes-extended/ltp/ltp/0026-crash01-Define-_GNU_SOURCE.patch deleted file mode 100644 index f65fad12d4..0000000000 --- a/meta/recipes-extended/ltp/ltp/0026-crash01-Define-_GNU_SOURCE.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 0133a2b29d6f48d8e2bba6a3be581cdfa91311a6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 8 Jan 2016 07:21:05 +0000 | ||
4 | Subject: [PATCH 26/32] crash01: Define _GNU_SOURCE | ||
5 | |||
6 | Fixes musl build errors like | ||
7 | error: 'SA_NOMASK' undeclared (first use in this function) | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | --- | ||
13 | testcases/misc/crash/crash01.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/testcases/misc/crash/crash01.c b/testcases/misc/crash/crash01.c | ||
17 | index 0574521..08a02e7 100644 | ||
18 | --- a/testcases/misc/crash/crash01.c | ||
19 | +++ b/testcases/misc/crash/crash01.c | ||
20 | @@ -49,7 +49,7 @@ stress test at the same time you run other tests, like a multi-user | ||
21 | benchmark. | ||
22 | |||
23 | */ | ||
24 | - | ||
25 | +#define _GNU_SOURCE | ||
26 | #include <stdio.h> | ||
27 | #include <stdlib.h> | ||
28 | #include <string.h> | ||
29 | -- | ||
30 | 2.7.0 | ||
31 | |||