diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-05 18:27:46 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-09-05 18:28:00 +0200 |
commit | 5e485c4563d46bd0f78da893349959983b0f8cc7 (patch) | |
tree | d8268dd4ded30f89e7d70a9e4e68d1abe9426819 /media-sound/darkice | |
parent | dev-php/igbinary: drop old (diff) | |
download | gentoo-5e485c4563d46bd0f78da893349959983b0f8cc7.tar.gz gentoo-5e485c4563d46bd0f78da893349959983b0f8cc7.tar.bz2 gentoo-5e485c4563d46bd0f78da893349959983b0f8cc7.zip |
media-sound/darkice: fixed compilation
Closes: https://bugs.gentoo.org/681554
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/darkice')
-rw-r--r-- | media-sound/darkice/darkice-1.3.ebuild | 4 | ||||
-rw-r--r-- | media-sound/darkice/darkice-1.4.ebuild | 4 | ||||
-rw-r--r-- | media-sound/darkice/files/darkice-1.3-include.patch | 26 |
3 files changed, 34 insertions, 0 deletions
diff --git a/media-sound/darkice/darkice-1.3.ebuild b/media-sound/darkice/darkice-1.3.ebuild index 630f69949edd..20d7d39cbaf0 100644 --- a/media-sound/darkice/darkice-1.3.ebuild +++ b/media-sound/darkice/darkice-1.3.ebuild @@ -27,6 +27,10 @@ DEPEND="${RDEPEND}" REQUIRED_USE="|| ( aac aacplus mp3 opus twolame vorbis ) || ( alsa jack pulseaudio )" +PATCHES=( + "${FILESDIR}/${P}-include.patch" +) + src_configure() { local myeconfargs=( $(use_enable debug) diff --git a/media-sound/darkice/darkice-1.4.ebuild b/media-sound/darkice/darkice-1.4.ebuild index 0c54f4f70ac0..5a481e157199 100644 --- a/media-sound/darkice/darkice-1.4.ebuild +++ b/media-sound/darkice/darkice-1.4.ebuild @@ -29,6 +29,10 @@ REQUIRED_USE="|| ( aac aacplus mp3 opus twolame vorbis ) DOCS=( AUTHORS ChangeLog FAQ NEWS README TODO ) +PATCHES=( + "${FILESDIR}/${PN}-1.3-include.patch" +) + src_configure() { local myeconfargs=( $(use_enable debug) diff --git a/media-sound/darkice/files/darkice-1.3-include.patch b/media-sound/darkice/files/darkice-1.3-include.patch new file mode 100644 index 000000000000..dd2e135e8782 --- /dev/null +++ b/media-sound/darkice/files/darkice-1.3-include.patch @@ -0,0 +1,26 @@ +diff --git a/src/FaacEncoder.cpp b/src/FaacEncoder.cpp +index 873c560..3f7dc75 100644 +--- a/src/FaacEncoder.cpp ++++ b/src/FaacEncoder.cpp +@@ -36,7 +36,7 @@ + // compile the whole file only if faac support configured in + #ifdef HAVE_FAAC_LIB + +- ++#include <string.h> + + #include "Exception.h" + #include "Util.h" +diff --git a/src/aacPlusEncoder.cpp b/src/aacPlusEncoder.cpp +index 70831b6..1f2ec20 100644 +--- a/src/aacPlusEncoder.cpp ++++ b/src/aacPlusEncoder.cpp +@@ -36,7 +36,7 @@ + // compile the whole file only if aacplus support configured in + #ifdef HAVE_AACPLUS_LIB + +- ++#include <string.h> + + #include "Exception.h" + #include "Util.h" |