diff options
author | billf <billf@FreeBSD.org> | 2001-03-13 06:06:03 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2001-03-13 06:06:03 +0800 |
commit | 3a8a6d7d5badedc884c63a6b8c6de7daea73dae2 (patch) | |
tree | bffbae09289bb85712d6c89b1434b2516c2f3430 /net/mtr | |
parent | 3547cc4029629061244b4efb51a3e87860fe30de (diff) | |
download | freebsd-ports-gnome-3a8a6d7d5badedc884c63a6b8c6de7daea73dae2.tar.gz freebsd-ports-gnome-3a8a6d7d5badedc884c63a6b8c6de7daea73dae2.tar.zst freebsd-ports-gnome-3a8a6d7d5badedc884c63a6b8c6de7daea73dae2.zip |
patch around broken kame patch. <sys/types.h> is a prerequesite for the
inet(3) includes...
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/files/patch-04 | 24 | ||||
-rw-r--r-- | net/mtr/files/patch-05 | 10 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net/mtr/files/patch-04 b/net/mtr/files/patch-04 new file mode 100644 index 000000000000..4bc477a2f509 --- /dev/null +++ b/net/mtr/files/patch-04 @@ -0,0 +1,24 @@ +--- curses.c~ Sat Mar 10 17:04:01 2001 ++++ curses.c Sat Mar 10 17:04:39 2001 +@@ -22,6 +22,7 @@ + #ifndef NO_CURSES + #include <ctype.h> + #include <stdlib.h> ++#include <sys/types.h> + #include <netdb.h> + #include <sys/socket.h> + +@@ -35,13 +36,6 @@ + # include <cursesX.h> + #else + # error No curses header file available +-#endif +- +-#if defined(HAVE_SYS_TYPES_H) +-#include <sys/types.h> +-#else +-/* If a system doesn't have sys/types.h, lets hope that time_t is an int */ +-#define time_t int + #endif + + #ifndef HAVE_ATTRON diff --git a/net/mtr/files/patch-05 b/net/mtr/files/patch-05 new file mode 100644 index 000000000000..51012ba49931 --- /dev/null +++ b/net/mtr/files/patch-05 @@ -0,0 +1,10 @@ +--- split.c~ Sat Mar 10 17:04:01 2001 ++++ split.c Sat Mar 10 17:04:11 2001 +@@ -24,6 +24,7 @@ + #include <ctype.h> + #include <stdlib.h> + #include <stdio.h> ++#include <sys/types.h> + #include <netdb.h> + #include <sys/socket.h> + #include <netinet/in.h> |