aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-06-15 12:49:13 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-06-15 12:52:15 +0900
commit7b256a87bba322a32d193d59ca84cd5d99c98783 (patch)
treedbff3ff64b07d501d8bbd685f537e522dc56b2cc /net-im
parent*/*: add versioned ebuild (diff)
downloadguru-7b256a87bba322a32d193d59ca84cd5d99c98783.tar.gz
guru-7b256a87bba322a32d193d59ca84cd5d99c98783.tar.bz2
guru-7b256a87bba322a32d193d59ca84cd5d99c98783.zip
net-im/abaddon: add missing includes
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/abaddon/abaddon-0.2.1.ebuild7
-rw-r--r--net-im/abaddon/files/abaddon-0.2.1-missing-include.patch18
2 files changed, 24 insertions, 1 deletions
diff --git a/net-im/abaddon/abaddon-0.2.1.ebuild b/net-im/abaddon/abaddon-0.2.1.ebuild
index f3cda4227..a51c94aa9 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 000000000..d99694e3c
--- /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 <config.h>
+ #include <filesystem>
+ #include <fstream>
+ #include <string>
+
++#include <spdlog/spdlog.h>
++
+ using namespace std::literals::string_literals;
+
+ #if defined(_WIN32)