x11-misc/xbatt: fix build with clang16

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-09-30 05:10:31 -04:00
parent 3e8c612e4e
commit 8928da1acf
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
https://bugs.gentoo.org/870412
--- a/xbatt.c
+++ b/xbatt.c
@@ -223,3 +223,3 @@
-main(
+int main(
int argc,

View File

@@ -32,6 +32,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.2.1-implicits.patch
"${FILESDIR}"/${PN}-1.2.1-clang16.patch
)
src_configure() {