diff --git a/games-util/wiiload/Manifest b/games-util/wiiload/Manifest index de6caf41f494b..6c424baf11d2d 100644 --- a/games-util/wiiload/Manifest +++ b/games-util/wiiload/Manifest @@ -1 +1,2 @@ +DIST wiiload-0.5.3.tar.gz 5528 BLAKE2B 907ce57af768c1b5dc4f35098a014a334eea19846b64e7f8f0385cc7477c254f06498a2975e28968e6dee91711dba8e71bed4d459b1f8aa0236aa4795fac0698 SHA512 58ec5e3a3b56f8f4822f29db3ea67f2b5d82a35ec0478ac2395f3ebbe51030f451b00b3bc97f534db5ab7613f40f8433aeef1778cf38682a9d7d790f276fc595 DIST wiiload-0.5.tar.gz 5291 BLAKE2B e8e8e23569ee625648e222e2b1cf919f4304941303af19b33925a9647706dd9683fe93cb3a101c4bdd52525b19533f7bf357864c337e84053a45196a74287c15 SHA512 2c13490e5034078fef658ca3f9743be04fd6c870e485aae7be21a80967f2d1f1075fee016bf7945b20004bc5d96d0b3244f8a997c4410299f1f6afca002360e4 diff --git a/games-util/wiiload/files/wiiload-0.5.3-stdbool.patch b/games-util/wiiload/files/wiiload-0.5.3-stdbool.patch new file mode 100644 index 0000000000000..cff0049cef0de --- /dev/null +++ b/games-util/wiiload/files/wiiload-0.5.3-stdbool.patch @@ -0,0 +1,23 @@ +Fix build with gcc 15 +https://bugs.gentoo.org/944172 +https://github.com/devkitPro/wiiload/pull/4 + +--- a/source/main.c ++++ b/source/main.c +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + #ifndef _WIN32 + #include + #include +@@ -62,8 +63,6 @@ typedef signed short s16; + typedef signed int s32; + typedef signed long long s64; + +-typedef enum { false, true } bool; +- + #ifndef __WIN32__ + static const char *desc_export = "export"; + #ifndef __APPLE__ diff --git a/games-util/wiiload/wiiload-0.5.3.ebuild b/games-util/wiiload/wiiload-0.5.3.ebuild new file mode 100644 index 0000000000000..29182df94c465 --- /dev/null +++ b/games-util/wiiload/wiiload-0.5.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Load homebrew apps over the network to your Wii" +HOMEPAGE="http://wiibrew.org/wiki/Wiiload https://github.com/devkitPro/wiiload" +SRC_URI="https://github.com/devkitPro/wiiload/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="virtual/zlib:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-stdbool.patch" +) + +src_prepare() { + default + eautoreconf +}