summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-13 05:20:14 +0100
committerSam James <sam@gentoo.org>2025-05-13 06:18:21 +0100
commit1a6ae56c01330674cb530e2908455419d24d4ad0 (patch)
tree3ca1c3d896c8acc5c0c32021a36dab79a06f659c
parent9164bf6c603ffba9506aaf0925eaef830da352fd (diff)
downloadgentoo-1a6ae56c01330674cb530e2908455419d24d4ad0.tar.gz
gentoo-1a6ae56c01330674cb530e2908455419d24d4ad0.tar.bz2
gentoo-1a6ae56c01330674cb530e2908455419d24d4ad0.zip
dev-util/mdds: fix build w/ GCC 15
Revbump as it affects installed headers too. Bug: https://bugs.gentoo.org/938111 Closes: https://bugs.gentoo.org/955864 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-util/mdds/files/mdds-2.1.1-include.patch24
-rw-r--r--dev-util/mdds/mdds-2.1.1-r1.ebuild (renamed from dev-util/mdds/mdds-2.1.1.ebuild)7
2 files changed, 29 insertions, 2 deletions
diff --git a/dev-util/mdds/files/mdds-2.1.1-include.patch b/dev-util/mdds/files/mdds-2.1.1-include.patch
new file mode 100644
index 000000000000..caa6d9c8cf63
--- /dev/null
+++ b/dev-util/mdds/files/mdds-2.1.1-include.patch
@@ -0,0 +1,24 @@
+diff --git a/include/mdds/trie_map.hpp b/include/mdds/trie_map.hpp
+index c0fe6a0..d5b6dd5 100644
+--- a/include/mdds/trie_map.hpp
++++ b/include/mdds/trie_map.hpp
+@@ -31,6 +31,7 @@
+
+ #include "trie_map_itr.hpp"
+
++#include <cstdint>
+ #include <vector>
+ #include <string>
+ #include <deque>
+diff --git a/include/mdds/trie_map_itr.hpp b/include/mdds/trie_map_itr.hpp
+index cc993fb..bac5615 100644
+--- a/include/mdds/trie_map_itr.hpp
++++ b/include/mdds/trie_map_itr.hpp
+@@ -28,6 +28,7 @@
+ #ifndef INCLUDED_MDDS_TRIE_MAP_ITR_HPP
+ #define INCLUDED_MDDS_TRIE_MAP_ITR_HPP
+
++#include <cstdint>
+ #include <utility>
+ #include <cassert>
+ #include <iostream>
diff --git a/dev-util/mdds/mdds-2.1.1.ebuild b/dev-util/mdds/mdds-2.1.1-r1.ebuild
index 220f51815c41..373c333fe1b4 100644
--- a/dev-util/mdds/mdds-2.1.1.ebuild
+++ b/dev-util/mdds/mdds-2.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,7 +30,10 @@ BDEPEND="
test? ( dev-util/dejagnu )
"
-PATCHES=( "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.5.0-buildsystem.patch"
+ "${FILESDIR}/${PN}-2.1.1-include.patch"
+)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp