diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-02-12 01:19:24 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-02-12 01:20:28 -0800 |
commit | fd5ea45c61304e9fb672811770f045a57a92b8fc (patch) | |
tree | 4fc871f14b5da4243dd51d3d4ddca615fdd0721c /media-libs/libtgvoip | |
parent | www-client/vivaldi: Version 2.11.1811.33_p1 (diff) | |
download | gentoo-fd5ea45c61304e9fb672811770f045a57a92b8fc.tar.gz gentoo-fd5ea45c61304e9fb672811770f045a57a92b8fc.tar.bz2 gentoo-fd5ea45c61304e9fb672811770f045a57a92b8fc.zip |
media-libs/libtgvoip: fix build on musl
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs/libtgvoip')
-rw-r--r-- | media-libs/libtgvoip/files/musl.patch | 10 | ||||
-rw-r--r-- | media-libs/libtgvoip/libtgvoip-2.4.4_p20200123.ebuild | 5 |
2 files changed, 14 insertions, 1 deletions
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 <dlfcn.h> ++#include <libgen.h> + #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 |