net-im/abaddon: add missing includes

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-06-15 12:49:13 +09:00
parent 679a022338
commit 7b256a87bb
2 changed files with 24 additions and 1 deletions

View File

@@ -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

View File

@@ -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 <config.h>
#include <filesystem>
#include <fstream>
#include <string>
+#include <spdlog/spdlog.h>
+
using namespace std::literals::string_literals;
#if defined(_WIN32)