games-emulation/fceux: fix build with zlib-1.3.2

Overlooked this one when fixed packages for this given it has one
(correct) instance of <minizip/unzip.h> and assumed it was fine,
however it also uses <unzip.h> in the Qt files.

Closes: https://bugs.gentoo.org/971158
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-03-14 05:18:43 -04:00
parent 2132c0f7bc
commit a63e53311f
2 changed files with 13 additions and 1 deletions

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
@@ -36,6 +36,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.4.0-no-git.patch
"${FILESDIR}"/${PN}-2.6.6-luajit.patch
"${FILESDIR}"/${PN}-2.6.6-no-glx.patch
"${FILESDIR}"/${PN}-2.6.6-zlib132.patch
)
src_prepare() {

View File

@@ -0,0 +1,11 @@
https://bugs.gentoo.org/971158
--- a/src/drivers/Qt/AboutWindow.cpp
+++ b/src/drivers/Qt/AboutWindow.cpp
@@ -26 +26 @@
-#include <unzip.h>
+#include <minizip/unzip.h>
--- a/src/drivers/Qt/fceuWrapper.cpp
+++ b/src/drivers/Qt/fceuWrapper.cpp
@@ -26 +26 @@
-#include <unzip.h>
+#include <minizip/unzip.h>