SOURCES: mtr-resolv.patch - update for 0.73

arekm arekm at pld-linux.org
Wed Jun 25 09:07:48 CEST 2008


Author: arekm                        Date: Wed Jun 25 07:07:48 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update for 0.73

---- Files affected:
SOURCES:
   mtr-resolv.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/mtr-resolv.patch
diff -u SOURCES/mtr-resolv.patch:1.5 SOURCES/mtr-resolv.patch:1.6
--- SOURCES/mtr-resolv.patch:1.5	Sat Mar 25 16:09:16 2006
+++ SOURCES/mtr-resolv.patch	Wed Jun 25 09:07:41 2008
@@ -1,6 +1,6 @@
 --- mtr-0.71/configure.in.orig	2006-03-24 07:37:17.000000000 +0100
 +++ mtr-0.71/configure.in	2006-03-25 16:00:03.264992250 +0100
-@@ -85,11 +85,11 @@
+@@ -85,10 +85,11 @@
  AC_CHECK_FUNCS(seteuid)
  #  AC_CHECK_FUNC(setuid, , AC_MSG_ERROR (I Need either seteuid or setuid))
  
@@ -8,12 +8,11 @@
 -  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)))))
--LIBS="$LIBS -lresolv"
 +AC_CHECK_FUNC(res_mkquery, ,[
 + AC_CHECK_FUNC(__res_mkquery, ,[
 +  AC_CHECK_LIB(resolv, res_mkquery, ,[
 +   AC_CHECK_LIB(resolv, __res_mkquery, ,[
 +     AC_CHECK_LIB(bind, res_mkquery, , [AC_MSG_ERROR(No resolver library found)])])])])])
- 
- AC_CHECK_FUNC(herror, , AC_DEFINE(NO_HERROR))
- AC_CHECK_FUNC(strerror, , AC_DEFINE(NO_STRERROR))
+ # This next line would override the just detected-or-not -lresolv. 
+ # This apparently hurts BSD. And it's bad practise. So it should go. 
+ # However, it probably didn't get added for nothing..... Holler if
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/mtr-resolv.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list