diff options
author | Kostadin Shishmanov <kocelfc@tutanota.com> | 2023-11-07 19:36:39 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-11-12 03:34:49 +0100 |
commit | 8d0dfcc0ee68e0746171e181776c35996ec0d7de (patch) | |
tree | b7e51b2596837bf9d94f196ad012144706c437ea /app-misc | |
parent | dev-cpp/yaml-cpp: Stabilize 0.8.0 sparc, #917223 (diff) | |
download | gentoo-8d0dfcc0ee68e0746171e181776c35996ec0d7de.tar.gz gentoo-8d0dfcc0ee68e0746171e181776c35996ec0d7de.tar.bz2 gentoo-8d0dfcc0ee68e0746171e181776c35996ec0d7de.zip |
app-misc/logiops: fix build with gcc 14
Closes: https://bugs.gentoo.org/917002
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/33707
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/logiops/files/logiops-0.3.3-gcc-14.patch | 28 | ||||
-rw-r--r-- | app-misc/logiops/logiops-0.3.3.ebuild | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-misc/logiops/files/logiops-0.3.3-gcc-14.patch b/app-misc/logiops/files/logiops-0.3.3-gcc-14.patch new file mode 100644 index 000000000000..e0218d672577 --- /dev/null +++ b/app-misc/logiops/files/logiops-0.3.3-gcc-14.patch @@ -0,0 +1,28 @@ +From da742af3a5a4fe7ba5a46ad789f1923b95531074 Mon Sep 17 00:00:00 2001 +From: Kostadin Shishmanov <kocelfc@tutanota.com> +Date: Tue, 7 Nov 2023 19:10:29 +0200 +Subject: [PATCH] Add include <algorithm> to fix building with gcc 14 + +Gentoo bug: +https://bugs.gentoo.org/917002 + +Upstream PR: +https://github.com/PixlOne/logiops/pull/415 + +Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com> +--- + src/logid/config/group.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/logid/config/group.h b/src/logid/config/group.h +index e7b301a2..45e717bf 100644 +--- a/src/logid/config/group.h ++++ b/src/logid/config/group.h +@@ -22,6 +22,7 @@ + #include <type_traits> + #include <functional> + #include <utility> ++#include <algorithm> + + namespace logid::config { + template<typename T> diff --git a/app-misc/logiops/logiops-0.3.3.ebuild b/app-misc/logiops/logiops-0.3.3.ebuild index 3786b617ded3..7885d2fc301f 100644 --- a/app-misc/logiops/logiops-0.3.3.ebuild +++ b/app-misc/logiops/logiops-0.3.3.ebuild @@ -32,6 +32,10 @@ BDEPEND="virtual/pkgconfig" DOCS=( "README.md" "TESTED.md" ) +PATCHES=( + "${FILESDIR}/${PN}-0.3.3-gcc-14.patch" +) + pkg_pretend() { local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP" |