summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-12-06 09:34:51 +0100
committerArmin Kuster <akuster808@gmail.com>2017-12-10 15:03:55 -0800
commit16812dac9647721aeee0bf0ef815dbc0a7151c38 (patch)
tree63a85d43ff44b6de1a3a0f5b6670fbdc845fcecb /meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch
parentd95d99386c211e86ec3aa67cec98f86d5b45091c (diff)
downloadmeta-security-16812dac9647721aeee0bf0ef815dbc0a7151c38.tar.gz
swtpm/libtpm: update to latest master
This allows dropping some patches for issues that were addressed upstream. It also brings in support for connecting swtpm to qemu without relying on CUSE. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> 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.patch24
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 @@
1logging: Fix musl build issue with fcntl 1From 8750a6c3f0b4d9e7e45b4079150d29eb44774e9c Mon Sep 17 00:00:00 2001
2From: Armin Kuster <akuster@mvista.com>
3Date: Tue, 14 Mar 2017 22:59:36 -0700
4Subject: [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
6Upstream-Status: Pending 9Upstream-Status: Pending
7Signed-off-by: Armin Kuster <akuster@mvista.com> 10Signed-off-by: Armin Kuster <akuster@mvista.com>
8 11
9Index: 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 @@ 16diff --git a/src/swtpm/logging.c b/src/swtpm/logging.c
17index 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--
302.11.0
31