summaryrefslogtreecommitdiffstats
path: root/dev-util/mutrace
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /dev-util/mutrace
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'dev-util/mutrace')
-rw-r--r--dev-util/mutrace/Manifest4
-rw-r--r--dev-util/mutrace/files/mutrace-ds-compile.patch12
-rw-r--r--dev-util/mutrace/files/mutrace-ds-compile2.patch12
-rw-r--r--dev-util/mutrace/mutrace-0.2-r1.ebuild26
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/mutrace/Manifest b/dev-util/mutrace/Manifest
new file mode 100644
index 0000000..e5e9960
--- /dev/null
+++ b/dev-util/mutrace/Manifest
@@ -0,0 +1,4 @@
+AUX mutrace-ds-compile.patch 502 SHA256 30e0932f32695ab67be398f4d78bc8c5016385a17a65eb6ce99cd2a64f03ddb4 SHA512 d0a9a72b1efff3468876f48b6f802406a3daedcbff0639308c5325250b39d3abd8d4767fbc3bcb5c641923b1acd5a4a613712eff90d5433b343b381c0a4f272b WHIRLPOOL ae2637b91574125b1691a5f12b8b7fe45c8e09f5105edacd057aa31905e7673ea9d3b1449bd976948070861fdf675773c8d285c68f0e43689e5ff90254f6f8e6
+AUX mutrace-ds-compile2.patch 414 SHA256 c6c1c6202f8218adadd35e5e0e57577cdfdd5cf1a63b1e25f1f38d141114f0dc SHA512 798e211cfc9b4139b5758ee9fc0b95ce84c4915a8f2803b62b8163b30635fbe2e669768c951b0bbea94683964d3e3023eb354336e46768cf706fa86e837847b5 WHIRLPOOL d723bfd7c65ae30c03432f718b8aefaa6b408a969053e2d50e8d767ef36e79ced026ed52e0e01cbb327d1b8fab9449d72c23a96aa627805dd722dcf9bd055e99
+DIST mutrace-0.2.tar.gz 358710 SHA256 38eb62b9c86443361b8222d7088a9dc1e8c1db6b2b01b47c4155234d230dbd23 SHA512 237ef478417a19d5967c80d285dcde68ee8ffce40af4967a3b055347272c66a6bbdfb55ed9bf36633fbaccc7c4fd9c2de09b705ab92b74eefc5e7a7170c0c545 WHIRLPOOL df7320740b0716956c1b2efda81c6a236ae4e54a219ff1f7a07ac456f9c7cc646ea678c01ef4f7b40a439d80cc0ee461dfa88da7400312d50a7f22cba5bbb5e5
+EBUILD mutrace-0.2-r1.ebuild 657 SHA256 974b1a08c15739c059b87167281c56bbdacd70188cf9911b78647072825cb695 SHA512 ef00320055b757949b394a6a7f8864ab5be493b6f2ed4b3f669e499efb53facb47266816c264f7c877e756c81baadfb017f6029312f9b9767f0ea180f75ef44a WHIRLPOOL a8eed0b44c1038b73f79f114ccd4d053e08c00b067ee024bb7ad44578b536e398fa9a9b39ef373dbc8bf32c1ff392ea16edc8564afb53dfdbf1395ae013fa1f6
diff --git a/dev-util/mutrace/files/mutrace-ds-compile.patch b/dev-util/mutrace/files/mutrace-ds-compile.patch
new file mode 100644
index 0000000..ada8a9c
--- /dev/null
+++ b/dev-util/mutrace/files/mutrace-ds-compile.patch
@@ -0,0 +1,12 @@
+diff -dPNur mutrace-0.2/backtrace-symbols.c mutrace-0.2-ds/backtrace-symbols.c
+--- mutrace-0.2/backtrace-symbols.c 2014-10-14 11:04:31.732216473 +0200
++++ mutrace-0.2-ds/backtrace-symbols.c 2014-10-14 11:03:18.000000000 +0200
+@@ -34,6 +34,8 @@
+ along with this program; if not, write to the Free Software
+ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
++#include "config.h"
++
+ #define fatal(a, b) exit(1)
+ #define bfd_fatal(a) exit(1)
+ #define bfd_nonfatal(a) exit(1)
diff --git a/dev-util/mutrace/files/mutrace-ds-compile2.patch b/dev-util/mutrace/files/mutrace-ds-compile2.patch
new file mode 100644
index 0000000..81928e9
--- /dev/null
+++ b/dev-util/mutrace/files/mutrace-ds-compile2.patch
@@ -0,0 +1,12 @@
+diff -dPNur mutrace-0.2-orig/backtrace-symbols.c mutrace-0.2/backtrace-symbols.c
+--- mutrace-0.2-orig/backtrace-symbols.c 2017-01-29 16:07:03.588096070 +0100
++++ mutrace-0.2/backtrace-symbols.c 2017-01-29 16:06:01.359944270 +0100
+@@ -52,7 +52,7 @@
+ #include <stdlib.h>
+ #include <execinfo.h>
+ #include <bfd.h>
+-#include <libiberty.h>
++#include <libiberty/libiberty.h>
+ #include <dlfcn.h>
+ #include <link.h>
+ #if 0
diff --git a/dev-util/mutrace/mutrace-0.2-r1.ebuild b/dev-util/mutrace/mutrace-0.2-r1.ebuild
new file mode 100644
index 0000000..30480a4
--- /dev/null
+++ b/dev-util/mutrace/mutrace-0.2-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mutrace/mutrace-0.2.ebuild,v 1.2 2009/11/23 10:05:19 robbat2 Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="mutrace is a mutex tracer/profiler"
+HOMEPAGE="http://0pointer.de/blog/projects/mutrace.html"
+SRC_URI="http://0pointer.de/public/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+IUSE=""
+
+DEPEND="sys-devel/binutils"
+RDEPEND="${DEPEND}"
+
+DOCS="README GPL2 GPL3 LGPL3"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-ds-compile.patch
+ epatch "${FILESDIR}"/${PN}-ds-compile2.patch
+} \ No newline at end of file