From: John Crispin Date: Fri, 6 Nov 2015 21:34:59 +0000 (+0100) Subject: libmraa: board detection was broken after the name changed X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c5c8dc19bef9923a692953e672042cf47d64de70;p=feed%2Fpackages.git libmraa: board detection was broken after the name changed Signed-off-by: John Crispin --- diff --git a/libs/libmraa/patches/0002-add-mips-support.patch b/libs/libmraa/patches/0002-add-mips-support.patch index 66219b9fe5..ee4569631d 100644 --- a/libs/libmraa/patches/0002-add-mips-support.patch +++ b/libs/libmraa/patches/0002-add-mips-support.patch @@ -462,7 +462,7 @@ Signed-off-by: John Crispin + if (fh != NULL) { + while (getline(&line, &len, fh) != -1) { + if (strncmp(line, "machine", 7) == 0) { -+ if (strstr(line, "MediaTek LinkIt Smart7688")) { ++ if (strstr(line, "MediaTek LinkIt Smart 7688")) { + platform_type = MRAA_MTK_LINKIT; + } + }