From patchwork Fri Mar 23 17:00:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 890077 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.ind.br Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4078tq3k6Nz9s0R for ; Sat, 24 Mar 2018 04:00:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B40A48880D; Fri, 23 Mar 2018 17:00:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qI93Dj-855nm; Fri, 23 Mar 2018 17:00:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 66D03883CA; Fri, 23 Mar 2018 17:00:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id F3BA91C0ADB for ; Fri, 23 Mar 2018 17:00:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F03DA8A4CD for ; Fri, 23 Mar 2018 17:00:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7duEfJXqkohf for ; Fri, 23 Mar 2018 17:00:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by hemlock.osuosl.org (Postfix) with ESMTPS id 0B10E8A332 for ; Fri, 23 Mar 2018 17:00:41 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 4F5151BA20A3 for ; Fri, 23 Mar 2018 14:00:41 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 433EB1BA20A1 for ; Fri, 23 Mar 2018 14:00:41 -0300 (-03) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LxeSlL_kqYXT for ; Fri, 23 Mar 2018 14:00:41 -0300 (-03) Received: from pedeld202344.datacom.net (pedeld202344.datacom.net [10.0.120.87]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 2966F1BA20A0 for ; Fri, 23 Mar 2018 14:00:41 -0300 (-03) From: Carlos Santos To: buildroot@buildroot.org Date: Fri, 23 Mar 2018 14:00:30 -0300 Message-Id: <20180323170030.17416-1-casantos@datacom.ind.br> X-Mailer: git-send-email 2.14.3 Subject: [Buildroot] [PATCH] tpm2-tss: fix build with musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add a missing inclusion, needed for the definition of the fd_set type. This patch can't be sent upstream because the changed file does not exist anymore on the master branch. Fixes: http://autobuild.buildroot.net/results/09e8b3b85d7113d60e8967a2d41a6aea8f8197c0 http://autobuild.buildroot.net/results/2e4c70f2f1239eb19235ae04a936a6492daf316d http://autobuild.buildroot.net/results/bbd68f52781da735e983b1260de5b804787374b1 Signed-off-by: Carlos Santos --- ...ocket.cpp-add-missing-inclusion-of-sys-se.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/tpm2-tss/0001-tcti-tcti_socket.cpp-add-missing-inclusion-of-sys-se.patch diff --git a/package/tpm2-tss/0001-tcti-tcti_socket.cpp-add-missing-inclusion-of-sys-se.patch b/package/tpm2-tss/0001-tcti-tcti_socket.cpp-add-missing-inclusion-of-sys-se.patch new file mode 100644 index 0000000000..e8e0d842f2 --- /dev/null +++ b/package/tpm2-tss/0001-tcti-tcti_socket.cpp-add-missing-inclusion-of-sys-se.patch @@ -0,0 +1,33 @@ +From 2fdbf9f56bd6e7b00c695881a81c0df2f5088760 Mon Sep 17 00:00:00 2001 +From: Carlos Santos +Date: Fri, 23 Mar 2018 09:15:44 -0300 +Subject: [PATCH] tcti/tcti_socket.cpp: add missing inclusion of sys/select.h + +Prevents compilation errors due to undeclared "fd_set" type. + +Fixes: + http://autobuild.buildroot.net/results/09e8b3b85d7113d60e8967a2d41a6aea8f8197c0 + http://autobuild.buildroot.net/results/2e4c70f2f1239eb19235ae04a936a6492daf316d + http://autobuild.buildroot.net/results/bbd68f52781da735e983b1260de5b804787374b1 + +Signed-off-by: Carlos Santos +--- + tcti/tcti_socket.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/tcti/tcti_socket.cpp b/tcti/tcti_socket.cpp +index e8982f1..b6e5874 100644 +--- a/tcti/tcti_socket.cpp ++++ b/tcti/tcti_socket.cpp +@@ -28,6 +28,8 @@ + #include + #include // Needed for _wtoi + ++#include // for fd_set ++ + #include "sapi/tpm20.h" + #include "tcti/tcti_socket.h" + #include "sysapi_util.h" +-- +2.14.3 +