summaryrefslogtreecommitdiff
path: root/dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2024-08-15 22:05:59 -0400
committerNick Sarnie <sarnex@gentoo.org>2024-08-15 22:08:04 -0400
commit8f532e79627b5ded47979f9d9707d49ab306fab0 (patch)
tree24dc8ea5ad2dcec6163cc92f763dbc4f86883254 /dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch
parentf2bcabbcec03d24adf9bf7886a1573bdebddd9c4 (diff)
downloadgentoo-8f532e79627b5ded47979f9d9707d49ab306fab0.tar.gz
gentoo-8f532e79627b5ded47979f9d9707d49ab306fab0.tar.bz2
gentoo-8f532e79627b5ded47979f9d9707d49ab306fab0.zip
dev-cpp/robin-hood-hashing: Fix build with gcc-15
Closes: https://bugs.gentoo.org/937693 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch')
-rw-r--r--dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch b/dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch
new file mode 100644
index 000000000000..e5f10b7a0126
--- /dev/null
+++ b/dev-cpp/robin-hood-hashing/files/robin-hood-hashing-include-cstdint.patch
@@ -0,0 +1,12 @@
+diff --git a/src/include/robin_hood.h b/src/include/robin_hood.h
+index b4e0fbc..b83eaef 100644
+--- a/src/include/robin_hood.h
++++ b/src/include/robin_hood.h
+@@ -39,6 +39,7 @@
+ #define ROBIN_HOOD_VERSION_PATCH 5 // for backwards-compatible bug fixes
+
+ #include <algorithm>
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstring>
+ #include <functional>