diff options
Diffstat (limited to 'meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb')
-rw-r--r-- | meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb index 9445856730..dfa77770a7 100644 --- a/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb +++ b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb | |||
@@ -7,12 +7,21 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | |||
7 | file://ice-mcpp.patch \ | 7 | file://ice-mcpp.patch \ |
8 | file://0001-configure-Fix-checks-for-system-headers.patch \ | 8 | file://0001-configure-Fix-checks-for-system-headers.patch \ |
9 | file://CVE-2019-14274.patch" | 9 | file://CVE-2019-14274.patch" |
10 | SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05" | ||
11 | SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864" | 10 | SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864" |
12 | 11 | ||
12 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcpp/files/mcpp/" | ||
13 | UPSTREAM_CHECK_REGEX = "${BPN}/V\.(?P<pver>\d+(\.\d+)+)" | ||
14 | |||
13 | inherit autotools | 15 | inherit autotools |
14 | 16 | ||
15 | EXTRA_OECONF = " --enable-mcpplib " | 17 | EXTRA_OECONF = " --enable-mcpplib " |
16 | 18 | ||
17 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |
18 | 20 | ||
21 | # http://errors.yoctoproject.org/Errors/Details/766883/ | ||
22 | # mcpp-2.7.2/src/expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types] | ||
23 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
24 | |||
25 | # http://errors.yoctoproject.org/Errors/Details/850149/ | ||
26 | # ../../mcpp-2.7.2/src/system.c:3436:15: error: expected identifier or '*' before 'true' | ||
27 | CFLAGS += "-std=gnu17" | ||