mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
net-im/abaddon: add missing includes
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
18
net-im/abaddon/files/abaddon-0.2.1-missing-include.patch
Normal file
18
net-im/abaddon/files/abaddon-0.2.1-missing-include.patch
Normal 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)
|
||||
Reference in New Issue
Block a user