diff --git a/net-im/abaddon/abaddon-0.2.1.ebuild b/net-im/abaddon/abaddon-0.2.1.ebuild index f3cda4227f..a51c94aa9e 100644 --- a/net-im/abaddon/abaddon-0.2.1.ebuild +++ b/net-im/abaddon/abaddon-0.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -41,6 +41,11 @@ DEPEND=" dev-cpp/nlohmann_json " +PATCHES=( + # Add missing includes + "${FILESDIR}/${P}-missing-include.patch" +) + src_configure() { # Disable keychain because there's currently # no package for it in ::guru or ::gentoo diff --git a/net-im/abaddon/files/abaddon-0.2.1-missing-include.patch b/net-im/abaddon/files/abaddon-0.2.1-missing-include.patch new file mode 100644 index 0000000000..d99694e3c1 --- /dev/null +++ b/net-im/abaddon/files/abaddon-0.2.1-missing-include.patch @@ -0,0 +1,18 @@ +Add missing includes. +https://github.com/uowuo/abaddon/commit/7ed65a89ae71c3c5d2ba99797bd2b1d93ce172ca +https://github.com/uowuo/abaddon/pull/312 +--- a/src/platform.cpp ++++ b/src/platform.cpp +@@ -1,9 +1,12 @@ + #include "platform.hpp" ++#include "util.hpp" + #include + #include + #include + #include + ++#include ++ + using namespace std::literals::string_literals; + + #if defined(_WIN32)