From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5965B15800A for ; Mon, 31 Jul 2023 16:26:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CEB9E0D16; Mon, 31 Jul 2023 16:26:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72904E0D16 for ; Mon, 31 Jul 2023 16:26:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79AE8335CD3 for ; Mon, 31 Jul 2023 16:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE44CBEE for ; Mon, 31 Jul 2023 16:26:19 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1690820758.5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/indilib/, sci-libs/indilib/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/indilib/files/indilib-2.0.2-musl.patch sci-libs/indilib/indilib-2.0.2.ebuild X-VCS-Directories: sci-libs/indilib/files/ sci-libs/indilib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd X-VCS-Branch: master Date: Mon, 31 Jul 2023 16:26:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 538737d8-24a1-433f-b3ad-88b01293c4fb X-Archives-Hash: 46cf243d960087daf20fe804dcabce01 commit: 5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jul 31 16:25:41 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jul 31 16:25:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe9b7a2 sci-libs/indilib: Fix musl build Closes: https://bugs.gentoo.org/873403 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/indilib/files/indilib-2.0.2-musl.patch | 37 +++++++++++++++++++++++++ sci-libs/indilib/indilib-2.0.2.ebuild | 2 ++ 2 files changed, 39 insertions(+) diff --git a/sci-libs/indilib/files/indilib-2.0.2-musl.patch b/sci-libs/indilib/files/indilib-2.0.2-musl.patch new file mode 100644 index 000000000000..5e906bdef748 --- /dev/null +++ b/sci-libs/indilib/files/indilib-2.0.2-musl.patch @@ -0,0 +1,37 @@ +From 2e95bc3a8487912c3edc5d83e00557d20335ba3e Mon Sep 17 00:00:00 2001 +From: Sam James +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 &result, uint8_t s + ////////////////////////////////////////////////////////////////////// + /// + ////////////////////////////////////////////////////////////////////// +-bool PegasusUPB::stepperUpdated(const std::vector &result, u_int8_t index) ++bool PegasusUPB::stepperUpdated(const std::vector &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 &result, u_int8_t index); ++ bool stepperUpdated(const std::vector &result, uint8_t index); + + int PortFD { -1 }; + bool setupComplete { false }; diff --git a/sci-libs/indilib/indilib-2.0.2.ebuild b/sci-libs/indilib/indilib-2.0.2.ebuild index d7542c61a1ac..64fd177a06a1 100644 --- a/sci-libs/indilib/indilib-2.0.2.ebuild +++ b/sci-libs/indilib/indilib-2.0.2.ebuild @@ -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