From patchwork Thu Mar 15 17:30:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 131830 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1397549ljb; Thu, 15 Mar 2018 10:30:59 -0700 (PDT) X-Google-Smtp-Source: AG47ELv7yEoxhmQvBR6UfLr525KgPc4r34ZK4GfhTsfvrjO3aOX3rdKPd9SmMr1bskjBAQ32SAfP X-Received: by 10.99.60.6 with SMTP id j6mr7126897pga.73.1521135059578; Thu, 15 Mar 2018 10:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521135059; cv=none; d=google.com; s=arc-20160816; b=GOlFs6t7ZaUlG6FA2wOKQrXoc9PG7pyyXTAkJTRn5PWt/gQ2Sf16VfalxG6QbdE1RR y0UdxoqCLuXr4yYU6EwK++sAqDWfeQL7RKZJCwSBgMesU7Xcrm5J61U8qV+CG6y+kj1g 0VnX/WP6hD7L+O6gYUMEClFBx2e2yIH1dgrl6+6+nkFUG6ABVHZ5f+vFxknePu7OyXwk lXutdVUvYIXTLXTfASEB7zlFNncc2Oi0ljpVFf8WAD7BqJSdkn0i8TEG6D3wSfZd3tO0 da6UrLwNrK3pEUTN8CO1QoxTTyVv51sEsAGGWc4hygvFksavmC8lsmbaQPTxZqvA5mIW NRGw== 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=Hgb2mRyKT2ogR4/gDPnrS55RwcRgaCQ/7JIs6/+xJxQ0GJdp4y9TWKcDRtAGm3oRvF JtyHLOAszX3M0gDbf/hgon4rCkmNog9KV460oUFHmITaYuxU2FjPsGoxmi2gcUjhl7hP a/lRTFHdxOHwaVWPS1AZ3jq7riq1DpwnWRUdIRg95E42gF2RGT9tWztxaRUira1VryFY xjeJW1bv7ODbNg8vgDutELnJwHZn0vmM141usAO0SopGB2fiXRdWkgZN7MiS0z022V57 2a6Ly+FDrWLHraBc0LJVYvm6G/CK54PHPzCJwhoqftBcTcRQk3u64V2+qmNDcklzQoze QSrA== 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 u11si3695469pgo.695.2018.03.15.10.30.59; Thu, 15 Mar 2018 10:30:59 -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 38F2778927; Thu, 15 Mar 2018 17:30:40 +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 C88CC788B8 for ; Thu, 15 Mar 2018 17:30:22 +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 w2FHUEDk006072 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 15 Mar 2018 17:30:17 GMT Received: from richard by hex with local (Exim 4.86_2) (envelope-from ) id 1ewWhi-0003B9-0L; Thu, 15 Mar 2018 10:30:14 -0700 From: Richard Purdie To: openembedded-core@lists.openembedded.org Date: Thu, 15 Mar 2018 10:30:01 -0700 Message-Id: <1521135009-12149-5-git-send-email-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521135009-12149-1-git-send-email-richard.purdie@linuxfoundation.org> References: <1521135009-12149-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] [morty][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 \