summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-radio/svxlink/files/svxlink-24.02-musl-2.patch12
-rw-r--r--media-radio/svxlink/svxlink-24.02-r2.ebuild3
2 files changed, 14 insertions, 1 deletions
diff --git a/media-radio/svxlink/files/svxlink-24.02-musl-2.patch b/media-radio/svxlink/files/svxlink-24.02-musl-2.patch
new file mode 100644
index 000000000000..84d88134b809
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink-24.02-musl-2.patch
@@ -0,0 +1,12 @@
+diff --git a/src/svxlink/trx/DtmfDecoderTest.cpp b/src/svxlink/trx/DtmfDecoderTest.cpp
+index 7c298d5..7fe9242 100644
+--- a/src/svxlink/trx/DtmfDecoderTest.cpp
++++ b/src/svxlink/trx/DtmfDecoderTest.cpp
+@@ -2,6 +2,7 @@
+ #include <string>
+ #include <fstream>
+ #include <cstdlib>
++#include <cstdint>
+ #include <cmath>
+
+ #include <AsyncConfig.h>
diff --git a/media-radio/svxlink/svxlink-24.02-r2.ebuild b/media-radio/svxlink/svxlink-24.02-r2.ebuild
index 64d96f379833..8e6eb60979e3 100644
--- a/media-radio/svxlink/svxlink-24.02-r2.ebuild
+++ b/media-radio/svxlink/svxlink-24.02-r2.ebuild
@@ -45,9 +45,10 @@ BDEPEND="
qt5? ( dev-qt/linguist-tools:5 )"
src_prepare() {
- # fix build for MUSL (bug #936813)
+ # fix build for MUSL (bug #936813, #942749)
if use elibc_musl ; then
eapply -p1 "${FILESDIR}/${P}-musl.patch"
+ eapply -p1 "${FILESDIR}/${P}-musl-2.patch"
fi
if ! use ogg ; then
# drop automatic discovery of dependency