app-benchmarks/bonnie: fix build with clang16

Very trivial.

Closes: https://bugs.gentoo.org/870559
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-09-28 20:11:29 -04:00
parent 0ab1846b28
commit c4dbd767a4
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86"
PATCHES=(
"${FILESDIR}"/${P}-includes.patch
"${FILESDIR}"/${P}-man.patch
"${FILESDIR}"/${P}-clang16.patch
)
src_compile() {

View File

@@ -0,0 +1,8 @@
https://bugs.gentoo.org/870559
--- a/Bonnie.c
+++ b/Bonnie.c
@@ -93,3 +93,3 @@
-main(
+int main(
int argc,