diff options
Diffstat (limited to 'meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch')
-rw-r--r-- | meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch index e844045..3d16431 100644 --- a/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | logging: Fix musl build issue with fcntl | 1 | From 8750a6c3f0b4d9e7e45b4079150d29eb44774e9c Mon Sep 17 00:00:00 2001 |
2 | From: Armin Kuster <akuster@mvista.com> | ||
3 | Date: Tue, 14 Mar 2017 22:59:36 -0700 | ||
4 | Subject: [PATCH 2/4] logging: Fix musl build issue with fcntl | ||
2 | 5 | ||
3 | error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp] | 6 | error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp] |
4 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl. | 7 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl. |
@@ -6,16 +9,23 @@ logging: Fix musl build issue with fcntl | |||
6 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
7 | Signed-off-by: Armin Kuster <akuster@mvista.com> | 10 | Signed-off-by: Armin Kuster <akuster@mvista.com> |
8 | 11 | ||
9 | Index: git/src/swtpm/logging.c | 12 | --- |
10 | =================================================================== | 13 | src/swtpm/logging.c | 2 +- |
11 | --- git.orig/src/swtpm/logging.c | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | +++ git/src/swtpm/logging.c | 15 | |
13 | @@ -43,7 +43,7 @@ | 16 | diff --git a/src/swtpm/logging.c b/src/swtpm/logging.c |
17 | index f16cab6..7da8606 100644 | ||
18 | --- a/src/swtpm/logging.c | ||
19 | +++ b/src/swtpm/logging.c | ||
20 | @@ -45,7 +45,7 @@ | ||
14 | #include <errno.h> | 21 | #include <errno.h> |
15 | #include <string.h> | 22 | #include <string.h> |
16 | #include <sys/types.h> | 23 | #include <sys/types.h> |
17 | -#include <sys/fcntl.h> | 24 | -#include <sys/fcntl.h> |
18 | +#include <fcntl.h> | 25 | +#include <fcntl.h> |
26 | #include <sys/stat.h> | ||
19 | #include <stdio.h> | 27 | #include <stdio.h> |
20 | #include <stdlib.h> | 28 | #include <stdlib.h> |
21 | #include <stdarg.h> | 29 | -- |
30 | 2.11.0 | ||
31 | |||