games-emulation/mupen64plus-core: fix build with zlib-1.3.2[minizip]

Bug: https://bugs.gentoo.org/970227
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-02-18 09:34:32 -05:00
parent eb794111a0
commit 3983b71cb3
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
(part of a downstream quickfix batch, may still need to be looked at upstream)
https://bugs.gentoo.org/970227
--- a/src/main/savestates.c
+++ b/src/main/savestates.c
@@ -33,4 +33,4 @@
#include <zlib.h>
-#include <unzip.h>
-#include <zip.h>
+#include <minizip/unzip.h>
+#include <minizip/zip.h>

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -46,6 +46,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-2.6.0-zlib-1.3.2.patch
)
src_prepare() {
default