From 81132cfdb4283d8978f37e6c5057f979bfeb490b Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Thu, 16 Feb 2023 20:40:59 +0000 Subject: app-misc/openrgb: fix build on musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/894558 Signed-off-by: Alexey Sokolov Closes: https://github.com/gentoo/gentoo/pull/29622 Signed-off-by: Maciej Barć --- app-misc/openrgb/files/OpenRGB-0.8-includes.patch | 24 +++++++++++++++++++++++ app-misc/openrgb/openrgb-0.8-r1.ebuild | 1 + 2 files changed, 25 insertions(+) create mode 100644 app-misc/openrgb/files/OpenRGB-0.8-includes.patch (limited to 'app-misc/openrgb') diff --git a/app-misc/openrgb/files/OpenRGB-0.8-includes.patch b/app-misc/openrgb/files/OpenRGB-0.8-includes.patch new file mode 100644 index 000000000000..8ed341b06029 --- /dev/null +++ b/app-misc/openrgb/files/OpenRGB-0.8-includes.patch @@ -0,0 +1,24 @@ +From 8c893fba4fcec17e6221f2d754def4aa71b020b8 Mon Sep 17 00:00:00 2001 +From: Sirn Thanabulpong +Date: Wed, 28 Dec 2022 00:49:47 +0900 +Subject: [PATCH] Fix build on musl in Nanoleaf settings + +--- + qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp +index 1e3c926b3..55ed5fcaa 100644 +--- a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp ++++ b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp +@@ -8,6 +8,7 @@ + #else + #include + #include ++#include + #endif + + #include "mdns.h" +-- +GitLab + diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild b/app-misc/openrgb/openrgb-0.8-r1.ebuild index 10549d214ac7..672546f43e85 100644 --- a/app-misc/openrgb/openrgb-0.8-r1.ebuild +++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild @@ -42,6 +42,7 @@ BDEPEND=" PATCHES+=( "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch + "${FILESDIR}"/OpenRGB-0.8-includes.patch ) src_prepare() { -- cgit v1.2.3-65-gdbad