commit:     601039b9ab17b4ee94fedf6289d1050b7de33b7e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 03:21:34 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 03:33:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=601039b9

games-emulation/higan: fix build w/ gcc13 + update deps

Doesn't overly need a revbump for the fix, but it's an excuse
to replace the mostly deprecated deps at same time.

Thankfully trivial considering that upstream is still inactive,
imagine this will break in a worse way sooner or later.

Closes: https://bugs.gentoo.org/898898
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/higan/files/higan-116_pre20210818-gcc13.patch      | 7 +++++++
 ...n-116_pre20210818-r1.ebuild => higan-116_pre20210818-r2.ebuild} | 7 ++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch 
b/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch
new file mode 100644
index 000000000000..8e55894b521f
--- /dev/null
+++ b/games-emulation/higan/files/higan-116_pre20210818-gcc13.patch
@@ -0,0 +1,7 @@
+https://bugs.gentoo.org/898898
+--- a/nall/arithmetic/natural.hpp
++++ b/nall/arithmetic/natural.hpp
+@@ -1 +1,3 @@
++#include <stdexcept>
++
+ #define ConcatenateType(Size) uint##Size##_t

diff --git a/games-emulation/higan/higan-116_pre20210818-r1.ebuild 
b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
similarity index 94%
rename from games-emulation/higan/higan-116_pre20210818-r1.ebuild
rename to games-emulation/higan/higan-116_pre20210818-r2.ebuild
index a839c1ef8e50..79950540ab17 100644
--- a/games-emulation/higan/higan-116_pre20210818-r1.ebuild
+++ b/games-emulation/higan/higan-116_pre20210818-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,8 +24,8 @@ RDEPEND="
        alsa? ( media-libs/alsa-lib )
        ao? ( media-libs/libao )
        openal? ( media-libs/openal )
-       opengl? ( virtual/opengl )
-       pulseaudio? ( media-sound/pulseaudio )
+       opengl? ( media-libs/libglvnd[X] )
+       pulseaudio? ( media-libs/libpulse )
        sdl? ( media-libs/libsdl2[joystick] )
        udev? ( virtual/libudev:= )
        xv? ( x11-libs/libXv )
@@ -51,6 +51,7 @@ PATCHES=(
        # insane build system, reinvents every built-in rule
        "${FILESDIR}"/${PN}-116_pre20210404-makefile.patch
        "${FILESDIR}"/${PN}-116_pre20210818-paths.patch
+       "${FILESDIR}"/${PN}-116_pre20210818-gcc13.patch
 )
 
 src_prepare() {

Reply via email to