summarylogtreecommitdiffstats
path: root/mongodb-4.4.1-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mongodb-4.4.1-gcc11.patch')
-rw-r--r--mongodb-4.4.1-gcc11.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/mongodb-4.4.1-gcc11.patch b/mongodb-4.4.1-gcc11.patch
new file mode 100644
index 000000000000..a6ff02dcf66f
--- /dev/null
+++ b/mongodb-4.4.1-gcc11.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/768339
+
+--- a/src/mongo/db/exec/plan_stats.h
++++ b/src/mongo/db/exec/plan_stats.h
+@@ -33,6 +33,7 @@
+ #include <cstdlib>
+ #include <string>
+ #include <vector>
++#include <optional>
+
+ #include "mongo/db/index/multikey_paths.h"
+