From patchwork Tue Mar 9 11:33:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 1449672 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=r2YYhN3W; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DvtQL4nxcz9sSC for ; Tue, 9 Mar 2021 22:34:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 5938183A93; Tue, 9 Mar 2021 11:33:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5NFkRMJcWtVx; Tue, 9 Mar 2021 11:33:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 7C39F83ABF; Tue, 9 Mar 2021 11:33:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5B4671BF288 for ; Tue, 9 Mar 2021 11:33:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id AD53683A5C for ; Tue, 9 Mar 2021 11:33:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0ZRONpvFhiYW for ; Tue, 9 Mar 2021 11:33:52 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9416A835A9 for ; Tue, 9 Mar 2021 11:33:52 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id v15so14829197wrx.4 for ; Tue, 09 Mar 2021 03:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=pXNUg9kOL/Cq/Vt0qPcEsKfmHWMdsRdNDifETE6B3MQ=; b=r2YYhN3W/s5hRaCXd8HlrFzSMiifanH07E7MsuME2z/6dfAwf4NnFn503UyOrRuVtT DdkaEBrZ8P3LxXzP0vFW8i4dM8RAG1OKheJ0Pkjh7M47170ZoLAjdyRQRSQXWRxcqVEc RDMVErPNL37xKz/JeKGlUy8/3ZUB+iO3nGChPa0MukYUzmOMQJ6g7zVVeqALcusRlYVd PpcLFjTthDpAL/AsafrOdLPoNygLydEj/jll4ULU0RBgJxTxLMXNkP0qYcB9y+t2uaMu GfS5J+novDWDcRQDOtQskQyPc3/TM6UAqE5Idf4L9Sq0bQ6nMZYH/oUxRzvQvpqX25Rh TZlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pXNUg9kOL/Cq/Vt0qPcEsKfmHWMdsRdNDifETE6B3MQ=; b=gUb0t/HRwAC7YpnEPh+dq+PBkUHJxev9MbTD00JurrPkZUkhly6UxoQe4SDxUogart iC79y75qcUm+s7MmKomcs8QJdS9Hh+lVlVBgYiZBtJG8B+HIOfRv3K9QH7mS+822iHp+ /0h6Ib5gH3o1E4BHlHAgu8+0qHQaMtWyQaX191zjbHiW/4cvrf6nkgN0iqfI/n6sB1GJ Beem9NBtZiLEbM5s9rGDTfTbXIm5V+7hTjqosWzZq7hio1Zh9ouI7lQhjZ7ooLYl+ehg lJfej+yPNvk868Hxt8863ptWcKsu6GMGeO4++P6GLrhFVoCQMJtfCjUyBuNXWL2275kC a94Q== X-Gm-Message-State: AOAM530fF5i/hJlfdWrcIjWLv3yut4GCs64JEnwKA4oZ1vLKd32MvfoZ xFs7DOjlrnyBgowMrYRVUev/u3KPj0Z+Gg== X-Google-Smtp-Source: ABdhPJwX4ajYL/y2jqHs7bxnt2xaLQ9Tzj34558qdb5OA0SHOwcStbT8IMVtcaVMBfvAdRa4O1T3PA== X-Received: by 2002:adf:d1c2:: with SMTP id b2mr27354186wrd.424.1615289630711; Tue, 09 Mar 2021 03:33:50 -0800 (PST) Received: from lmecxl0524.home (2a01cb058b85080038d9665c555bdad2.ipv6.abo.wanadoo.fr. [2a01:cb05:8b85:800:38d9:665c:555b:dad2]) by smtp.gmail.com with ESMTPSA id b17sm22937588wrt.17.2021.03.09.03.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 03:33:50 -0800 (PST) From: Etienne Carriere To: buildroot@buildroot.org Date: Tue, 9 Mar 2021 12:33:48 +0100 Message-Id: <20210309113348.22974-1-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/optee-client: fix git_d build issue in OP-TEE 3.12 libckteec X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Etienne Carriere MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "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 --- ...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 +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 +--- + 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 + #include + #include ++#include + + #include "ck_helpers.h" + #include "invoke_ta.h" +-- +2.17.1 +