[packages] mtr: update to 0.82, refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29737 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2012-01-13 22:11:46 +00:00
parent 2adcd4a523
commit f4fdbc1615
3 changed files with 8 additions and 10 deletions

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mtr
PKG_VERSION:=0.81
PKG_VERSION:=0.82
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr
PKG_MD5SUM:=b7a7914f1fc1b5a21ab10bdca44356e1
PKG_MD5SUM:=10601ea543fda3e51545c4bce195b64c
PKG_INSTALL:=1

View File

@ -8,8 +8,8 @@
- AC_CHECK_LIB(bind, res_mkquery, ,
- AC_CHECK_LIB(resolv, res_mkquery, ,
- AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
+#AC_CHECK_FUNC(res_mkquery, ,
+# AC_CHECK_LIB(bind, res_mkquery, ,
+#AC_CHECK_FUNC(res_mkquery, ,
+# AC_CHECK_LIB(bind, res_mkquery, ,
+# AC_CHECK_LIB(resolv, res_mkquery, ,
+# AC_CHECK_LIB(resolv, __res_mkquery, , AC_MSG_ERROR(No resolver library found)))))
# This next line would override the just detected-or-not -lresolv.

View File

@ -11,9 +11,6 @@
- AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
- GTK_OBJ="")
-else
- AC_DEFINE(NO_GTK)
- GTK_OBJ=""
-fi
+#if test "x$WANTS_GTK" = "xyes"; then
+# AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
+# LIBS="$LIBS $GTK_LIBS -lm",
@ -21,8 +18,9 @@
+# AC_DEFINE(NO_GTK, 1, [Define if you don't have the GTK+ libraries available.])
+# GTK_OBJ="")
+#else
+ AC_DEFINE(NO_GTK)
+ GTK_OBJ=""
AC_DEFINE(NO_GTK)
GTK_OBJ=""
-fi
+#fi
AC_CHECK_FUNC(socket, ,