python3-gcovr: Fix parsing of gcc-11 gcov metadata

gcc-11 has metadata line "-: 0:Source is newer than graph" which throws an
error.

Backported from gcovr 5.2, as kirkstone release uses gcc-11.

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Jasper Orschulko
2023-07-19 12:57:26 +02:00
committed by Armin Kuster
parent 41873c082d
commit 4da92ed9be
2 changed files with 85 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=08208c66520e8d69d5367483186d94ed"
SRC_URI = "git://github.com/gcovr/gcovr.git;branch=master;protocol=https"
SRC_URI += "file://0001-Fix-parsing-of-gcov-metadata-601.patch"
SRCREV = "e71e883521b78122c49016eb4e510e6da06c6916"
S = "${WORKDIR}/git"