diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-05-07 22:39:03 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-05-14 07:56:43 -0700 |
commit | 4585f1e8c95435d60dd3a5287b25c7076347a3c9 (patch) | |
tree | 9be1977ee4fb8e0aff3f901db7da0e95cce3ac63 /meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | |
parent | 6eac21cf4a7653753d87772c497ac14b8b6e3e67 (diff) | |
download | meta-security-4585f1e8c95435d60dd3a5287b25c7076347a3c9.tar.gz |
tpm: move to a sub layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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 | 21 |
1 files changed, 21 insertions, 0 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 new file mode 100644 index 0000000..e844045 --- /dev/null +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | logging: Fix musl build issue with fcntl | ||
2 | |||
3 | error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp] | ||
4 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
8 | |||
9 | Index: git/src/swtpm/logging.c | ||
10 | =================================================================== | ||
11 | --- git.orig/src/swtpm/logging.c | ||
12 | +++ git/src/swtpm/logging.c | ||
13 | @@ -43,7 +43,7 @@ | ||
14 | #include <errno.h> | ||
15 | #include <string.h> | ||
16 | #include <sys/types.h> | ||
17 | -#include <sys/fcntl.h> | ||
18 | +#include <fcntl.h> | ||
19 | #include <stdio.h> | ||
20 | #include <stdlib.h> | ||
21 | #include <stdarg.h> | ||