summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2023-02-16 20:40:59 +0000
committerMaciej Barć <xgqt@gentoo.org>2023-02-16 22:36:02 +0100
commit81132cfdb4283d8978f37e6c5057f979bfeb490b (patch)
treef2621c12ed62456d7bc0ca5dc692cdf34cd272a0 /app-misc
parentnet-dns/pdns-recursor: Fix building with gcc-13, bug #894618 (diff)
downloadgentoo-81132cfdb4283d8978f37e6c5057f979bfeb490b.tar.gz
gentoo-81132cfdb4283d8978f37e6c5057f979bfeb490b.tar.bz2
gentoo-81132cfdb4283d8978f37e6c5057f979bfeb490b.zip
app-misc/openrgb: fix build on musl
Closes: https://bugs.gentoo.org/894558 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/29622 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/openrgb/files/OpenRGB-0.8-includes.patch24
-rw-r--r--app-misc/openrgb/openrgb-0.8-r1.ebuild1
2 files changed, 25 insertions, 0 deletions
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 <sirn@ogsite.net>
+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 <netdb.h>
+ #include <ifaddrs.h>
++#include <sys/select.h>
+ #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() {