summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/odamex/files/odamex-10.0.0-gcc12.patch')
-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>