]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
mtr v0.79 v0.79
authorRoger Wolff <r.e.wolff@bitwizard.nl>
Tue, 8 Jun 2010 00:00:00 +0000 (00:00 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 3 Feb 2013 20:45:38 +0000 (20:45 +0000)
 - some compilation fixes for BSD&others by Thomas Klausner
   <wiz@NetBSD.org>

source: ftp://ftp.bitwizard.nl/mtr/mtr-0.79.tar.gz

AUTHORS
NEWS
configure.in

diff --git a/AUTHORS b/AUTHORS
index 18d452c7ae174a5ccd32b37d804f3500a585ccf8..19ad59404899559f85679d6b5418fb9933f9506b 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -50,6 +50,7 @@
         Bill Bogstad (bogstad@pobox.com) 
         Marc Bejarano (marc.bejarano@openwave.com)
         Moritz Barsnick (barsnick@gmx.net)
+        Thomas Klausner <wiz@NetBSD.org>
 
         and anyone who has slipped through the cracks of my mail file.
 
diff --git a/NEWS b/NEWS
index c52d86693cd9af8c2fd0af681c4b943765241509..caacb874bd0845d43c8d53879f1d228eaff0f07b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
 WHAT'S NEW?
+  V0.78/0.79 some compilation fixes for BSD&others by 
+        Thomas Klausner <wiz@NetBSD.org>
   V0.76 display load sharing hosts in --raw output. 
         added about button in gui. 
   v0.75 Feelgood patch to move sprintf to snprintf. People might think
index 65ca7e525e0138e39efce25504f4e0a31e7c314b..d9d29b533aa12d09bf9add76f3e7503244dde7b4 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(mtr.c)
-AM_INIT_AUTOMAKE(mtr, 0.78)
+AM_INIT_AUTOMAKE(mtr, 0.79)
 
 
 AC_SUBST(GTK_OBJ)
@@ -16,7 +16,7 @@ AC_CHECK_SIZEOF(unsigned int, 4)
 AC_CHECK_SIZEOF(unsigned long, 4)
 
 AC_CHECK_HEADERS(ncurses.h ncurses/curses.h curses.h cursesX.h sys/types.h fcntl.h)
-AC_CHECK_HEADERS(sys/xti.h)
+AC_CHECK_HEADERS(socket.h sys/socket.h sys/xti.h)
 
 # Some doc I found somewhere. :-) -- REW
 # - Macro: AC_CHECK_FUNC (FUNCTION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
@@ -97,6 +97,12 @@ AC_CHECK_DECLS(errno, , , [[
 
 AC_CHECK_TYPE(socklen_t, AC_DEFINE([HAVE_SOCKLEN_T], [], [Define if your system has socklen_t]) , , [[
 #include <netinet/in.h>
+#ifdef HAVE_SOCKET_H
+#include <socket.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
 ]])
 
 AC_CHECK_TYPE(struct in_addr, AC_DEFINE([HAVE_STRUCT_INADDR], [], [Define if you have struct in_addr]), , [[