[meta-intel] [PATCH V2 1/1] lms7: Add patch to fix gcc6 C++ whitespace

Jianxun Zhang jianxun.zhang at linux.intel.com
Tue Jun 28 15:04:47 PDT 2016


This change is ported from the fix on lms8 for
the same issue:

commit 6dc3746443523a02f72bf5142cfbe3a800d32f4a
Author: Saul Wold <sgw at linux.intel.com>
Date:   Mon May 16 10:01:49 2016 -0700

    lms8: Add patch to fix gcc6 C++ whitespace

    This adds a patch to lms8 to fix an error cause by the newer
    C++11 standard being enabled in GCC6 that requires additional
    whitespace around User-Defined literals.

    [YOCTO #9640]

    Signed-off-by: Saul Wold <sgw at linux.intel.com>
    Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>

Fixes [YOCTO #9785]

Signed-off-by: Jianxun Zhang <jianxun.zhang at linux.intel.com>
---
() Update commit msg to address Tom's feedback
() Original patch has been tested by running "lms7 --version"

Thanks

 common/recipes-bsp/amt/lms7_7.1.20.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/recipes-bsp/amt/lms7_7.1.20.bb b/common/recipes-bsp/amt/lms7_7.1.20.bb
index 7ed84fc..87de86b 100644
--- a/common/recipes-bsp/amt/lms7_7.1.20.bb
+++ b/common/recipes-bsp/amt/lms7_7.1.20.bb
@@ -10,7 +10,9 @@ BPN="lms"
 PV_SUB = "25"
 SRC_URI = "http://software.intel.com/sites/default/files/m/4/e/a/9/b/37962-${BPN}_${PV}.${PV_SUB}.zip \
            file://atnetworktool-printf-fix.patch \
-           file://readlink-declaration.patch"
+           file://readlink-declaration.patch \
+           file://0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch \
+           "
 
 LOCALSRC = "file://${WORKDIR}/outputdir/${BPN}-${PV}-${PV_SUB}.tar.gz"
 
-- 
2.7.4



More information about the meta-intel mailing list