From: "Kostadin Shishmanov" <kocelfc@tutanota.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/corectrl/, app-misc/corectrl/files/
Date: Wed, 1 Nov 2023 09:31:17 +0000 (UTC) [thread overview]
Message-ID: <1698831032.e30f04e8598e8188d54527d5da6ecd368fd5d0aa.kocelfc@gentoo> (raw)
commit: e30f04e8598e8188d54527d5da6ecd368fd5d0aa
Author: Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Wed Nov 1 09:30:32 2023 +0000
Commit: Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
CommitDate: Wed Nov 1 09:30:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e30f04e8
app-misc/corectrl: add patch to fix building with gcc 14
Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>
app-misc/corectrl/corectrl-1.3.6.ebuild | 4 ++++
app-misc/corectrl/corectrl-9999.ebuild | 4 ++++
app-misc/corectrl/files/corectrl-gcc-14.patch | 12 ++++++++++++
3 files changed, 20 insertions(+)
diff --git a/app-misc/corectrl/corectrl-1.3.6.ebuild b/app-misc/corectrl/corectrl-1.3.6.ebuild
index e56edefc64..12fec0f9d0 100644
--- a/app-misc/corectrl/corectrl-1.3.6.ebuild
+++ b/app-misc/corectrl/corectrl-1.3.6.ebuild
@@ -46,6 +46,10 @@ DEPEND="
BDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-gcc-14.patch
+)
+
src_configure() {
local mycmakeargs+=(
-DBUILD_TESTING=$(usex test ON OFF)
diff --git a/app-misc/corectrl/corectrl-9999.ebuild b/app-misc/corectrl/corectrl-9999.ebuild
index 7b4ca92f3e..a0fb181f6c 100644
--- a/app-misc/corectrl/corectrl-9999.ebuild
+++ b/app-misc/corectrl/corectrl-9999.ebuild
@@ -46,6 +46,10 @@ DEPEND="
BDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-gcc-14.patch
+)
+
src_configure() {
local mycmakeargs+=(
-DBUILD_TESTING=$(usex test ON OFF)
diff --git a/app-misc/corectrl/files/corectrl-gcc-14.patch b/app-misc/corectrl/files/corectrl-gcc-14.patch
new file mode 100644
index 0000000000..6392db7402
--- /dev/null
+++ b/app-misc/corectrl/files/corectrl-gcc-14.patch
@@ -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
next reply other threads:[~2023-11-01 9:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-01 9:31 Kostadin Shishmanov [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-01 16:21 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/corectrl/, app-misc/corectrl/files/ Kostadin Shishmanov
2023-11-04 21:15 Kostadin Shishmanov
2024-01-08 20:06 Kostadin Shishmanov
2025-02-09 22:40 Quinet Charlie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1698831032.e30f04e8598e8188d54527d5da6ecd368fd5d0aa.kocelfc@gentoo \
--to=kocelfc@tutanota.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox