* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/pipebench/files/, app-benchmarks/pipebench/
@ 2023-09-25 7:05 Arthur Zamarin
0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2023-09-25 7:05 UTC (permalink / raw
To: gentoo-commits
commit: d19d062191044a4501fd5d968426621820540ac8
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Wed Sep 6 03:54:04 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 07:04:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19d0621
app-benchmarks/pipebench: Fix call to undeclared function atoi
Closes: https://bugs.gentoo.org/894336
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32643
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.../files/pipebench-0.40-fix-build-clang16.patch | 12 +++++++++++
app-benchmarks/pipebench/pipebench-0.40-r3.ebuild | 24 ++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch b/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch
new file mode 100644
index 000000000000..1cc891bd7f08
--- /dev/null
+++ b/app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/894336
+--- a/pipebench.c
++++ b/pipebench.c
+@@ -28,6 +28,8 @@
+ */
+ #include <stdio.h>
+ #include <unistd.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include <signal.h>
+ #include <sys/time.h>
diff --git a/app-benchmarks/pipebench/pipebench-0.40-r3.ebuild b/app-benchmarks/pipebench/pipebench-0.40-r3.ebuild
new file mode 100644
index 000000000000..39367bba594d
--- /dev/null
+++ b/app-benchmarks/pipebench/pipebench-0.40-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Measures the speed of stdin/stdout communication"
+HOMEPAGE="https://www.habets.pp.se/synscan/programs_pipebench.html"
+SRC_URI="https://www.habets.pp.se/synscan/files/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-linux"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.40-fix-build-system.patch
+ "${FILESDIR}"/${PN}-0.40-fix-build-clang16.patch
+)
+
+src_configure() {
+ append-cflags -Wall -w -pedantic
+ tc-export CC
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-25 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 7:05 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/pipebench/files/, app-benchmarks/pipebench/ Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox