Loading pkgs/by-name/wi/wiiload/fix-gcc15.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line diff --git a/source/main.c b/source/main.c index 2d817e5..9dfeb3d 100644 --- 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__ No newline at end of file pkgs/by-name/wi/wiiload/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-pZdZzCAPfAVucuiV/q/ROY3cz/wxQWep6dCTGNn2fSo="; }; patches = [ # https://github.com/devkitPro/wiiload/pull/4 ./fix-gcc15.patch ]; preConfigure = "./autogen.sh"; meta = { Loading Loading
pkgs/by-name/wi/wiiload/fix-gcc15.patch 0 → 100644 +21 −0 Original line number Diff line number Diff line diff --git a/source/main.c b/source/main.c index 2d817e5..9dfeb3d 100644 --- 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__ No newline at end of file
pkgs/by-name/wi/wiiload/package.nix +5 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,11 @@ stdenv.mkDerivation (finalAttrs: { sha256 = "sha256-pZdZzCAPfAVucuiV/q/ROY3cz/wxQWep6dCTGNn2fSo="; }; patches = [ # https://github.com/devkitPro/wiiload/pull/4 ./fix-gcc15.patch ]; preConfigure = "./autogen.sh"; meta = { Loading