summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-13 00:11:54 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-13 00:12:00 +0000
commit610bb3553288b51ec7e013b2c0f6e18bca930758 (patch)
tree0fd92fbb729cef2bad394ce549dd68227352bafa /games-simulation/corsix-th/files
parentsys-libs/pam: Add [${MULTILIB_USEDEP}] to dependency on virtual/libcrypt. (diff)
downloadgentoo-610bb3553288b51ec7e013b2c0f6e18bca930758.tar.gz
gentoo-610bb3553288b51ec7e013b2c0f6e18bca930758.tar.bz2
gentoo-610bb3553288b51ec7e013b2c0f6e18bca930758.zip
games-simulation/corsix-th: tweak for gcc-10
Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'games-simulation/corsix-th/files')
-rw-r--r--games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch b/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch
new file mode 100644
index 000000000000..ff820f44946b
--- /dev/null
+++ b/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch
@@ -0,0 +1,10 @@
+--- a/CorsixTH/Src/th_lua_map.cpp
++++ b/CorsixTH/Src/th_lua_map.cpp
+@@ -26,6 +26,7 @@ SOFTWARE.
+ #include <cstring>
+ #include <string>
+ #include <exception>
++#include <stdexcept> /* std::out_of_range */
+
+ static const int player_max = 4;
+