* [gentoo-commits] repo/gentoo:master commit in: media-sound/darkice/, media-sound/darkice/files/
@ 2020-09-05 16:28 Miroslav Šulc
0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2020-09-05 16:28 UTC (permalink / raw
To: gentoo-commits
commit: 5e485c4563d46bd0f78da893349959983b0f8cc7
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 16:27:46 2020 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 16:28:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e485c45
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 <AT> gentoo.org>
media-sound/darkice/darkice-1.3.ebuild | 4 ++++
media-sound/darkice/darkice-1.4.ebuild | 4 ++++
.../darkice/files/darkice-1.3-include.patch | 26 ++++++++++++++++++++++
3 files changed, 34 insertions(+)
diff --git a/media-sound/darkice/darkice-1.3.ebuild b/media-sound/darkice/darkice-1.3.ebuild
index 630f69949ed..20d7d39cbaf 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 0c54f4f70ac..5a481e15719 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 00000000000..dd2e135e878
--- /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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-05 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05 16:28 [gentoo-commits] repo/gentoo:master commit in: media-sound/darkice/, media-sound/darkice/files/ Miroslav Šulc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox