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