summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Gene Carlson2024-01-31 01:37:27 +0100
committer Matteo Bernardini2024-04-05 21:05:25 +0200
commita327b1927659d989c6f1186c344101fcb7aa8087 (patch)
treed0de9e27ed79a0d7d863a3f4f6528499abd689b8
parentca3cfecb6f0115a65c4c9ecc03fa1f7aa1c840a3 (diff)
downloadslackbuilds-higan.tar.gz
games/higan: Add missing include.higan
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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)
+