mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/indilib: Fix musl build
Closes: https://bugs.gentoo.org/873403 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
37
sci-libs/indilib/files/indilib-2.0.2-musl.patch
Normal file
37
sci-libs/indilib/files/indilib-2.0.2-musl.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
From 2e95bc3a8487912c3edc5d83e00557d20335ba3e Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Wed, 26 Jul 2023 05:30:00 +0100
|
||||
Subject: [PATCH] drivers: auxiliary: use stdint.h types (fix musl build)
|
||||
(#1914)
|
||||
|
||||
---
|
||||
drivers/auxiliary/pegasus_upb.cpp | 2 +-
|
||||
drivers/auxiliary/pegasus_upb.h | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/auxiliary/pegasus_upb.cpp b/drivers/auxiliary/pegasus_upb.cpp
|
||||
index 6aa290a2d8..437d3e19cc 100644
|
||||
--- a/drivers/auxiliary/pegasus_upb.cpp
|
||||
+++ b/drivers/auxiliary/pegasus_upb.cpp
|
||||
@@ -1356,7 +1356,7 @@ bool PegasusUPB::sensorUpdated(const std::vector<std::string> &result, uint8_t s
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
///
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
-bool PegasusUPB::stepperUpdated(const std::vector<std::string> &result, u_int8_t index)
|
||||
+bool PegasusUPB::stepperUpdated(const std::vector<std::string> &result, uint8_t index)
|
||||
{
|
||||
if (lastStepperData.empty())
|
||||
return true;
|
||||
diff --git a/drivers/auxiliary/pegasus_upb.h b/drivers/auxiliary/pegasus_upb.h
|
||||
index 47546f7453..7b6cae6de9 100644
|
||||
--- a/drivers/auxiliary/pegasus_upb.h
|
||||
+++ b/drivers/auxiliary/pegasus_upb.h
|
||||
@@ -141,7 +141,7 @@ class PegasusUPB : public INDI::DefaultDevice, public INDI::FocuserInterface, pu
|
||||
* If the previous stepper data is empty then this will always
|
||||
* return true.
|
||||
*/
|
||||
- bool stepperUpdated(const std::vector<std::string> &result, u_int8_t index);
|
||||
+ bool stepperUpdated(const std::vector<std::string> &result, uint8_t index);
|
||||
|
||||
int PortFD { -1 };
|
||||
bool setupComplete { false };
|
||||
@@ -40,6 +40,8 @@ DEPEND="${RDEPEND}
|
||||
websocket? ( dev-cpp/websocketpp )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-musl.patch" ) # git master, bug 873403
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINDI_BUILD_QT5_CLIENT=OFF
|
||||
|
||||
Reference in New Issue
Block a user