mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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() {
|
||||
|
||||
8
app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch
Normal file
8
app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch
Normal 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,
|
||||
Reference in New Issue
Block a user