commit:     15101929cb566ddee467f003931a440b86ad3ba8
Author:     Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Fri Sep 12 16:38:53 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Sep 12 16:38:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15101929

games-emulation/azahar: add patch to use system oaknut

oaknut was package and the dependency was wired up in the ebuild, but a
patch to use the system installation was never actually added, leading
to a build failure on aarch64 due to the bundled copy being missing.

Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>

 games-emulation/azahar/azahar-2123.1.ebuild                 |  1 +
 .../files/azahar-2123.1-use-the-system-oaknut-library.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/games-emulation/azahar/azahar-2123.1.ebuild 
b/games-emulation/azahar/azahar-2123.1.ebuild
index ea052c9a1d..008caed9a3 100644
--- a/games-emulation/azahar/azahar-2123.1.ebuild
+++ b/games-emulation/azahar/azahar-2123.1.ebuild
@@ -64,6 +64,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-2122.1-use-the-system-teakra-library.patch"
        "${FILESDIR}/${PN}-2123-don-t-build-spirv-tools.patch"
        
"${FILESDIR}/${PN}-2123-use-the-zstd_seekable.h-header-from-externals.patch"
+       "${FILESDIR}/${PN}-2123.1-use-the-system-oaknut-library.patch"
 )
 
 # [directory]=license

diff --git 
a/games-emulation/azahar/files/azahar-2123.1-use-the-system-oaknut-library.patch
 
b/games-emulation/azahar/files/azahar-2123.1-use-the-system-oaknut-library.patch
new file mode 100644
index 0000000000..afc867e5cc
--- /dev/null
+++ 
b/games-emulation/azahar/files/azahar-2123.1-use-the-system-oaknut-library.patch
@@ -0,0 +1,13 @@
+Use the system's installation of oaknut.
+
+--- a/externals/CMakeLists.txt
++++ b/externals/CMakeLists.txt
+@@ -109,7 +109,7 @@ endif()
+ 
+ # Oaknut
+ if ("arm64" IN_LIST ARCHITECTURE)
+-    add_subdirectory(oaknut EXCLUDE_FROM_ALL)
++    add_library(oaknut INTERFACE)
+ endif()
+ 
+ # Dynarmic

Reply via email to