mtr: bump to latest git version (newdns branch)

This fixes the musl build issues and the need to specially patch for
uClibc at the same time. Fixes:
http://autobuild.buildroot.net/results/deb/debeb3ded02c3de63182c3433ff02062192d3fd1/

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-05-14 13:25:14 -03:00 committed by Thomas Petazzoni
parent f0d995cafd
commit 0490a09fd7
2 changed files with 3 additions and 11 deletions

2
package/mtr/mtr.hash Normal file
View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 12a6a94c0ec04d508de27eda5f5ba91f50d4b5fe74a98aca0973e2c16a42555a mtr-66de3ecbab28b054b868a73fbb57f30549d770ac.tar.gz

View File

@ -4,7 +4,7 @@
#
################################################################################
MTR_VERSION = v0.86
MTR_VERSION = 66de3ecbab28b054b868a73fbb57f30549d770ac
MTR_SITE = $(call github,traviscross,mtr,$(MTR_VERSION))
MTR_AUTORECONF = YES
MTR_CONF_OPTS = --without-gtk
@ -12,14 +12,4 @@ MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses)
MTR_LICENSE = GPLv2
MTR_LICENSE_FILES = COPYING
# uClibc has res_ninit but not res_nmkquery
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
define MTR_DISABLE_RES_NINIT
$(SED) 's/#ifdef res_ninit/#if 0/' \
$(@D)/dns.c
endef
endif
MTR_POST_PATCH_HOOKS += MTR_DISABLE_RES_NINIT
$(eval $(autotools-package))