summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch
diff options
context:
space:
mode:
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.patch31
1 files changed, 0 insertions, 31 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
deleted file mode 100644
index 3d16431..0000000
--- a/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch
+++ /dev/null
@@ -1,31 +0,0 @@
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
5
6 error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp]
7 #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.
8
9Upstream-Status: Pending
10Signed-off-by: Armin Kuster <akuster@mvista.com>
11
12---
13 src/swtpm/logging.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
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 @@
21 #include <errno.h>
22 #include <string.h>
23 #include <sys/types.h>
24-#include <sys/fcntl.h>
25+#include <fcntl.h>
26 #include <sys/stat.h>
27 #include <stdio.h>
28 #include <stdlib.h>
29--
302.11.0
31