From patchwork Wed Sep 6 16:09:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jansa X-Patchwork-Id: 111804 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp1115227qge; Wed, 6 Sep 2017 09:07:37 -0700 (PDT) X-Received: by 10.98.105.8 with SMTP id e8mr7822383pfc.253.1504714057756; Wed, 06 Sep 2017 09:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504714057; cv=none; d=google.com; s=arc-20160816; b=mQHc2iDFrqPlkmYvpZ2R1nCIsHb7oa/ZNutDbaV2SpV7YDRQutjhIXcuG7eyOiWxTf WwyPC9Byg502FvGRdeINTtYfIFFL/1Sf8VfriJN0J1yVNNvgIT1tNlL38yk1FWNMe4b3 yWsF5cXml0ZLW94O+7Fw9uD1hf0JGyRtQXitv5CCMWVGVkwrLWGaQoxflb4OJ57ln9eW p2ExlaOpChk9laJo83ZaO5QiCxXT/I/OPuR7nW8ms6hXdCFpO1STMpUlon334GXG9Mps miE848VJZThgLRDv29GwtdbSzob3h5ppqjhnF50/G3sI2bvW7F2EtmZCpUdHI6rYFcIb INSQ== 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=hN0izA9awCY2iXiZA3BEEcwLX+ZjyWbmueV8++tcf7k=; b=jFnnx5XQWEznJYtFZks1wE3+hBnuIcSczLQRAKUrKYJ66iM5P9PAClCMvCyn/ijfe7 7gamnNoz93O0cIZQLMrris6/xLRRItcNMBj0Ns5wI2bRgo8UCihO6ynOPiEJCGT4/AFH uax0srGqSQTQ6i6Ovou3tMMCnjTUEhAg5xsPacj2QiPK8XcTTP4r3cksZXGsfxZI/2Uh 6lxl1wx5g1s/cAGGK+dcQ5koQfOIao6tzYC3hmugL5ABpjL1DOLLh6ykwVhipRPBJNzC 1baAr79q73SsEVRGgT+v61crETDkjIGdCU109ZfmCqS/MFbLsDj7TfdgS8J0nhrevmXu tOyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Jct0CcTq; 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 z85si130657pfa.157.2017.09.06.09.07.37; Wed, 06 Sep 2017 09:07:37 -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 header.s=20161025 header.b=Jct0CcTq; 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 626F577DB5; Wed, 6 Sep 2017 16:07:27 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by mail.openembedded.org (Postfix) with ESMTP id E264477D0A for ; Wed, 6 Sep 2017 16:07:06 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id p17so5649860wmd.3 for ; Wed, 06 Sep 2017 09:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=IHoSGwev2ZrnCM4KPZLeQvosrhFYDumxIrbP5anplbw=; b=Jct0CcTqi2fgzN7u+gMcUD05O96ByjPDVun91ber4u5yqD98dm6KuVpvofESM/c2R8 SNMA1tnCpNi7aaCPjmeCjgNKtZcvEf9K9aCgqZHxGpG27CV23llZ5lrHOXsk0zLVhDEv HnKV/U648w5gk5o3GCwnKDXSmnMBt0/4mmVSInTW4ppAa1Y+NTYItSGaAe73gPt4t3Kv QpWce7S0rL9WTx/9SH8x+Sbr9u792rpuohm3Wfp22Zagh1HUQ7mTdCA+uzzV+HLWRrdO nVh54UbkpuuM6xQL+g5F2AdSnpOLQTE370dpqR1RIpIKOdgkvhNnSg+0S0ontvdOwU5s lcqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=IHoSGwev2ZrnCM4KPZLeQvosrhFYDumxIrbP5anplbw=; b=pfzei2/TG8M8VgWbf+NqTiTtwu6F4jBfk0qzzaXOgLt8h0cCV/04/giZF0jP/ycnrQ HOBSPGZbrY1GM/WPO8srr+IGXuOlYKJSs7nTLMPch1DOtbuCLezDWE8cJ8hZuZd21izw CvGxXmkYKaR8XJkJVtLE7PkzeX1eAOD5rBd8u5aPCfabYg1NIzQ25cQKAtefSuXckoiI XeV7DhPH4BxREd5TkkwUssE88VgZ86bDFUjVzKNEjgTBPkN+ZsDuqzxWwbxuJbft6G2q H+scbkHIJhSkOfMyXWhBhwkdThXKdBZ2dnxShUNBTyuFfa5g9HTeo4R68WPwyDv8I+HQ F4uw== X-Gm-Message-State: AHPjjUjgTPXlqeHaIonfnlyi9YTnoHuTfWqRK/yH9GMKNJH4HhsJuD3v 3AOP/f71cysGS9U7 X-Google-Smtp-Source: ADKCNb5Z9TASNxeM8FayH8a0CtMB9H6j7CnsBdyd114iTT4AvCKpRC49NJr4E25dZ40X+BlggWGoEw== X-Received: by 10.28.55.203 with SMTP id e194mr182178wma.142.1504714027246; Wed, 06 Sep 2017 09:07:07 -0700 (PDT) Received: from localhost ([217.30.68.212]) by smtp.gmail.com with ESMTPSA id w82sm3163833wme.5.2017.09.06.09.07.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Sep 2017 09:07:06 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa To: openembedded-core@lists.openembedded.org Date: Wed, 6 Sep 2017 18:09:07 +0200 Message-Id: <2a340682c73a95658fda5e5e0b781dffdabb4f07.1504713837.git.Martin.Jansa@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [OE-core] [pyro][PATCH 3/3] nspr: 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: Martin Jansa --- ...int.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 ++++++++++++++++++++++ meta/recipes-support/nspr/nspr_4.13.1.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch new file mode 100644 index 0000000000..b3bdd8e08d --- /dev/null +++ b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch @@ -0,0 +1,30 @@ +From f7551ec58e2f0a892295e0c2a650083101e12c54 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 20 May 2017 13:24:26 -0700 +Subject: [PATCH] include stdint.h for SSIZE_MAX and SIZE_MAX definitions + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + pr/tests/prfz.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pr/tests/prfz.c b/pr/tests/prfz.c +index 0c5a432..9c17590 100644 +--- a/pr/tests/prfz.c ++++ b/pr/tests/prfz.c +@@ -10,7 +10,9 @@ + #include + #include + #include +- ++#ifdef XP_UNIX ++#include ++#endif + int + main(int argc, char **argv) + { +-- +2.13.0 + diff --git a/meta/recipes-support/nspr/nspr_4.13.1.bb b/meta/recipes-support/nspr/nspr_4.13.1.bb index 27c22379f6..63ebecf729 100644 --- a/meta/recipes-support/nspr/nspr_4.13.1.bb +++ b/meta/recipes-support/nspr/nspr_4.13.1.bb @@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz file://fix-build-on-x86_64.patch \ file://remove-srcdir-from-configure-in.patch \ file://0002-Add-nios2-support.patch \ + file://0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch \ file://nspr.pc.in \ "