summarylogtreecommitdiffstats
path: root/mongodb-4.4.8-gcc-13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mongodb-4.4.8-gcc-13.patch')
-rw-r--r--mongodb-4.4.8-gcc-13.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/mongodb-4.4.8-gcc-13.patch b/mongodb-4.4.8-gcc-13.patch
new file mode 100644
index 000000000000..daf406d18dbc
--- /dev/null
+++ b/mongodb-4.4.8-gcc-13.patch
@@ -0,0 +1,23 @@
+https://cgit.openembedded.org/meta-openembedded-contrib/commit/?id=856c21b061e000640829e158b9bb9e978a974386
+
+From 5d8218b8a1b5bc71e2a0cf543a000e194daba599 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 29 Jan 2023 17:15:30 -0800
+Subject: [PATCH] free_mon: Include missing <cstdint>
+
+gcc 13 moved some includes around and as a result <cstdint> is no
+longer transitively included [1]. Explicitly include it
+for uintXX_t.
+
+[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/src/mongo/db/free_mon/free_mon_options.h
++++ b/src/mongo/db/free_mon/free_mon_options.h
+@@ -29,6 +29,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include <string>
+ #include <vector>