mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-misc/corectrl: add patch to fix building with gcc 14
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
This commit is contained in:
@@ -46,6 +46,10 @@ DEPEND="
|
||||
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-gcc-14.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_TESTING=$(usex test ON OFF)
|
||||
|
||||
@@ -46,6 +46,10 @@ DEPEND="
|
||||
|
||||
BDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-gcc-14.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_TESTING=$(usex test ON OFF)
|
||||
|
||||
12
app-misc/corectrl/files/corectrl-gcc-14.patch
Normal file
12
app-misc/corectrl/files/corectrl-gcc-14.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/src/core/components/controls/controlgroupxmlparser.cpp b/src/core/components/controls/controlgroupxmlparser.cpp
|
||||
index c83a187..c580fc3 100644
|
||||
--- a/src/core/components/controls/controlgroupxmlparser.cpp
|
||||
+++ b/src/core/components/controls/controlgroupxmlparser.cpp
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <pugixml.hpp>
|
||||
#include <utility>
|
||||
+#include <algorithm>
|
||||
|
||||
class ControlGroupXMLParser::Factory final
|
||||
: public ProfilePartXMLParser::Factory
|
||||
Reference in New Issue
Block a user