diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-29 18:45:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-10-29 18:45:52 +0000 |
| commit | 58c8951ee77c28ff7d3d58184001ed15782da935 (patch) | |
| tree | 5e09d4b31e4857cf9a0b0d2e21d5c7d1d26e3d84 /dev-python/pygccxml | |
| parent | d3370d7cdabf6e1c29fb51a1d48511564c02acc6 (diff) | |
| download | baldeagleos-repo-58c8951ee77c28ff7d3d58184001ed15782da935.tar.gz baldeagleos-repo-58c8951ee77c28ff7d3d58184001ed15782da935.tar.xz baldeagleos-repo-58c8951ee77c28ff7d3d58184001ed15782da935.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pygccxml')
| -rw-r--r-- | dev-python/pygccxml/files/pygccxml-2.5.0-fix-test-flags.patch | 10 | ||||
| -rw-r--r-- | dev-python/pygccxml/pygccxml-2.5.0.ebuild | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/pygccxml/files/pygccxml-2.5.0-fix-test-flags.patch b/dev-python/pygccxml/files/pygccxml-2.5.0-fix-test-flags.patch new file mode 100644 index 000000000000..c96ef5e8d7ab --- /dev/null +++ b/dev-python/pygccxml/files/pygccxml-2.5.0-fix-test-flags.patch @@ -0,0 +1,10 @@ +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 diff --git a/dev-python/pygccxml/pygccxml-2.5.0.ebuild b/dev-python/pygccxml/pygccxml-2.5.0.ebuild index d2bc4fa5a2ad..35d67ab4614f 100644 --- a/dev-python/pygccxml/pygccxml-2.5.0.ebuild +++ b/dev-python/pygccxml/pygccxml-2.5.0.ebuild @@ -36,6 +36,9 @@ distutils_enable_sphinx docs dev-python/sphinx-rtd-theme EPYTEST_DESELECT=( # TODO; too new LLVM? upstream tests against LLVM 13 unittests/test_overrides.py::Test::test + # fails with >=GCC-15.0.2 (bug #940578) + unittests/test_smart_pointer.py::Test::test_smart_pointer_value_type + ) python_prepare_all() { @@ -44,6 +47,8 @@ python_prepare_all() { "${FILESDIR}/${PN}-2.4.0-doc.patch" # https://github.com/CastXML/pygccxml/pull/179 "${FILESDIR}/${P}-which.patch" + # fixes tests with clang-19 + "${FILESDIR}/${PN}-2.5.0-fix-test-flags.patch" ) distutils-r1_python_prepare_all |
