mraa: Update recipe to use v1.9.0

The musl endian patch has been merged upstream so is no longer needed

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Brendan Le Foll
2018-02-21 14:50:41 +01:00
committed by Armin Kuster
parent 3e0ec54b8c
commit efc2e0837e
2 changed files with 3 additions and 34 deletions
@@ -1,29 +0,0 @@
From 6c2649718fc9818da0d602a0b4767ea21a367e9e Mon Sep 17 00:00:00 2001
From: Tim Orling <timothy.t.orling@linux.intel.com>
Date: Sat, 27 Jan 2018 02:06:36 -0800
Subject: [PATCH] examples/iio_driver.c: include endian.h to fix musl build
* be16toh and le16toh are defined in endian.h
Upstream-Status: Pending
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
examples/iio_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/iio_driver.c b/examples/iio_driver.c
index c5a0181..e3dc438 100644
--- a/examples/iio_driver.c
+++ b/examples/iio_driver.c
@@ -23,6 +23,7 @@
*/
#include <unistd.h>
+#include <endian.h>
#include "mraa/iio.h"
static void
--
2.13.6
+3 -5
View File
@@ -3,15 +3,13 @@ HOMEPAGE = "https://github.com/intel-iot-devkit/mraa"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=66493d54e65bfc12c7983ff2e884f37f"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b92a3b497d7943042a6db40c088c3f2"
SRCREV = "8ddbcde84e2d146bc0f9e38504d6c89c14291480"
PV = "1.7.0-git${SRCPV}"
SRCREV = "fbb7d9232067eac3f4508a37a8f7ea0c4fcebacb"
PV = "1.9.0-git${SRCPV}"
SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http"
SRC_URI_append_libc-musl = " file://0001-examples-iio_driver.c-include-endian.h-to-fix-musl-b.patch"
S = "${WORKDIR}/git"
# CMakeLists.txt checks the architecture, only x86 and ARM supported for now