summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 19:39:41 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:12:12 +0100
commit8acd236cc94a58eb065001698b608ae2b72629a8 (patch)
tree9523fae77b717826fd912d712e4d4fdb9cc98240 /dev-util/mutrace
parentdev-util/visual-regexp: port to EAPI 7 (diff)
downloadgentoo-8acd236cc94a58eb065001698b608ae2b72629a8.tar.gz
gentoo-8acd236cc94a58eb065001698b608ae2b72629a8.tar.bz2
gentoo-8acd236cc94a58eb065001698b608ae2b72629a8.zip
dev-util/mutrace: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/mutrace')
-rw-r--r--dev-util/mutrace/files/mutrace-0.2-missing-header.patch4
-rw-r--r--dev-util/mutrace/mutrace-0.2-r1.ebuild10
2 files changed, 6 insertions, 8 deletions
diff --git a/dev-util/mutrace/files/mutrace-0.2-missing-header.patch b/dev-util/mutrace/files/mutrace-0.2-missing-header.patch
index aa2c32e79d5e..c8e46b7a0bf1 100644
--- a/dev-util/mutrace/files/mutrace-0.2-missing-header.patch
+++ b/dev-util/mutrace/files/mutrace-0.2-missing-header.patch
@@ -1,5 +1,5 @@
---- backtrace-symbols.c 2009-09-30 00:30:08.000000000 +0300
-+++ backtrace-symbols.c 2013-10-20 19:54:47.273470222 +0300
+--- a/backtrace-symbols.c
++++ b/backtrace-symbols.c
@@ -49,6 +49,7 @@
#include <stdio.h>
#include <stdlib.h>
diff --git a/dev-util/mutrace/mutrace-0.2-r1.ebuild b/dev-util/mutrace/mutrace-0.2-r1.ebuild
index 17c82863709b..19e793f27819 100644
--- a/dev-util/mutrace/mutrace-0.2-r1.ebuild
+++ b/dev-util/mutrace/mutrace-0.2-r1.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit epatch
+EAPI=7
DESCRIPTION="A mutex tracer/profiler"
HOMEPAGE="http://0pointer.de/blog/projects/mutrace.html"
@@ -11,12 +10,11 @@ SRC_URI="http://0pointer.de/public/${P}.tar.gz"
LICENSE="GPL-2 LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
DEPEND="sys-libs/binutils-libs:="
RDEPEND="${DEPEND}"
-src_prepare() {
+PATCHES=(
# Fails to build due to missing header, bug #430706
- epatch "${FILESDIR}"/${PN}-0.2-missing-header.patch
-}
+ "${FILESDIR}"/${PN}-0.2-missing-header.patch
+)