From fd5ea45c61304e9fb672811770f045a57a92b8fc Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 12 Feb 2020 01:19:24 -0800 Subject: [PATCH] media-libs/libtgvoip: fix build on musl Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- media-libs/libtgvoip/files/musl.patch | 10 ++++++++++ media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 media-libs/libtgvoip/files/musl.patch diff --git a/media-libs/libtgvoip/files/musl.patch b/media-libs/libtgvoip/files/musl.patch new file mode 100644 index 000000000000..ba6bb048a64f --- /dev/null +++ b/media-libs/libtgvoip/files/musl.patch @@ -0,0 +1,10 @@ +--- libtgvoip/os/linux/AudioPulse.cpp 2020-01-21 12:16:27.000000000 +0000 ++++ libtgvoip/os/linux/AudioPulse.cpp 2020-01-22 17:44:42.185530350 +0000 +@@ -6,6 +6,7 @@ + + #include "AudioPulse.h" + #include ++#include + #include "../../logging.h" + + #define DECLARE_DL_FUNCTION(name) typeof(name)* AudioPulse::_import_##name=NULL diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild index 4556d115fcc7..7962785e6db0 100644 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild @@ -30,7 +30,10 @@ REQUIRED_USE="|| ( alsa pulseaudio )" S="${WORKDIR}/${PN}-${EGIT_COMMIT}" -PATCHES=( "${FILESDIR}/2.4.4-pulseaudio.patch" ) +PATCHES=( + "${FILESDIR}/2.4.4-pulseaudio.patch" + "${FILESDIR}/musl.patch" +) src_prepare() { default -- 2.26.2