mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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() {
|
||||
|
||||
11
games-emulation/fceux/files/fceux-2.6.6-zlib132.patch
Normal file
11
games-emulation/fceux/files/fceux-2.6.6-zlib132.patch
Normal 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>
|
||||
Reference in New Issue
Block a user