* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/interbench/, app-benchmarks/interbench/files/
@ 2020-08-27 18:29 Conrad Kostecki
0 siblings, 0 replies; only message in thread
From: Conrad Kostecki @ 2020-08-27 18:29 UTC (permalink / raw
To: gentoo-commits
commit: a19b3c5e7acaa10e6eff2d2d16e519cd79a103d5
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 18:28:47 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 18:28:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19b3c5e
app-benchmarks/interbench: fix compilation with musl
Closes: https://bugs.gentoo.org/715426
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-benchmarks/interbench/files/interbench-0.31-musl.patch | 10 ++++++++++
app-benchmarks/interbench/interbench-0.31.ebuild | 7 +++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/app-benchmarks/interbench/files/interbench-0.31-musl.patch b/app-benchmarks/interbench/files/interbench-0.31-musl.patch
new file mode 100644
index 00000000000..df673be5114
--- /dev/null
+++ b/app-benchmarks/interbench/files/interbench-0.31-musl.patch
@@ -0,0 +1,10 @@
+--- interbench-0.31.orig/interbench.c 2016-10-21 02:28:00.000000000 +0000
++++ interbench-0.31/interbench.c 2020-08-27 16:24:51.521420811 +0000
+@@ -42,6 +42,7 @@
+ #include <sys/utsname.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
++#include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/mman.h>
+ #include <sys/wait.h>
diff --git a/app-benchmarks/interbench/interbench-0.31.ebuild b/app-benchmarks/interbench/interbench-0.31.ebuild
index dfa772bcebb..b77a5a4b118 100644
--- a/app-benchmarks/interbench/interbench-0.31.ebuild
+++ b/app-benchmarks/interbench/interbench-0.31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,10 @@ KEYWORDS="amd64 x86"
LICENSE="GPL-2+"
SLOT="0"
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-makefile.patch"
+ "${FILESDIR}/${P}-musl.patch"
+)
DOCS=(
"readme"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-27 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-27 18:29 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/interbench/, app-benchmarks/interbench/files/ Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox