summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb
diff options
context:
space:
mode:
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.bb11
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"
10SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05"
11SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864" 10SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864"
12 11
12UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcpp/files/mcpp/"
13UPSTREAM_CHECK_REGEX = "${BPN}/V\.(?P<pver>\d+(\.\d+)+)"
14
13inherit autotools 15inherit autotools
14 16
15EXTRA_OECONF = " --enable-mcpplib " 17EXTRA_OECONF = " --enable-mcpplib "
16 18
17BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "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]
23CFLAGS += "-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'
27CFLAGS += "-std=gnu17"