summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/023_virtualbox-7.0.6-gcc-13.patch')
-rw-r--r--patches/023_virtualbox-7.0.6-gcc-13.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/023_virtualbox-7.0.6-gcc-13.patch b/patches/023_virtualbox-7.0.6-gcc-13.patch
new file mode 100644
index 0000000..ed3a2d0
--- /dev/null
+++ b/patches/023_virtualbox-7.0.6-gcc-13.patch
@@ -0,0 +1,28 @@
+Add a few missing includes.
+
+Bug: https://bugs.gentoo.org/892852
+
+--- a/src/libs/dxvk-native-1.9.2a/src/util/util_matrix.cpp
++++ b/src/libs/dxvk-native-1.9.2a/src/util/util_matrix.cpp
+@@ -1,3 +1,4 @@
++#include <cstdint>
+ #include "util_matrix.h"
+
+ namespace dxvk {
+@@ -229,4 +230,4 @@
+ return os;
+ }
+
+-}
+\ No newline at end of file
++}
+--- a/src/libs/dxvk-native-1.9.2a/src/util/util_vector.h
++++ b/src/libs/dxvk-native-1.9.2a/src/util/util_vector.h
+@@ -1,6 +1,7 @@
+ #pragma once
+
+ #include <iostream>
++#include <cstdint>
+
+ #include "util_bit.h"
+ #include "util_math.h"