void-packages/srcpkgs/openrgb/patches/musl.patch

27 lines
863 B
Diff

https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/8c893fba4fcec17e6221f2d754def4aa71b020b8
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