summaryrefslogtreecommitdiffstats
path: root/games/higan
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-27 10:55:17 +0200
committer Matteo Bernardini2024-04-27 10:55:17 +0200
commita9b45c006f9ff5d68b3da9fe9893afa288a1254c (patch)
treead10755569ed5cdb63f094945ce637939141a32c /games/higan
parent68ac93024440c1dcb61e579018ce241a1ab44180 (diff)
downloadslackbuilds-current.tar.gz
20240427.1 global branch merge.current-20240427.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/higan')
-rw-r--r--games/higan/higan.SlackBuild2
-rw-r--r--games/higan/includes.diff8
2 files changed, 10 insertions, 0 deletions
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild
index 39d9901f01..31cd37b92a 100644
--- a/games/higan/higan.SlackBuild
+++ b/games/higan/higan.SlackBuild
@@ -116,6 +116,8 @@ chown -R root:root .
# for its support files if they're not found in ~/.local/share/higan.
patch -p1 -i $CWD/higan-flags.diff
patch -p1 -i $CWD/higan-paths.diff
+# 20240131 KEC: gcc-13.x compatibility
+patch -p1 -i $CWD/includes.diff
# 20181212 bkw: audio system stuff. Upstream doesn't give us a way to
# disable these on the make command line, but hacking this file works:
diff --git a/games/higan/includes.diff b/games/higan/includes.diff
new file mode 100644
index 0000000000..09b1a5bc2b
--- /dev/null
+++ b/games/higan/includes.diff
@@ -0,0 +1,8 @@
+--- higan-106.orig/nall/arithmetic/natural.hpp 2024-01-31 09:12:37.166634947 +0900
++++ higan-106/nall/arithmetic/natural.hpp 2024-01-31 09:12:58.147526383 +0900
+@@ -1,3 +1,5 @@
++#include <stdexcept>
++
+ #define ConcatenateType(Size) uint##Size##_t
+ #define DeclareType(Size) ConcatenateType(Size)
+