Files
gentoo/dev-python/pygccxml/files/pygccxml-2.5.0-fix-test-flags.patch
Thomas Beierlein 846c8c0619 dev-python/pygccxml: Fix test errors with >=sys-devel/clang-19.1.2
pygccxml uses dev-libs/castxml as a tool to parse a syntax tree.
castxml uses clang for that task. Actual >=clang-19.1.2 needs
'-fsized-deallocation' as additional compile flag.
The patch provides these flag.

Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
2024-10-28 19:39:21 +01:00

11 lines
331 B
Diff

diff --git a/unittests/xml_generator.cfg b/unittests/xml_generator.cfg
index cb00818..58899b6 100644
--- a/unittests/xml_generator.cfg
+++ b/unittests/xml_generator.cfg
@@ -15,3 +15,5 @@ include_paths=
compiler=
# Keep xml files after errors (useful for debugging)
keep_xml=
+# needed with clang-19
+cflags=-fsized-deallocation