package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec
PATCH 1/1 package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec
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].
--- ...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
package/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 34b992d7e5d4ffaa955ea8f6a3dff7ea789e1def Mon Sep 17 00:00:00 2001 +From: Etienne Carriere <[email protected]> +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 <[email protected]> +--- + 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 +
Signature · 1 line
2.17.1
Yann E. MORIN
AppliedPATCH 1/1 package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec
Etienne, All,
On 2021-03-09 12:33 +0100, Etienne Carriere spake thusly:
Quoted 7 lines
Include missing
unistd.hto support typegid_tin ckteec library of optee-client 3.12.0. This change fixes [1]. The fix has been posted to optee-client forum, see [2].
Applied to master, with the folowing changes:
- use an actual backport now that upstream applied it
- fix typo in title
Thanks.
Be carefull if you rebase your tree: the patch was renamed to accomodate the upstream commit title.
Regards,
Yann E. MORIN.
Quoted 46 lines
--- ...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.patchpackage/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch new file +28
-0@@ -0,0 +1,28 @@ +From 34b992d7e5d4ffaa955ea8f6a3dff7ea789e1def Mon Sep 17 00:00:00 2001 +From: Etienne Carriere <[email protected]> +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 <[email protected]> +--- + 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 +Signature · 6 lines
2.17.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec
Hi Yann,
Quoted 12 lines · Yann E. MORIN
Etienne, All,
On 2021-03-09 12:33 +0100, Etienne Carriere spake thusly:
Quoted 7 lines
Include missing
unistd.hto support typegid_tin ckteec library of optee-client 3.12.0. This change fixes [1]. The fix has been posted to optee-client forum, see [2].
Quoted 6 lines
Applied to master, with the folowing changes:
- use an actual backport now that upstream applied it
- fix typo in titleThanks.
Thanks for those updates.
Regards,
Etienne
Quoted 61 lines
Be carefull if you rebase your tree: the patch was renamed to accomodate the upstream commit title.
Regards,
Yann E. MORIN.Quoted 42 lines
--- ...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.patchpackage/optee-client/0001-libckteec-add-missing-unistd.h-for-group-ID-type.patch new file +28
-1@@ -0,0 +1,28 @@ +From 34b992d7e5d4ffaa955ea8f6a3dff7ea789e1def Mon Sep 17 00:00:00 2001 +From: Etienne Carriere <[email protected]> +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 <[email protected]> +--- + 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
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
.-----------------.--------------------.------------------.--------------------.| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |'------------------------------^-------^------------------^--------------------'