Changeset 22280


Ignore:
Timestamp:
2010-07-18T19:13:32+02:00 (7 years ago)
Author:
swalker
Message:

[packages] mtr: update to 0.80

Location:
packages/net/mtr
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/mtr/Makefile

    r22014 r22280  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=mtr 
    11 PKG_VERSION:=0.79 
     11PKG_VERSION:=0.80 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr/ 
    16 PKG_MD5SUM:=f7c1f873e68e7176f60ae9fbb2ca20f4 
     15PKG_SOURCE_URL:=ftp://ftp.bitwizard.nl/mtr 
     16PKG_MD5SUM:=fa68528eaec1757f52bacf9fea8c68a9 
    1717 
    1818PKG_INSTALL:=1 
     
    3939endef 
    4040 
     41CONFIGURE_ARGS += \ 
     42        --without-gtk \ 
     43 
     44CONFIGURE_VARS += \ 
     45        ac_cv_lib_resolv_res_mkquery=yes \ 
     46 
    4147define Build/Configure 
    4248        (cd $(PKG_BUILD_DIR); touch \ 
     
    4955                configure \ 
    5056        ); 
    51         $(call Build/Configure/Default, \ 
    52                 --without-gtk \ 
    53                 , \ 
    54                 ac_cv_lib_resolv_res_mkquery=yes \ 
    55         ) 
     57        $(call Build/Configure/Default) 
    5658endef 
    5759 
  • packages/net/mtr/patches/501-dns.patch

    r16553 r22280  
    11--- a/dns.c 
    22+++ b/dns.c 
    3 @@ -869,6 +869,507 @@ void restell(char *s) 
     3@@ -880,6 +880,507 @@ void restell(char *s) 
    44   fputs("\r",stderr); 
    55 } 
  • packages/net/mtr/patches/502-fix-res_ninit.patch

    r22014 r22280  
    66  
    77-#ifdef res_ninit 
    8 -#define RES_INIT() res_ninit(&myres); 
     8-#define MY_RES_INIT() res_ninit(&myres); 
    99-#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    1010-    res_nmkquery(&myres, a, b, c, d, e, f, g, h, i) 
     
    1212-#else 
    1313+//#ifdef res_ninit 
    14 +//#define RES_INIT() res_ninit(&myres); 
     14+//#define MY_RES_INIT() res_ninit(&myres); 
    1515+//#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    1616+//    res_nmkquery(&myres, a, b, c, d, e, f, g, h, i) 
    1717+//struct __res_state myres; 
    1818+//#else 
    19  #define RES_INIT() res_init(); 
     19 #define MY_RES_INIT() res_init(); 
    2020 #define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \ 
    2121     res_mkquery(a, b, c, d, e, f, g, h, i) 
Note: See TracChangeset for help on using the changeset viewer.