From patchwork Mon May 22 05:00:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100261 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86537qge; Sun, 21 May 2017 22:03:21 -0700 (PDT) X-Received: by 10.98.34.22 with SMTP id i22mr23732640pfi.103.1495429401573; Sun, 21 May 2017 22:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429401; cv=none; d=google.com; s=arc-20160816; b=X0Cn6xbtOacI8hDdIKiyyDOX7522e3dbmplnfynhbshYUuIgsF9aL1kTorXnnhWz1v Vv6swKlDp6tJoBDs9mtwFd+JtUCvsttJWfIEzLniART4nGk+7OFifZFQm9FnSxGy2j51 7t6Sd+CdDMd7gVwwS4A3vN2GSSkWggjHhlOZ6GaCU2yzxlRXIxcSwcLkIQF08SLTk3gZ r6ldyc4Gm3Lo4TO5NCxy6ojDqwdWRvIjTUs2f3uDwwMID1t9K2I8zi6weidvZuRx3tzL yTWSNt3taLO6dRKgWJfj6lnQ8vG2Y3hrwWON2dUUCWWXaATrGL7ks3saFPYeKS+w2do3 Qt8g== 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:dkim-signature:delivered-to:arc-authentication-results; bh=KaN+F3IGPE+9iZAfXPKT8CW9yV9ASr166NwQOGxVusI=; b=Yb51sKjr9rMITbuIw3/f/0R+5FJ6jpIRpwYcp6yUcwtcMsOPoK4xFHiokx5QdmLe+W UVhLAUkN+VEWe2NlE75f9fFp9qVCih7xfYaijcfS1Hg/D0FXQOxDL12czyREsgoygZIw fwrIweCxT+BcwVc4OM2fU+Rrakj2ZuWcxBMqaisNx/43KOw2RExn0s2SmzBG4llXBmEI Sc/+n/zrQZG0RiZH4HmIRcEtGkqqznQB3K8jKPl8HPW1LbiRdYh6XLvQke7P0IvRD1SY p/Rczyg/FvLWBa7WxDo8b2I6tpq9eRvWQArt6lXkfnCFSk77xUsE/TDIka0zzqBgkFop fuEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 1si16066628pgo.200.2017.05.21.22.03.21; Sun, 21 May 2017 22:03:21 -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; dkim=neutral (body hash did not verify) header.i=@gmail.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2E6DB7804A; Mon, 22 May 2017 05:02:33 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f176.google.com (mail-pf0-f176.google.com [209.85.192.176]) by mail.openembedded.org (Postfix) with ESMTP id EA95177F6B for ; Mon, 22 May 2017 05:01:16 +0000 (UTC) Received: by mail-pf0-f176.google.com with SMTP id m17so70268660pfg.3 for ; Sun, 21 May 2017 22:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vcIQ1C/QbV50bGrAHpwLbFhMmX2uGtKOPnK3S7ru9k0=; b=LewRxnsFl9WBTa8p5Hw+yoNGjiqjuoYQHdbrVz54DKrNSHcS1EDes9KO9FI4o2Cwc0 E+9eGh5NjxpezPgaisVjLlqiBHfbirWaDPG4BBLJRw9B/H6R8O19dVTO9F89yb6b3OW8 ZuU0RAlulkSRaRfy8ZsrMxsjZAWkvfoz+Ow6QNV9/knlDdoGW4Z/nOvU7BVNgO5At/aF U77NvV04gXN3arP5bWRSCUHhb1zjUyoBqwH0P9lPrCuv0O7rNtDmDEdXB8vuJgcaQ0aC GxfVMJ0wQynht0eg3rv11wlwwk23izp6iaQLNbxKTaoRoLRDHvfayHzvTTJ1HQyOAqba UvrQ== 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:in-reply-to :references; bh=vcIQ1C/QbV50bGrAHpwLbFhMmX2uGtKOPnK3S7ru9k0=; b=aPCDy9/d1dibbTBTvzucXZ7n0ECeSqjdSumrS7paQmCWnlIMyi2Tm6SbCVv0YAdaRM csho+t/LDZRxORBmMM7Qk+pOipHPYC6vqAGIjxLtlJ6GEJqJ8S4vLEAmbkx984yNWsxe HB9q1xhMlpv/YakBn5js91Bua987W16RHJo0kU4YDtq31lrinhNU8bpDuGotMmj8jJSd W1JAvs0bAom7i5r0S9XMXApyGYr7pxTe7aZr76xzg9FJt3cMrdYxZew+lM9lJ0vhwNwQ wcqWAxvArdvks+/EPXEt7XhYl2o9gctfy/ELvHz7bk8EOjgwPoWNm0DcH3XWMhH+hYIz B2vg== X-Gm-Message-State: AODbwcA0jUcUwSQSCYP2Pcg7j26XFPhUvmMRGNG3OQwAXHTFBc58MmkI ywir5A2di9LMSg== X-Received: by 10.98.138.150 with SMTP id o22mr23196881pfk.120.1495429277920; Sun, 21 May 2017 22:01:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::63fb]) by smtp.gmail.com with ESMTPSA id t13sm28839596pfa.126.2017.05.21.22.01.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:41 -0700 Message-Id: <20170522050042.42403-14-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170522050042.42403-1-raj.khem@gmail.com> References: <20170522050042.42403-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 14/15] 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 Signed-off-by: Khem Raj --- .../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.13.0 -- _______________________________________________ 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 0000000000..1fe9833afe --- /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 662c8999c2..5518fb3c78 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 \