From 617f0af2dc7867979f75dc537e3ebeb2f937efc8 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Wed, 26 Apr 2023 09:56:38 -0400 Subject: recipes-tpm: use this for common tpm recipes a bit of re-org Signed-off-by: Armin Kuster --- meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch (limited to 'meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch') 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..3d16431 --- /dev/null +++ b/meta-tpm/recipes-tpm/swtpm/files/fix_fcntl_h.patch @@ -0,0 +1,31 @@ +From 8750a6c3f0b4d9e7e45b4079150d29eb44774e9c Mon Sep 17 00:00:00 2001 +From: Armin Kuster +Date: Tue, 14 Mar 2017 22:59:36 -0700 +Subject: [PATCH 2/4] logging: Fix musl build issue with fcntl + + error: #warning redirecting incorrect #include to [-Werror=cpp] + #warning redirecting incorrect #include to + +--- + src/swtpm/logging.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/swtpm/logging.c b/src/swtpm/logging.c +index f16cab6..7da8606 100644 +--- a/src/swtpm/logging.c ++++ b/src/swtpm/logging.c +@@ -45,7 +45,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +-- +2.11.0 + -- cgit v1.2.3-54-g00ecf