games-util/wiiload: add 0.5.3

Closes: https://bugs.gentoo.org/944172
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/535
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexey Sokolov
2026-04-05 21:15:18 +01:00
committed by Sam James
parent 4538ae0894
commit 3ebc5f6799
3 changed files with 50 additions and 0 deletions

View File

@@ -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

View File

@@ -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 <unistd.h>
#include <errno.h>
#include <libgen.h>
+#include <stdbool.h>
#ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
@@ -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__

View File

@@ -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
}