1 |
commit: c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 00:11:29 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 04:17:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4dbd767 |
7 |
|
8 |
app-benchmarks/bonnie: fix build with clang16 |
9 |
|
10 |
Very trivial. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/870559 |
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild | 1 + |
16 |
app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch | 8 ++++++++ |
17 |
2 files changed, 9 insertions(+) |
18 |
|
19 |
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild |
20 |
index 6627f2b54a47..2ab46e265b61 100644 |
21 |
--- a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild |
22 |
+++ b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild |
23 |
@@ -17,6 +17,7 @@ KEYWORDS="~alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86" |
24 |
PATCHES=( |
25 |
"${FILESDIR}"/${P}-includes.patch |
26 |
"${FILESDIR}"/${P}-man.patch |
27 |
+ "${FILESDIR}"/${P}-clang16.patch |
28 |
) |
29 |
|
30 |
src_compile() { |
31 |
|
32 |
diff --git a/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch b/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch |
33 |
new file mode 100644 |
34 |
index 000000000000..d1a3a36fa4f2 |
35 |
--- /dev/null |
36 |
+++ b/app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch |
37 |
@@ -0,0 +1,8 @@ |
38 |
+https://bugs.gentoo.org/870559 |
39 |
+--- a/Bonnie.c |
40 |
++++ b/Bonnie.c |
41 |
+@@ -93,3 +93,3 @@ |
42 |
+ |
43 |
+-main( |
44 |
++int main( |
45 |
+ int argc, |