summaryrefslogtreecommitdiff
path: root/games-engines/odamex/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /games-engines/odamex/files
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'games-engines/odamex/files')
-rw-r--r--games-engines/odamex/files/odamex-10.0.0-gcc12.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/games-engines/odamex/files/odamex-10.0.0-gcc12.patch b/games-engines/odamex/files/odamex-10.0.0-gcc12.patch
new file mode 100644
index 000000000000..8e1a080e1f90
--- /dev/null
+++ b/games-engines/odamex/files/odamex-10.0.0-gcc12.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/852566
+--- a/libraries/portmidi/pm_linux/finddefault.c
++++ b/libraries/portmidi/pm_linux/finddefault.c
+@@ -2,6 +2,7 @@
+ Roger Dannenberg, Jan 2009
+ */
+
++#include <ctype.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+--- a/master/main.cpp
++++ b/master/main.cpp
+@@ -29,6 +29,7 @@
+ #include <iostream>
+ #endif
+
++#include <ctime>
+ #include <string>
+ #include <vector>
+ #include <list>