mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
mongodb: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
|||||||
|
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>
|
||||||
|
---
|
||||||
|
src/mongo/db/free_mon/free_mon_options.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
--- 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>
|
||||||
|
|
||||||
@@ -33,6 +33,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \
|
|||||||
file://0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch \
|
file://0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch \
|
||||||
file://0001-server-Adjust-the-cache-alignment-assumptions.patch \
|
file://0001-server-Adjust-the-cache-alignment-assumptions.patch \
|
||||||
file://0001-The-std-lib-unary-binary_function-base-classes-are-d.patch \
|
file://0001-The-std-lib-unary-binary_function-base-classes-are-d.patch \
|
||||||
|
file://0001-free_mon-Include-missing-cstdint.patch \
|
||||||
"
|
"
|
||||||
SRC_URI:append:libc-musl ="\
|
SRC_URI:append:libc-musl ="\
|
||||||
file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \
|
file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \
|
||||||
|
|||||||
Reference in New Issue
Block a user