diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-28 20:11:29 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-29 00:17:53 -0400 |
commit | c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c (patch) | |
tree | 97a15ecf6556cf0b991818fd37129d3a31ffe035 /app-benchmarks | |
parent | app-benchmarks/bonnie: EAPI6->8, use https, tidy patches (diff) | |
download | gentoo-c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c.tar.gz gentoo-c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c.tar.bz2 gentoo-c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c.zip |
app-benchmarks/bonnie: fix build with clang16
Very trivial.
Closes: https://bugs.gentoo.org/870559
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild | 1 | ||||
-rw-r--r-- | app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild index 6627f2b54a47..2ab46e265b61 100644 --- a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild +++ b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild @@ -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() { diff --git a/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch b/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch new file mode 100644 index 000000000000..d1a3a36fa4f2 --- /dev/null +++ b/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/870559 +--- a/Bonnie.c ++++ b/Bonnie.c +@@ -93,3 +93,3 @@ + +-main( ++int main( + int argc, |