summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2024-11-26 16:31:29 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2024-11-26 16:31:49 +0100
commitf0389e9819dd73c138191584e1ff2e7d7b671b33 (patch)
tree9b94a7785bb215158b12eab6c5fda912ae4f8dbe /media-radio
parentmedia-gfx/freecad: updated failing patch for live (diff)
downloadgentoo-f0389e9819dd73c138191584e1ff2e7d7b671b33.tar.gz
gentoo-f0389e9819dd73c138191584e1ff2e7d7b671b33.tar.bz2
gentoo-f0389e9819dd73c138191584e1ff2e7d7b671b33.zip
media-radio/svxlink: Fix missing include file
Closes: https://bugs.gentoo.org/942749 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio')
-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