1 |
commit: a19b3c5e7acaa10e6eff2d2d16e519cd79a103d5 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 18:28:47 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 18:28:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19b3c5e |
7 |
|
8 |
app-benchmarks/interbench: fix compilation with musl |
9 |
|
10 |
Closes: https://bugs.gentoo.org/715426 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
app-benchmarks/interbench/files/interbench-0.31-musl.patch | 10 ++++++++++ |
15 |
app-benchmarks/interbench/interbench-0.31.ebuild | 7 +++++-- |
16 |
2 files changed, 15 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/app-benchmarks/interbench/files/interbench-0.31-musl.patch b/app-benchmarks/interbench/files/interbench-0.31-musl.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..df673be5114 |
21 |
--- /dev/null |
22 |
+++ b/app-benchmarks/interbench/files/interbench-0.31-musl.patch |
23 |
@@ -0,0 +1,10 @@ |
24 |
+--- interbench-0.31.orig/interbench.c 2016-10-21 02:28:00.000000000 +0000 |
25 |
++++ interbench-0.31/interbench.c 2020-08-27 16:24:51.521420811 +0000 |
26 |
+@@ -42,6 +42,7 @@ |
27 |
+ #include <sys/utsname.h> |
28 |
+ #include <sys/time.h> |
29 |
+ #include <sys/resource.h> |
30 |
++#include <sys/stat.h> |
31 |
+ #include <sys/types.h> |
32 |
+ #include <sys/mman.h> |
33 |
+ #include <sys/wait.h> |
34 |
|
35 |
diff --git a/app-benchmarks/interbench/interbench-0.31.ebuild b/app-benchmarks/interbench/interbench-0.31.ebuild |
36 |
index dfa772bcebb..b77a5a4b118 100644 |
37 |
--- a/app-benchmarks/interbench/interbench-0.31.ebuild |
38 |
+++ b/app-benchmarks/interbench/interbench-0.31.ebuild |
39 |
@@ -1,4 +1,4 @@ |
40 |
-# Copyright 1999-2019 Gentoo Authors |
41 |
+# Copyright 1999-2020 Gentoo Authors |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
EAPI=7 |
45 |
@@ -13,7 +13,10 @@ KEYWORDS="amd64 x86" |
46 |
LICENSE="GPL-2+" |
47 |
SLOT="0" |
48 |
|
49 |
-PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}/${P}-makefile.patch" |
52 |
+ "${FILESDIR}/${P}-musl.patch" |
53 |
+) |
54 |
|
55 |
DOCS=( |
56 |
"readme" |