summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-07 19:50:55 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-07 20:09:15 -0400
commitaf43083f658d713aa6bb41459cf60ffa208d3dd6 (patch)
tree8702d0b53f775f48d4fd6ecab162e81331fd5e37 /media-sound/cvoicecontrol
parentmedia-sound/cvoicecontrol: EAPI7->8, fix license, depend on ncurses (diff)
downloadgentoo-af43083f658d713aa6bb41459cf60ffa208d3dd6.tar.gz
gentoo-af43083f658d713aa6bb41459cf60ffa208d3dd6.tar.bz2
gentoo-af43083f658d713aa6bb41459cf60ffa208d3dd6.zip
media-sound/cvoicecontrol: fix build with upcoming clang16
Closes: https://bugs.gentoo.org/871159 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound/cvoicecontrol')
-rw-r--r--media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r2.ebuild1
-rw-r--r--media-sound/cvoicecontrol/files/cvoicecontrol-0.9_alpha-clang16.patch7
2 files changed, 8 insertions, 0 deletions
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();