Charles Lepple wrote:

> Can't test against 10.5 here, though. Anyone else?

It seems that the getaddrinfo function has changed in 10.5, see for 
example this discussion:
<http://trac.macports.org/ticket/15528>

The following patch fixes the problem for me:

--- mtr-0.72/mtr.c~     2006-09-29 21:38:49.000000000 +0200
+++ mtr-0.72/mtr.c      2008-06-19 21:56:05.000000000 +0200
@@ -384,7 +384,7 @@
    bzero( &hints, sizeof hints );
    hints.ai_family = af;
    hints.ai_socktype = SOCK_DGRAM;
-  error = getaddrinfo( Hostname, "0", &hints, &res );
+  error = getaddrinfo( Hostname, NULL, &hints, &res );
    if ( error ) {
      perror( gai_strerror(error) );
      exit( EXIT_FAILURE );

-- 
Martin





-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to