From patchwork Thu Mar 15 13:40:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 131784 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1136666ljb; Thu, 15 Mar 2018 06:41:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELuCX1FVR0DZO1FWgTiALAZm/M606unTTRqFkk3xf+xQ4iCSylHIiuk9I46U381bSaZc9iVB X-Received: by 10.99.170.73 with SMTP id x9mr6777060pgo.393.1521121288431; Thu, 15 Mar 2018 06:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521121288; cv=none; d=google.com; s=arc-20160816; b=VcbqR1P74Qp+QrmwcC9ODO3WRRSd18M5qzeTc1N2LfmcENILHSj6gbkpiH1KiAWXvG Ks+d2CbcvigXBWiwb3NCZIsLOtOYEzEthXYTnk6ynwOdq0kBC0tdsVAafvpSpCnoj3IL nKK1YYuIiIuluCvWrnDw0ixdBz8JjgmjQHDW5SYgllpBp3RdKFcjmPeblxzIXu3whgX6 F/btxBH/PRa2g3nNkB1G4y7oD7UdePHCEkwclExO8SzDPhRSBY/iium8lzKp2MxqMYYG 1S5Mhqz4GuCj9mRXy5msRsTnSF8yVCcXHfhpP7uAvZ3OFYVWzuE6Wgk/Lfdpd4p/nfca +C+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=DBSIbIxj6QeQdb+w+gTsvRg1S+YKUEv26n49W142gys=; b=mxxq87GqJUobiRO3cNhHWYZTtTsBGsBuXEvYMZQStkPbjEepYW0nY8LqbTBx8jM2FL L2S0jlogVRFRnXM8kWP71W5f/XeF9MbRAZ8R9rPWi7v59iyNdt6vFaZucARX8mVZ4EdN yzG0Jx7hRPMiSXejNqupGtfeIjZbCmnGJQbvBjIVfXctULcRL6p8uR8QFWHP7+ZrZVMo 0tGJOOmvalw4MaFiPQRze5HUMPQrtsQScGjD4/KaUPcYA11hrpbw5SvSLxddraB33ZNL gqEmz+FKJ4Uzkk3837x0Cry2OOYqYSZlb+RP3WrVzbhxAs93klSJnt8f1gNpNZV+4+8F NOPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id u24si3785663pfh.326.2018.03.15.06.41.28; Thu, 15 Mar 2018 06:41:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 20DF7788F8; Thu, 15 Mar 2018 13:41:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id CCBB1788C9 for ; Thu, 15 Mar 2018 13:41:12 +0000 (UTC) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id w2FDf4oX016288 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 15 Mar 2018 13:41:07 GMT Received: from richard by hex with local (Exim 4.86_2) (envelope-from ) id 1ewT7w-0002Qf-F0; Thu, 15 Mar 2018 06:41:04 -0700 From: Richard Purdie To: openembedded-core@lists.openembedded.org Date: Thu, 15 Mar 2018 06:40:54 -0700 Message-Id: <1521121262-9269-5-git-send-email-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521121262-9269-1-git-send-email-richard.purdie@linuxfoundation.org> References: <1521121262-9269-1-git-send-email-richard.purdie@linuxfoundation.org> X-Virus-Scanned: clamav-milter 0.99.3 at dan X-Virus-Status: Clean Subject: [OE-core] [pyro][PATCH 05/13] libtirpc: Fix build error due to missing stdint.h> include X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../0001-include-stdint.h-for-uintptr_t.patch | 32 ++++++++++++++++++++++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch new file mode 100644 index 0000000..1fe9833 --- /dev/null +++ b/meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t.patch @@ -0,0 +1,32 @@ +From b80d3b573c1dade2b29b22f8acc3b9e2c7ddefd7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 13:36:43 -0700 +Subject: [PATCH] include stdint.h for uintptr_t + +Fixes +| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'? +| if (len < (uintptr_t)xdrs->x_base) { +| ^~~~~~~~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/xdr_sizeof.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c +index d23fbd1..79d6707 100644 +--- a/src/xdr_sizeof.c ++++ b/src/xdr_sizeof.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include "un-namespace.h" + + /* ARGSUSED */ +-- +2.13.0 + diff --git a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb index 662c899..5518fb3 100644 --- a/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb +++ b/meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb @@ -15,6 +15,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2;name=libtirpc \ file://libtirpc-0.2.1-fortify.patch \ file://export_key_secretkey_is_set.patch \ file://0001-replace-__bzero-with-memset-API.patch \ + file://0001-include-stdint.h-for-uintptr_t.patch \ " SRC_URI_append_libc-uclibc = " file://remove-des-functionality.patch \