From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61C93158089 for ; Mon, 25 Sep 2023 07:05:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7D232BC028; Mon, 25 Sep 2023 07:05:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C68F2BC028 for ; Mon, 25 Sep 2023 07:05:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC2D6335CB9 for ; Mon, 25 Sep 2023 07:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DF2F10AB for ; Mon, 25 Sep 2023 07:05:46 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1695625486.d19d062191044a4501fd5d968426621820540ac8.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/pipebench/files/, app-benchmarks/pipebench/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/pipebench/files/pipebench-0.40-fix-build-clang16.patch app-benchmarks/pipebench/pipebench-0.40-r3.ebuild X-VCS-Directories: app-benchmarks/pipebench/ app-benchmarks/pipebench/files/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d19d062191044a4501fd5d968426621820540ac8 X-VCS-Branch: master Date: Mon, 25 Sep 2023 07:05:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 547f82a8-b7f0-4cdb-b171-50bda94774fb X-Archives-Hash: e033cff53e841d90abb01bda06807789 commit: d19d062191044a4501fd5d968426621820540ac8 Author: Brahmajit Das gmail com> AuthorDate: Wed Sep 6 03:54:04 2023 +0000 Commit: Arthur Zamarin gentoo 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 gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32643 Signed-off-by: Arthur Zamarin 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 + #include ++#include ++#include + #include + #include + #include 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 +}