All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec
@ 2021-03-09 11:33 Etienne Carriere
  2021-03-09 20:22 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Etienne Carriere @ 2021-03-09 11:33 UTC (permalink / raw)
  To: buildroot

Include missing unistd.h to support type gid_t in ckteec library
of optee-client 3.12.0. This change fixes [1]. The fix has been
posted to optee-client forum, see [2].

Link: [1] http://autobuild.buildroot.net/results/34b9946e6d59112a7eead304933534ad4739a84c/build-end.log
Link: [2] https://github.com/OP-TEE/optee_client/pull/262
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
---
 ...d-missing-unistd.h-for-group-ID-type.patch | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch

diff --git a/package/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch b/package/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch
new file mode 100644
index 0000000000..f47c6ad865
--- /dev/null
+++ b/package/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch
@@ -0,0 +1,28 @@
+From 34b992d7e5d4ffaa955ea8f6a3dff7ea789e1def Mon Sep 17 00:00:00 2001
+From: Etienne Carriere <etienne.carriere@linaro.org>
+Date: Tue, 9 Mar 2021 11:52:32 +0100
+Subject: [PATCH] libckteec: add missing unistd.h for group ID type
+
+Include missing unistd.h to support type gid_t. This change fixes [1].
+
+Link: [1] http://autobuild.buildroot.net/results/34b9946e6d59112a7eead304933534ad4739a84c/build-end.log
+Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
+---
+ libckteec/src/invoke_ta.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libckteec/src/invoke_ta.c b/libckteec/src/invoke_ta.c
+index 7c4c5a7..444e099 100644
+--- a/libckteec/src/invoke_ta.c
++++ b/libckteec/src/invoke_ta.c
+@@ -17,6 +17,7 @@
+ #include <string.h>
+ #include <tee_client_api.h>
+ #include <teec_trace.h>
++#include <unistd.h>
+ 
+ #include "ck_helpers.h"
+ #include "invoke_ta.h"
+-- 
+2.17.1
+
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-09 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 11:33 [Buildroot] [PATCH] package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec Etienne Carriere
2021-03-09 20:22 ` Yann E. MORIN
2021-03-09 20:40   ` Etienne Carriere

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.