commit: af43083f658d713aa6bb41459cf60ffa208d3dd6 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Oct 7 23:50:55 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Oct 8 00:09:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af43083f
media-sound/cvoicecontrol: fix build with upcoming clang16 Closes: https://bugs.gentoo.org/871159 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild | 1 + .../cvoicecontrol/files/cvoicecontrol-0.9_alpha-clang16.patch | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild index 48c65aca5fcb..ce4f80a57ce1 100644 --- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild +++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild @@ -24,6 +24,7 @@ PATCHES=( "${FILESDIR}"/${P}-tinfo.patch #64716 # Handle documentation with HTML_DOCS instead "${FILESDIR}"/${P}-automake.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { diff --git a/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-clang16.patch b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-clang16.patch new file mode 100644 index 000000000000..c6dce9df0bc6 --- /dev/null +++ b/media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-clang16.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/871159 +--- a/cvoicecontrol/mixer.h ++++ b/cvoicecontrol/mixer.h +@@ -29,2 +29,3 @@ + int mixerOK(); ++int mixerHasIGain(); + const char *getMixer();
