Signed-off-by: Khem Raj <raj.khem@gmail.com>
PRIORITY = "optional"
HOMEPAGE = "http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \
file://find-apex-partition.patch \
+ file://invalid-conversion.patch \
"
S = ${WORKDIR}/apex-${PV}/usr
--- /dev/null
+Index: usr/link.cc
+===================================================================
+--- usr/link.cc
++++ usr/link.cc
+@@ -232,7 +232,7 @@ static struct descriptor parse_region (c
+ struct descriptor d;
+ memset (&d, 0, sizeof (d));
+
+- char* pch;
++ const char* pch;
+ if ((pch = index (sz, ':'))) {
+ int c = pch - sz;
+ if (c > sizeof (d.driver) - 1)