mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-misc/xbatt: fix build with clang16
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
8
x11-misc/xbatt/files/xbatt-1.2.1-clang16.patch
Normal file
8
x11-misc/xbatt/files/xbatt-1.2.1-clang16.patch
Normal 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,
|
||||
@@ -32,6 +32,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.1-implicits.patch
|
||||
"${FILESDIR}"/${PN}-1.2.1-clang16.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user