From patchwork Mon May 22 05:00:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100262 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp86572qge; Sun, 21 May 2017 22:03:27 -0700 (PDT) X-Received: by 10.98.213.69 with SMTP id d66mr23052268pfg.88.1495429407433; Sun, 21 May 2017 22:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495429407; cv=none; d=google.com; s=arc-20160816; b=b3Y2KQtMkKx1pKQUizW69nXnwiDLGjFCZ2I1W87dVwvASHfyFFIP8foyJbdal8aFlZ e/rlTtZmOtQKlm9LzWjDyPiztw3n/3QLYf3jb1b+dpO/YrnR81ke/KXknbzJ/P0tvNtk l9zauiWSGXnIJRWiFywDnZTZejs0RzI5Nt+TQbx3gIUlddUrlM2uzAveaG9aq8GufWaP FVUhD7v+XcSoWW+iUviiaqMngxWIZwWb0h+oIjZDizzPtdyO7+YdGvEka153wtDrAEJB XiGKpTEk4pazzh5VXqzjE3zxbgcdizggUC5jIR523QncL7P5uWqpH0tGd2kdIgFoCYlG SY1w== 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=G7OYhDGwwxA5Y5P8Tj2ezeOPi9ZRrjJSDhsYWvj3GKY=; b=VL94CPUivLB+kNfBjatg/GDladoAraVqY7kqmj+HcaJfAVjVZio0UtWnJ0RQ4bipWq BNkkq9SSHEfrCfX9a8D2NQ+p4EveK10lax/siSpnEEmRoT5avy28j2b+aLWnT7GiGklz 80qtiQaoRRqnVoDY33neTGrmKhHM8KDGEv0gEZxTLLiiNRcy1JOUCdGqsRNUQBhrilsH VA0BYMfgZmc/X8y15h1yvvvpechSa9aQ9uIKp+y8FZxk0d7rRao/q+2jj58jDtriqAH8 eQJsCtri8mSfajckb5QQOg+208Ni0L9Vnp6F1qrNWVD0AWGJ9FXWfrvSWV4cE0AINeBP YOtw== 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 g12si16181197plm.327.2017.05.21.22.03.27; Sun, 21 May 2017 22:03:27 -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 24D9E78059; Mon, 22 May 2017 05:02:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mail.openembedded.org (Postfix) with ESMTP id 2654977F6B for ; Mon, 22 May 2017 05:01:18 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id e193so70358389pfh.0 for ; Sun, 21 May 2017 22:01:20 -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=m+LAqVQp8kxx2WsJwhcTdUjXPFALK2CoNkfJRo9pSfU=; b=hABkE3UFEYmdoOAtP14zEUtunSQdEhrRNdunKCvyMKnxw1zlG+NKt4ZgIkA2DKKsEx 9LlJTVbpDF6pjzI8xdB/t79spECuM9r+9qnvwzGxvFwNz/GykcneK0ou9FUN+1tOzJps fgTpR1eE/b5DBIqlBlVtzQVg1CAWBd6IF2O/bHmlKufF05HExxpdojktYekhy7f2FT4q QpZgpLUO2Iozj/Msk70iOpf52D0/SfovGMrFyR4sJhmJuDKAOB6hcto3PUiSj9o/W/7i SE7OnRAyhxvNIf3xP1cktmKGHUgOXyHRVYIu2Hg4CwR4ELfX1yFueXzNyLZLOPxcQAk+ 0DEQ== 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=m+LAqVQp8kxx2WsJwhcTdUjXPFALK2CoNkfJRo9pSfU=; b=DkdJYQjATRms9E5kBFPNnY1QLviSZwYZSEMmdF3WpPiyQIJy8H9pxpn1522bWVfTIE El0pOPoAQLBc+7HGv/0uJzRfQOOypp45oks+O3N/YY80bwdOUCOQHBNm4JK0R70ogs7C KT0EQEK9yOBknxz0ccl+WUjoW8qy4cJYYBmqJoovhD39MaPtb9k8YY0unKSfwa8r7w74 x/l3Xz57sn1UJmwycbNHM+72AR+xYXnlBy3hycvqraPEm1adr9sSIOK67fmRV8fP6x2T XGWfypQGiBK1/UuxSqMvYI/RyjuC7Z84o3qmYPVd9f+6IQf/yPzqHF+nepAtVJJ+HEkT phLQ== X-Gm-Message-State: AODbwcA/6mnHw5JcnA7qqlB5E46R/ORwqsUoJcj5mHia0hX6Fb15Hvcr A7TF3wRw5dspHQ== X-Received: by 10.98.133.145 with SMTP id m17mr23515666pfk.164.1495429279700; Sun, 21 May 2017 22:01:19 -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.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 May 2017 22:01:18 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 21 May 2017 22:00:42 -0700 Message-Id: <20170522050042.42403-15-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 15/15] 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 Signed-off-by: Khem Raj --- ...int.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 ++++++++++++++++++++++ meta/recipes-support/nspr/nspr_4.14.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.13.0 -- _______________________________________________ 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.14.bb b/meta/recipes-support/nspr/nspr_4.14.bb index f5ce91c754..6b47820c06 100644 --- a/meta/recipes-support/nspr/nspr_4.14.bb +++ b/meta/recipes-support/nspr/nspr_4.14.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 \ "