public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/indilib/, sci-libs/indilib/files/
Date: Mon, 31 Jul 2023 16:26:19 +0000 (UTC)	[thread overview]
Message-ID: <1690820758.5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd.asturm@gentoo> (raw)

commit:     5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 31 16:25:41 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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 <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 };

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


             reply	other threads:[~2023-07-31 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31 16:26 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-25 17:04 [gentoo-commits] repo/gentoo:master commit in: sci-libs/indilib/, sci-libs/indilib/files/ Andreas Sturmlechner
2022-05-26 14:36 Andreas Sturmlechner
2022-02-06  9:12 Sam James
2021-07-14 13:44 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690820758.5fe9b7a2fcbef952d86aa0bdafecdc2a734ed3fd.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox