git: ca48bb3ea88c - main - graphics/libplacebo: unbreak build with python314
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Dec 2025 00:04:07 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ca48bb3ea88c6109ad90e622fd42c417036b66aa
commit ca48bb3ea88c6109ad90e622fd42c417036b66aa
Author: takefu <takefu@airport.fm>
AuthorDate: 2025-12-24 15:41:42 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-12-26 23:55:30 +0000
graphics/libplacebo: unbreak build with python314
FAILED: [code=1] src/vulkan/utils_gen.c
--- stderr ---
Traceback (most recent call last):
File "src/vulkan/utils_gen.py", line 205, in <module>
registry = VkXML(ET.parse(xmlfile))
File "src/vulkan/utils_gen.py", line 50, in __init__
super().__init__(*args, **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/xml/etree/ElementTree.py", line 531, in __init__
raise TypeError('expected an Element, not %s' %
type(element).__name__)
TypeError: expected an Element, not ElementTree
PR: 291922
---
graphics/libplacebo/Makefile | 3 +++
graphics/libplacebo/distinfo | 2 ++
2 files changed, 5 insertions(+)
diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile
index 24a7d58abd15..f185799d07b3 100644
--- a/graphics/libplacebo/Makefile
+++ b/graphics/libplacebo/Makefile
@@ -4,6 +4,9 @@ DISTVERSION= 7.351.0
PORTREVISION= 1
CATEGORIES= graphics
+PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
+PATCHFILES+= 12509c0f1ee8.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/merge_requests/727
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Reusable library for GPU-accelerated video/image rendering
WWW= https://code.videolan.org/videolan/libplacebo
diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo
index 1f56527383fd..c32c3923643f 100644
--- a/graphics/libplacebo/distinfo
+++ b/graphics/libplacebo/distinfo
@@ -5,3 +5,5 @@ SHA256 (Dav1dde-glad-v2.0.4_GH0.tar.gz) = 02629644c242dcc27c58222bd2c001d5e2f376
SIZE (Dav1dde-glad-v2.0.4_GH0.tar.gz) = 599932
SHA256 (libplacebo-v7.351.0.tar.bz2) = d68159280842a7f0482dcea44a440f4c9a8e9403b82eccf185e46394dfc77e6a
SIZE (libplacebo-v7.351.0.tar.bz2) = 703424
+SHA256 (12509c0f1ee8.patch) = f183bf98c3bd1591cd93a12d4d0372f77e3009bdc0a19a3e0f9edb2dfee0b657
+SIZE (12509c0f1ee8.patch) = 1005