commit:     a93fc848a6c41f9440c34916cda3f269693a46f3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  9 00:17:10 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb  9 16:11:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93fc848

media-libs/libxspf: update EAPI 7 -> 9, fix build w/ uriparser-1.0.0

Closes: https://bugs.gentoo.org/967638
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libxspf/files/libxspf-1.2.1-uriparser-1.0.0.patch | 11 +++++++++++
 media-libs/libxspf/libxspf-1.2.1.ebuild                      |  7 ++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/media-libs/libxspf/files/libxspf-1.2.1-uriparser-1.0.0.patch 
b/media-libs/libxspf/files/libxspf-1.2.1-uriparser-1.0.0.patch
new file mode 100644
index 000000000000..57b22eaf0e37
--- /dev/null
+++ b/media-libs/libxspf/files/libxspf-1.2.1-uriparser-1.0.0.patch
@@ -0,0 +1,11 @@
+--- a/src/XspfReader.cpp
++++ b/src/XspfReader.cpp
+@@ -61,7 +61,7 @@
+ #include <cstring> // size_t
+ #include <cstddef> // int
+ 
+-#if (URI_VER_MINOR < 7) || ((URI_VER_MINOR == 7) && (URI_VER_RELEASE < 2))
++#if (URI_VER_MAJOR < 1) && ((URI_VER_MINOR < 7) || ((URI_VER_MINOR == 7) && 
(URI_VER_RELEASE < 2)))
+ # error uriparser 0.7.2 or later is required
+ #endif
+ 

diff --git a/media-libs/libxspf/libxspf-1.2.1.ebuild 
b/media-libs/libxspf/libxspf-1.2.1.ebuild
index 29bf036db181..cbb330596862 100644
--- a/media-libs/libxspf/libxspf-1.2.1.ebuild
+++ b/media-libs/libxspf/libxspf-1.2.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=9
 
 DESCRIPTION="Playlist handling library"
 HOMEPAGE="https://libspiff.sourceforge.net/";
@@ -20,10 +20,11 @@ DEPEND="${RDEPEND}
        test? ( >=dev-util/cpptest-1.1 )"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=( "${FILESDIR}/${P}-uriparser-1.0.0.patch" ) # bug 967638
+
 src_configure() {
        econf \
                --disable-doc \
-               --disable-static \
                $(use_enable test)
 }
 

Reply via email to