gentoo-ebuilds/media-libs/libplacebo/files/libplacebo-7.351.0-vulkan-python-xml.patch
Ionen Wolkens deddaae9b8
media-libs/libplacebo: backport for python changes, enable py3.14
Formerly meant to wait for a new libplacebo release given no urgency
to enable py3.14, but python backports this broke this for 3.13 as
well. So backport libplacebo's fix and also re-enable py3.14 right now.

Bug: https://bugs.gentoo.org/960115
Closes: https://bugs.gentoo.org/961230
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-08-08 19:36:25 -04:00

16 lines
531 B
Diff

Formerly only needed with python-3.14.x but backports have broke
this with python-3.13.6 too.
https://bugs.gentoo.org/960115
https://bugs.gentoo.org/961230
https://code.videolan.org/videolan/libplacebo/-/commit/12509c0f1ee8
--- a/src/vulkan/utils_gen.py
+++ b/src/vulkan/utils_gen.py
@@ -203,5 +203,6 @@
xmlfile = find_registry_xml(datadir)
- registry = VkXML(ET.parse(xmlfile))
+ tree = ET.parse(xmlfile)
+ registry = VkXML(tree.getroot())
with open(outfile, 'w') as f:
f.write(TEMPLATE.render(