mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 06:10:50 +00:00
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
25 lines
1.0 KiB
BlitzBasic
25 lines
1.0 KiB
BlitzBasic
SUMMARY = "MCPP is a portable C/C++ preprocessor"
|
|
HOMEPAGE = "http://mcpp.sourceforge.net/"
|
|
LICENSE = "BSD-2-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5ca370b75ec890321888a00cea9bc1d5"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
|
|
file://ice-mcpp.patch \
|
|
file://0001-configure-Fix-checks-for-system-headers.patch \
|
|
file://CVE-2019-14274.patch"
|
|
SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05"
|
|
SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864"
|
|
|
|
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcpp/files/mcpp/"
|
|
UPSTREAM_CHECK_REGEX = "${BPN}/V\.(?P<pver>\d+(\.\d+)+)"
|
|
|
|
inherit autotools
|
|
|
|
EXTRA_OECONF = " --enable-mcpplib "
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/766883/
|
|
# mcpp-2.7.2/src/expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types]
|
|
CFLAGS += "-Wno-error=incompatible-pointer-types"
|