diff options
author | Sam James <sam@gentoo.org> | 2023-01-30 03:24:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-30 03:24:46 +0000 |
commit | c50c94ccdbf6a695a082daaba0b74946c1f477d0 (patch) | |
tree | 964c6e7f53f91ff4fb47ba6116d9d9d971756d92 /dev-db/mongodb | |
parent | media-tv/kodi: fix build w/ gcc 13 (diff) | |
download | gentoo-c50c94ccdbf6a695a082daaba0b74946c1f477d0.tar.gz gentoo-c50c94ccdbf6a695a082daaba0b74946c1f477d0.tar.bz2 gentoo-c50c94ccdbf6a695a082daaba0b74946c1f477d0.zip |
dev-db/mongodb: fix build w/ gcc 13
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch | 25 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-4.4.8-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-5.0.5-r2.ebuild | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch b/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch new file mode 100644 index 000000000000..00b82aca94fc --- /dev/null +++ b/dev-db/mongodb/files/mongodb-4.4.8-gcc-13.patch @@ -0,0 +1,25 @@ +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> + + diff --git a/dev-db/mongodb/mongodb-4.4.8-r2.ebuild b/dev-db/mongodb/mongodb-4.4.8-r2.ebuild index f32ccf17a5fc..210b70da8006 100644 --- a/dev-db/mongodb/mongodb-4.4.8-r2.ebuild +++ b/dev-db/mongodb/mongodb-4.4.8-r2.ebuild @@ -59,6 +59,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.4.8-no-compass.patch" "${FILESDIR}/${PN}-4.4.1-boost.patch" "${FILESDIR}/${PN}-4.4.1-gcc11.patch" + "${FILESDIR}/${PN}-4.4.8-gcc-13.patch" "${FILESDIR}/${PN}-5.0.2-glibc-2.34.patch" ) diff --git a/dev-db/mongodb/mongodb-5.0.5-r2.ebuild b/dev-db/mongodb/mongodb-5.0.5-r2.ebuild index de1b7a578f54..33dcd7a556ab 100644 --- a/dev-db/mongodb/mongodb-5.0.5-r2.ebuild +++ b/dev-db/mongodb/mongodb-5.0.5-r2.ebuild @@ -71,6 +71,7 @@ PATCHES=( "${FILESDIR}/${PN}-5.0.5-no-force-lld.patch" "${FILESDIR}/${PN}-4.4.10-boost-1.81.patch" "${FILESDIR}/${PN}-5.0.5-boost-1.81-extra.patch" + "${FILESDIR}/${PN}-4.4.8-gcc-13.patch" ) S="${WORKDIR}/${MY_P}" |