mongodb-6_0: add patch to fix broken build (#293556)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by Isabelle Sandro and committed by GitHub 948054ae f1f3c6e5

+15
+3
pkgs/servers/nosql/mongodb/6.0.nix
··· 9 version = "6.0.13"; 10 sha256 = "sha256-BD3XrTdv4sCa3h37o1A2s3/R0R8zHiR59a4pY0RxLGU="; 11 patches = [ 12 (fetchpatch { 13 name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch"; 14 url = "https://github.com/mongodb/mongo/commit/5435f9585f857f6145beaf6d31daf336453ba86f.patch";
··· 9 version = "6.0.13"; 10 sha256 = "sha256-BD3XrTdv4sCa3h37o1A2s3/R0R8zHiR59a4pY0RxLGU="; 11 patches = [ 12 + # Patches a bug that it couldn't build MongoDB 6.0 on gcc 13 because a include in ctype.h was missing 13 + ./fix-gcc-13-ctype-6_0.patch 14 + 15 (fetchpatch { 16 name = "mongodb-6.1.0-rc-more-specific-cache-alignment-types.patch"; 17 url = "https://github.com/mongodb/mongo/commit/5435f9585f857f6145beaf6d31daf336453ba86f.patch";
+12
pkgs/servers/nosql/mongodb/fix-gcc-13-ctype-6_0.patch
···
··· 1 + diff --git a/src/mongo/util/ctype.h b/src/mongo/util/ctype.h 2 + index a3880e2..78ee57e 100644 3 + --- a/src/mongo/util/ctype.h 4 + +++ b/src/mongo/util/ctype.h 5 + @@ -67,6 +67,7 @@ 6 + #pragma once 7 + 8 + #include <array> 9 + +#include <cstdint> 10 + 11 + namespace mongo::ctype { 12 + namespace detail {