commit:     a63e53311fbec6e5c285f940b1ba5eaba8c9ca3b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 14 09:18:43 2026 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 09:21:36 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a63e5331

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 <AT> gentoo.org>

 games-emulation/fceux/fceux-2.6.6-r2.ebuild           |  3 ++-
 games-emulation/fceux/files/fceux-2.6.6-zlib132.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/games-emulation/fceux/fceux-2.6.6-r2.ebuild 
b/games-emulation/fceux/fceux-2.6.6-r2.ebuild
index cf94951e3972..dfdc71884401 100644
--- a/games-emulation/fceux/fceux-2.6.6-r2.ebuild
+++ b/games-emulation/fceux/fceux-2.6.6-r2.ebuild
@@ -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() {

diff --git a/games-emulation/fceux/files/fceux-2.6.6-zlib132.patch 
b/games-emulation/fceux/files/fceux-2.6.6-zlib132.patch
new file mode 100644
index 000000000000..9a23b5f2382f
--- /dev/null
+++ b/games-emulation/fceux/files/fceux-2.6.6-zlib132.patch
@@ -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>

Reply via email to