fix: gcc12 patch is not needed anymore

epel9
Marc Deop 3 years ago
parent faf90e01ea
commit 8168197e10

@ -1,25 +0,0 @@
From de755097bd99999553f777a8ecfdc53e8ec705c9 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Mon, 17 Jan 2022 16:12:41 +0100
Subject: [PATCH] Fix build with GCC 12, missing include
std::memcpy needs #include <cstring>
---
processcore/plugins/network/helper/ConnectionMapping.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/processcore/plugins/network/helper/ConnectionMapping.cpp b/processcore/plugins/network/helper/ConnectionMapping.cpp
index 3825b99..4bd5b64 100644
--- a/processcore/plugins/network/helper/ConnectionMapping.cpp
+++ b/processcore/plugins/network/helper/ConnectionMapping.cpp
@@ -7,6 +7,7 @@
#include "ConnectionMapping.h"
+#include <cstring>
#include <charconv>
#include <fstream>
#include <iostream>
--
GitLab

@ -17,8 +17,6 @@ Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.
# GCC 8 and older need stdc++fs link library set
Patch1: libksysguard-5.22.2.1_fix-processcore-on-gcc8.patch
# GCC 12 fix (missing include)
Patch100: de755097bd99999553f777a8ecfdc53e8ec705c9.patch
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros

Loading…
Cancel
Save