From patchwork Mon Mar 19 06:02:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131998 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341244ljb; Sun, 18 Mar 2018 23:04:00 -0700 (PDT) X-Google-Smtp-Source: AG47ELsWzEOl2nJos48gS55CxRx61ysRDwy28LJBRexdXq/k67aLcPn1lP/8oAWlnCLl1BEeoP2F X-Received: by 10.101.97.139 with SMTP id c11mr8362704pgv.431.1521439439872; Sun, 18 Mar 2018 23:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439439; cv=none; d=google.com; s=arc-20160816; b=f6WugbmI5E0fhfu9KB3ytwHO1bxuhU3p/btaBmDUpGmfRbKy4+sAd30C/GA0+TS2jZ Ls95swp8maWa7xPQ3ECy8HqhIayMOrKDUQ2CDlH5Ty9t7QF8YYzpSfDmH8zqlzjpJAkp 2oaMe7PtJTeSzBhZk6jCT3l8OcP3AOwIQTaVopr1H9MAWhj++FINVUg4HijKoB+DxjDB f9ucIZSmTv3Zw5h3rxun3pMiFEUe6l3sIbMzYEBfUh2EQ2f2q8aJtqf54nc3FqPMX6Fx 2cYBgFr6FIoyZOmxWW9g1HrrxRmfSNXg4CpyaPCZK3kwWsp9My+/i4hbQbaMypYIQKNh gAgA== 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=TKgEN53UMffcKMh+tGTS4TvRWupIBIhfD6II0D46olM=; b=XVrbOT9XqZbaFq2mlYb0YDabY33Ypb15MkefCxJVIXz7i1DvN4iDpYjWgV1tO2EeYu tXr3ZeVaIgJbgDR+nQWK32b0zjr1kcquAAhN+kIGkaoSfzDoH12UcHoFXksRZEEcZpqN mhRu/kyPiHwXfjfXqeC1eXu5WwKL8NpM444/jnqZlyi+GeVO0DLE5Ji60Tj4cKfHycwt 12DbEJ5wyUbGEXbv+oTz+UAdVoDsGq7Rm5j9NaTYKv4LZgVJ8VOT9HYWNXbE0+OJA1LY 7HXJ3F9ZR+y0i9jQxAeYOfYJ/hnlvVLhilzXng8bv/BTbuaXzvskYsWFSAxik/vN2gRH au6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Sxpxf4wj; 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=QUARANTINE 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 97-v6si11752389plb.23.2018.03.18.23.03.59; Sun, 18 Mar 2018 23:03:59 -0700 (PDT) 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=Sxpxf4wj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A0BFB78955; Mon, 19 Mar 2018 06:03:51 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 04AF4788F7 for ; Mon, 19 Mar 2018 06:03:15 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id d26so6647648pfn.5 for ; Sun, 18 Mar 2018 23:03:17 -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=YGnldYrB0meFZ66RUxZj+xcOyFAzTo8IIc90CfO/yuc=; b=Sxpxf4wjJavj/50Qxy2sos45RmkfWniI4ZJ4jMQy6Ueuri5BeHe7mznaIC4jnP7+BU RAhxgpfEvZ04QEOVMKkIpa5yD3C6i4xYwnIhBRZzOUSFJBSTm26BFJxy91U+AYQMZARk Q9XjYJJmXPELxEGXmRsRXvuLJMAFkXVtvhk5QQlKkTHY3rzWuzl88p88edlv5JYqod1X dBePujXC44KwT1bQzQ1u13QMPbiWfhz1GzD+8a2WMHAfL7szopJZTJsMRvRkyLK+VdQP 1kfandXo5Qf+2JTN3/7xI3qQeS9U05DB0hVwS0DYFgNvSwf24bikHVJ6YjJDIwKFLBd1 8R6g== 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=YGnldYrB0meFZ66RUxZj+xcOyFAzTo8IIc90CfO/yuc=; b=TbZVa1pUoeZvdQfhGhzSSiekY1r3PBu1EHk+2lIO4sYxEanyszk3IKJM6o1bTNXr/x BNtNUxUr0ynSyW60jEaupssqdCWBzHZJ6a3+HvCv75f8JC7IBgXLa75pJ/j36WXB91Ls +MivufzBpJHhBR+vQVoCc7Zp7nHib6x1TYjbKuSLMdmJYR7ckdkUPQwbGQle+ZJv7IVK HnTGebH2HUWlnLszCibKAe89DQmH1x88LbUWStcVhfmsjrgkcZ7x20tRzoDyVsy2Mjyy vsEr3wq3g8mgSWgnOvm1Ryq7Ne1SGYmUZslgbL7beoQLcj5O25WlkhtSijnejRgj3h/E TXPw== X-Gm-Message-State: AElRT7GivmMZAcCGKjoLItIp7ymIjrNT7amfX/nfXF5DtZB9AKZ94D7x MQbDao1/6EfsknHHjmFry8puZQ== X-Received: by 10.98.226.16 with SMTP id a16mr9182581pfi.157.1521439396845; Sun, 18 Mar 2018 23:03:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:16 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:45 -0700 Message-Id: <20180319060300.5366-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 03/18] 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.2 -- _______________________________________________ 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 16883be3a..366d6b70f 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=4b92a3b497d7943042a6db40c088c3f2" SRCREV = "fbb7d9232067eac3f4508a37a8f7ea0c4fcebacb" PV = "1.9.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"