clazy: Fix build with clang 15

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-10-15 23:35:58 +02:00
parent c73b6cdfab
commit f46bfd7fce
3 changed files with 224 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
SUMMARY = "Qt oriented code checker based on clang framework"
HOMEPAGE = "http://gottcode.org/hexalate/"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING-LGPL2.txt;md5=d31701979430eba03ad0eac6e517dec3"
@@ -8,7 +7,10 @@ DEPENDS = "clang"
inherit kde-base
PV = "1.11"
SRC_URI += "file://0001-clazy-no-rpath.patch"
SRC_URI += " \
file://0001-clazy-no-rpath.patch \
file://0002-Build-fixes-for-LLVM_Clang_15.0.0.patch \
"
SRC_URI[sha256sum] = "66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a"
EXTRA_OECMAKE += " \