commit:     1a6ae56c01330674cb530e2908455419d24d4ad0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 13 04:20:14 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 13 05:18:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6ae56c

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 <AT> gentoo.org>

 dev-util/mdds/files/mdds-2.1.1-include.patch       | 24 ++++++++++++++++++++++
 .../{mdds-2.1.1.ebuild => mdds-2.1.1-r1.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
similarity index 89%
rename from dev-util/mdds/mdds-2.1.1.ebuild
rename to 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

Reply via email to