public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bonnie/, app-benchmarks/bonnie/files/
Date: Thu, 29 Sep 2022 04:27:59 +0000 (UTC)	[thread overview]
Message-ID: <1664425073.c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c.ionen@gentoo> (raw)

commit:     c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 00:11:29 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 04:17:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4dbd767

app-benchmarks/bonnie: fix build with clang16

Very trivial.

Closes: https://bugs.gentoo.org/870559
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild           | 1 +
 app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch | 8 ++++++++
 2 files changed, 9 insertions(+)

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,


             reply	other threads:[~2022-09-29  4:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-29  4:27 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-28 12:50 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bonnie/, app-benchmarks/bonnie/files/ David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664425073.c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox