summaryrefslogtreecommitdiffstats
path: root/package/ltrace/ltrace.mk
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2014-07-24 23:59:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-27 16:05:49 +0200
commitefee851c614926dd9ed0f49c4808a6d9b4f64eb0 (patch)
treeb57f14d1698a125728b6ee4bd18b93c3f9d84719 /package/ltrace/ltrace.mk
parente5d4b2515d0599bb6342130f04218dc6ca2cd6c1 (diff)
downloadbuildroot-efee851c614926dd9ed0f49c4808a6d9b4f64eb0.tar.gz
buildroot-efee851c614926dd9ed0f49c4808a6d9b4f64eb0.zip
ltrace: use current master
ltrace 0.7.3 is the latest release but it is actually broken on ARM since PTRACE_SINGLESTEP emulation has been removed, see: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=425fc47adb5bb69f76285be77a09a3341a30799e It fails with: PTRACE_SINGLESTEP: Input/output error Using master solves that until a new release is made. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ltrace/ltrace.mk')
-rw-r--r--package/ltrace/ltrace.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index 99c1af64b6..0a3a90c344 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -4,13 +4,18 @@
#
################################################################################
-LTRACE_VERSION = 0.7.3
-LTRACE_SITE = http://sources.buildroot.net/
-LTRACE_SOURCE = ltrace-$(LTRACE_VERSION).tar.bz2
-LTRACE_DEPENDENCIES = libelf
+LTRACE_VERSION = 0896ce554f80afdcba81d9754f6104f863dea803
+LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
+LTRACE_DEPENDENCIES = libelf elfutils
LTRACE_CONF_OPT = --disable-werror
LTRACE_LICENSE = GPLv2
LTRACE_LICENSE_FILES = COPYING
+LTRACE_AUTORECONF = YES
+
+define LTRACE_CREATE_CONFIG_M4
+ mkdir -p $(@D)/config/m4
+endef
+LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
# ltrace can use libunwind only if libc has backtrace() support
# We don't normally do so for uClibc and we can't know if it's external
OpenPOWER on IntegriCloud