From patchwork Tue Feb 6 07:46:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 126953 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2679090ljc; Mon, 5 Feb 2018 23:47:12 -0800 (PST) X-Google-Smtp-Source: AH8x2260JTeaQwINk5euD8rYABwnVeDQ8zF8JlEzSh+hBc6yeNeiQcO2WHQFEm3G9WsA93K4LxTo X-Received: by 10.101.92.9 with SMTP id u9mr1257034pgr.440.1517903232125; Mon, 05 Feb 2018 23:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517903232; cv=none; d=google.com; s=arc-20160816; b=jG5mv2teUj8fMv1KQliXo1m9nJPxoWrmvdesTAV59Pkkhs38EL5Ul2AgyNAyUrstXe bNxDbC/qEphV7k2z8ZLYTY37PeawyW8j8LXlDO9gZQI1e837NNf8UROU+xwfc51qdpOx io2jCE3UBEKKdBLIDL2GeMiUGoQZGwf9ddvfEe2v3eiUBBxHBaswX1XL5h/rJ7MytSju UrFnYOpdRM2dfoRoV4TSShJka+ND90X0GhZ8gjFET6SoYbfRw5/VXs7nDzREm18Mlgvx rtMyka1sJtZ2py2DvrWAEd+UrPV20F7A+bmGGioTBD2cp+EQla4HJ1wwz/qZTkUg7V6Q gTkw== 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=9OuTMVmNct3TEq/hWLRsNCOgvwA2cxDsBYX0P9XzSeI=; b=PHp9xXbOiAqtJO1kdEwrr0p6R92B5b7G+JUG4Yx/yHj2qDU7WRxXgLj29r0TnQw+y2 CiQ4phnp8HBhavcbYzDeNkfgU7D3e2wGJesrvAxYKih2GyZ8x/vOrqR7iDbUT7sDlmR9 UfW/4LxzAXPAGT93HddRs6tJx8NLWkSwQEctuYkSfKPFn2Hkwy3CP9B/jpy1jkeKdixn vb9nAdjFsFdypBL86iqUV+zSvhvPCvHbP9NSNh/xsx4Ho1twC0+ey7ebhYdU1lVQcTnY 05yWW8aOrT3EMUjNJ9gXgPrOS4g6PmBosBFqcAcPDexnbV9uCgT5ksy3CCbcWk/PSvZt c5LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RjApfdxC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 h13si931752pgn.782.2018.02.05.23.47.11; Mon, 05 Feb 2018 23:47:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=RjApfdxC; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A1BED7857A; Tue, 6 Feb 2018 07:47:03 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f54.google.com (mail-pl0-f54.google.com [209.85.160.54]) by mail.openembedded.org (Postfix) with ESMTP id B7FD8784CC for ; Tue, 6 Feb 2018 07:46:30 +0000 (UTC) Received: by mail-pl0-f54.google.com with SMTP id g18so772281plo.7 for ; Mon, 05 Feb 2018 23:46:32 -0800 (PST) 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=61B90Hi6y2vUo8TJjTA1hQ9oCg8Ctcg37vRmOW3wwX8=; b=RjApfdxCAGsMCCKJN093jhiodDFYsla1fsLIjhGXjnStpT6Igz9OXV8OqAP1M4ckUS +vqlv3qW2bC1o2Zj+/Vh41TVQ3zbylTIV6eryyZnFT1jKFyjXVm8+eV60o02W9mRgbyK S3pN3tCELJtevKweCanuG3od8ARa8Ms/SRkKqYe2OKF5bLfTG3ttIBfg2ae400LDXrY2 NhQ3/W4HTvuMkhfrbeqpofHPHADvRqfjYrE1DnLyS7G0wa2kBlqueZ7czmNRAQzokEeG LsgUbUybCm+7LCVydBdfysKhaVzawZcz+5F++r985LABz2Wq8UvW2rI1ehOYCvWoh2Tb YY4Q== 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=61B90Hi6y2vUo8TJjTA1hQ9oCg8Ctcg37vRmOW3wwX8=; b=rhMmgOYiDc45a1vg3aqDPLk2cdegL7/MqDCYA/lgYNRkOEKp7HVkRfQnwkx5l/vldr 56cijE5avOQcV6FPIRCphBzkNdaM+UZMcRsik7tfLP+IbDR2ZD5NujD6qT77nVEeeE4y pBQaDmkoEaHmr9nOzICqx2GhehtGPIPUHJgDhT9BuBDCXErefqTqQcfYW7+EZoK5EQzl fOyR/Wyprjh1O5jE7fNGTdcH9mlkr195o2SFDsM8M8CvKfKh04IcXKjgX8hHhrMzn/eG HX6OeXW9y3zioZ9gI6cy564TNB1jqlasUikleDlJPixcpXOVXVkJL231WJOHrx97iXvr SKzQ== X-Gm-Message-State: APf1xPDjG7LldFMpI9Ayixri7JaYj1aIKfVcauABVsgHFUY8pn/Bc/Aq wCsp+IL4J3EnS8l++8kzOWKclg== X-Received: by 2002:a17:902:3363:: with SMTP id a90-v6mr1500017plc.159.1517903191607; Mon, 05 Feb 2018 23:46:31 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c::5590]) by smtp.gmail.com with ESMTPSA id s90sm20976060pfi.139.2018.02.05.23.46.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 23:46:30 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 5 Feb 2018 23:46:16 -0800 Message-Id: <20180206074619.22165-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180206074619.22165-1-raj.khem@gmail.com> References: <20180206074619.22165-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 3/6] mraa: Fix build on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ian.h-for-be16toh-and-le16toh-declaration.patch | 27 ++++++++++++++++++++++ meta-oe/recipes-extended/mraa/mraa_git.bb | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch -- 2.16.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch b/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch new file mode 100644 index 000000000..711738a92 --- /dev/null +++ b/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch @@ -0,0 +1,27 @@ +From 2c85decc3b93bfe7322309d2ca7d6377e746c18f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 5 Feb 2018 09:51:08 -0800 +Subject: [PATCH] include endian.h for be16toh and le16toh declarations + +Upstream-Status: Submitted [https://github.com/intel-iot-devkit/mraa/pull/863] + +Signed-off-by: Khem Raj +--- + examples/iio_driver.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/examples/iio_driver.c b/examples/iio_driver.c +index c5a0181..568011c 100644 +--- a/examples/iio_driver.c ++++ b/examples/iio_driver.c +@@ -22,6 +22,7 @@ + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + ++#include + #include + #include "mraa/iio.h" + +-- +2.16.1 + diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index c4b9c6f90..473116e63 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=66493d54e65bfc12c7983ff2e884f37f" SRCREV = "8ddbcde84e2d146bc0f9e38504d6c89c14291480" PV = "1.7.0-git${SRCPV}" -SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http" +SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \ + file://0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch \ + " S = "${WORKDIR}/git"