Skip to content

Commit

Permalink
app-benchmarks/interbench: fix compilation with musl
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/715426
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed Aug 27, 2020
1 parent 3e154e2 commit a19b3c5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions app-benchmarks/interbench/files/interbench-0.31-musl.patch
Original file line number Diff line number Diff line change
@@ -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>
7 changes: 5 additions & 2 deletions app-benchmarks/interbench/interbench-0.31.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down

0 comments on commit a19b3c5

Please sign in to comment.