commit: d629bb3b6832fbcee0df7f43765b95de6ad57707 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Wed Feb 18 14:46:23 2026 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Wed Feb 18 15:09:52 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d629bb3b
games-emulation/rmg: fix build with zlib-1.3.2[minizip] I imagine 9999 is broken too (not tried), but it wouldn't be surprising if upstream notices & fix this soon so I'll skip the patch there and leave the rest up to the maintainer (just a drive-by quickfix). Bug: https://bugs.gentoo.org/970227 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> games-emulation/rmg/files/rmg-0.8.9-zlib-1.3.2.patch | 19 +++++++++++++++++++ games-emulation/rmg/rmg-0.8.9.ebuild | 4 ++++ 2 files changed, 23 insertions(+) diff --git a/games-emulation/rmg/files/rmg-0.8.9-zlib-1.3.2.patch b/games-emulation/rmg/files/rmg-0.8.9-zlib-1.3.2.patch new file mode 100644 index 000000000000..3800da7fdba8 --- /dev/null +++ b/games-emulation/rmg/files/rmg-0.8.9-zlib-1.3.2.patch @@ -0,0 +1,19 @@ +(part of a downstream quickfix batch, may still need to be looked at upstream) + +https://bugs.gentoo.org/970227 +--- a/Source/3rdParty/mupen64plus-core/src/main/savestates.c ++++ b/Source/3rdParty/mupen64plus-core/src/main/savestates.c +@@ -38,4 +38,4 @@ + #include <zlib.h> +-#include <unzip.h> +-#include <zip.h> ++#include <minizip/unzip.h> ++#include <minizip/zip.h> + +--- a/Source/RMG-Core/Archive.cpp ++++ b/Source/RMG-Core/Archive.cpp +@@ -30,3 +30,3 @@ + // minizip includes +-#include <unzip.h> ++#include <minizip/unzip.h> + #ifndef ZNGLIB_H_ diff --git a/games-emulation/rmg/rmg-0.8.9.ebuild b/games-emulation/rmg/rmg-0.8.9.ebuild index 637f02786071..39659b1d35cf 100644 --- a/games-emulation/rmg/rmg-0.8.9.ebuild +++ b/games-emulation/rmg/rmg-0.8.9.ebuild @@ -48,6 +48,10 @@ BDEPEND=" dynarec? ( dev-lang/nasm ) " +PATCHES=( + "${FILESDIR}"/${PN}-0.8.9-zlib-1.3.2.patch +) + src_prepare() { # Remove unused 3rdParty code - https://bugs.gentoo.org/959468 rm -r "${S}"/Source/3rdParty/imgui/examples || die
