diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-10-13 14:11:31 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-10-13 14:11:31 +0000 |
commit | 5403f7761fa32166a5273796afb0a0935dcbc5ef (patch) | |
tree | dc9366a4c53410dcf469bc50d867505b01c46be7 /net/netdude/files | |
parent | 803aa91504645cae858cb25dd16a1d8d28f82676 (diff) | |
download | FreeBSD-ports-5403f7761fa32166a5273796afb0a0935dcbc5ef.zip FreeBSD-ports-5403f7761fa32166a5273796afb0a0935dcbc5ef.tar.gz |
add netdude 0.3.1
NETwork DUmp data Displayer and Editor for tcpdump tracefiles
Diffstat (limited to 'net/netdude/files')
-rw-r--r-- | net/netdude/files/patch-Makfile.in | 11 | ||||
-rw-r--r-- | net/netdude/files/patch-configure | 20 | ||||
-rw-r--r-- | net/netdude/files/patch-nd.h | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_arp.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_arp.h | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_ether.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_ether_callbacks.c | 28 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_fddi.h | 11 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_fddi_callbacks.c | 29 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_icmp.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_icmp.h | 49 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_icmp_callbacks.c | 179 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_ip.c | 11 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_ip_callbacks.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_misc.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_misc.h | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_snap.c | 10 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_tcb.c | 19 | ||||
-rw-r--r-- | net/netdude/files/patch-nd_udp.c | 13 | ||||
-rw-r--r-- | net/netdude/files/patch-src::Makefile.in | 19 |
20 files changed, 479 insertions, 0 deletions
diff --git a/net/netdude/files/patch-Makfile.in b/net/netdude/files/patch-Makfile.in new file mode 100644 index 0000000..fafa3cf --- /dev/null +++ b/net/netdude/files/patch-Makfile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Oct 11 23:49:30 2002 ++++ Makefile.in Fri Oct 11 23:49:41 2002 +@@ -106,7 +106,7 @@ + install_sh = @install_sh@ + td = @td@ + +-SUBDIRS = libltdl src plugins protocols intl po pixmaps doc ++SUBDIRS = src plugins protocols intl po pixmaps doc + + MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ + config.h.in config.sub configure install-sh \ diff --git a/net/netdude/files/patch-configure b/net/netdude/files/patch-configure new file mode 100644 index 0000000..ac3f42a --- /dev/null +++ b/net/netdude/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig Fri Oct 11 23:43:36 2002 ++++ configure Fri Oct 11 23:44:16 2002 +@@ -418,7 +418,7 @@ + PACKAGE_BUGREPORT= + + ac_unique_file="src/nd.h" +-ac_subdirs_all="$ac_subdirs_all libltdl" ++ac_subdirs_all="$ac_subdirs_all" + # Factoring default headers for most tests. + ac_includes_default="\ + #include <stdio.h> +@@ -2634,7 +2634,7 @@ + + + +-subdirs="$subdirs libltdl" ++subdirs="$subdirs" + + + diff --git a/net/netdude/files/patch-nd.h b/net/netdude/files/patch-nd.h new file mode 100644 index 0000000..9d7931c --- /dev/null +++ b/net/netdude/files/patch-nd.h @@ -0,0 +1,10 @@ +--- src/nd.h.orig Sat Oct 12 00:03:36 2002 ++++ src/nd.h Sat Oct 12 00:03:59 2002 +@@ -31,6 +31,7 @@ + #ifdef LINUX + #define __FAVOR_BSD + #endif ++#include <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/in.h> + diff --git a/net/netdude/files/patch-nd_arp.c b/net/netdude/files/patch-nd_arp.c new file mode 100644 index 0000000..d927d6c --- /dev/null +++ b/net/netdude/files/patch-nd_arp.c @@ -0,0 +1,10 @@ +--- protocols/arp/nd_arp.c.orig Sat Oct 12 00:15:36 2002 ++++ protocols/arp/nd_arp.c Sat Oct 12 00:15:47 2002 +@@ -23,6 +23,7 @@ + + */ + ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> diff --git a/net/netdude/files/patch-nd_arp.h b/net/netdude/files/patch-nd_arp.h new file mode 100644 index 0000000..4c5c4f2 --- /dev/null +++ b/net/netdude/files/patch-nd_arp.h @@ -0,0 +1,10 @@ +--- protocols/arp/nd_arp.h.orig Sat Oct 12 00:17:24 2002 ++++ protocols/arp/nd_arp.h Sat Oct 12 00:17:38 2002 +@@ -26,6 +26,7 @@ + #ifndef __nd_arp_h + #define __nd_arp_h + ++#include <sys/socket.h> + #include <net/ethernet.h> + #include <net/if_arp.h> + diff --git a/net/netdude/files/patch-nd_ether.c b/net/netdude/files/patch-nd_ether.c new file mode 100644 index 0000000..8b73bdc --- /dev/null +++ b/net/netdude/files/patch-nd_ether.c @@ -0,0 +1,10 @@ +--- protocols/ether/nd_ether.c.orig Sat Oct 12 00:18:53 2002 ++++ protocols/ether/nd_ether.c Sat Oct 12 00:19:07 2002 +@@ -23,6 +23,7 @@ + + */ + ++#include <sys/types.h> + #include <net/ethernet.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-nd_ether_callbacks.c b/net/netdude/files/patch-nd_ether_callbacks.c new file mode 100644 index 0000000..988c816 --- /dev/null +++ b/net/netdude/files/patch-nd_ether_callbacks.c @@ -0,0 +1,28 @@ +--- protocols/ether/nd_ether_callbacks.c.orig Sat Oct 12 00:20:26 2002 ++++ protocols/ether/nd_ether_callbacks.c Sat Oct 12 00:23:48 2002 +@@ -22,6 +22,7 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include <sys/types.h> + #include <net/ethernet.h> + #include <netdude/nd.h> + #include <netdude/nd_debug.h> +@@ -54,7 +55,7 @@ + if (!eh) + continue; + +- memcpy(eh->ether_shost, address, ETH_ALEN); ++ memcpy(eh->ether_shost, address, ETHER_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -84,7 +85,7 @@ + if (!eh) + continue; + +- memcpy(eh->ether_dhost, address, ETH_ALEN); ++ memcpy(eh->ether_dhost, address, ETHER_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + diff --git a/net/netdude/files/patch-nd_fddi.h b/net/netdude/files/patch-nd_fddi.h new file mode 100644 index 0000000..2f01d6c --- /dev/null +++ b/net/netdude/files/patch-nd_fddi.h @@ -0,0 +1,11 @@ +--- protocols/fddi/nd_fddi.h.orig Sat Oct 12 00:25:59 2002 ++++ protocols/fddi/nd_fddi.h Sat Oct 12 00:26:10 2002 +@@ -26,7 +26,7 @@ + #ifndef __nd_fddi_h + #define __nd_fddi_h + +-#include <netinet/if_fddi.h> ++#include <net/fddi.h> + + #include <netdude/nd_gettext.h> + #include <netdude/nd_packet.h> diff --git a/net/netdude/files/patch-nd_fddi_callbacks.c b/net/netdude/files/patch-nd_fddi_callbacks.c new file mode 100644 index 0000000..95a7a0d --- /dev/null +++ b/net/netdude/files/patch-nd_fddi_callbacks.c @@ -0,0 +1,29 @@ +--- protocols/fddi/nd_fddi_callbacks.c.orig Sat Oct 12 00:29:27 2002 ++++ protocols/fddi/nd_fddi_callbacks.c Sat Oct 12 00:33:10 2002 +@@ -22,8 +22,6 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ +-#include <netinet/if_fddi.h> +- + #include <netdude/nd_debug.h> + #include <netdude/nd_macros.h> + #include <netdude/nd_gui.h> +@@ -73,7 +71,7 @@ + if (!fh) + continue; + +- memcpy(fh->fddi_dhost, address, FDDI_K_ALEN); ++ memcpy(fh->fddi_dhost, address, FDDI_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -119,7 +117,7 @@ + if (!fh) + continue; + +- memcpy(fh->fddi_shost, address, FDDI_K_ALEN); ++ memcpy(fh->fddi_shost, address, FDDI_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + diff --git a/net/netdude/files/patch-nd_icmp.c b/net/netdude/files/patch-nd_icmp.c new file mode 100644 index 0000000..befb45b --- /dev/null +++ b/net/netdude/files/patch-nd_icmp.c @@ -0,0 +1,10 @@ +--- protocols/icmp/nd_icmp.c.orig Fri Sep 20 02:41:19 2002 ++++ protocols/icmp/nd_icmp.c Sun Oct 13 12:00:17 2002 +@@ -22,6 +22,7 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> diff --git a/net/netdude/files/patch-nd_icmp.h b/net/netdude/files/patch-nd_icmp.h new file mode 100644 index 0000000..5bd94fb --- /dev/null +++ b/net/netdude/files/patch-nd_icmp.h @@ -0,0 +1,49 @@ +--- protocols/icmp/nd_icmp.h.orig Sun Oct 13 12:45:27 2002 ++++ protocols/icmp/nd_icmp.h Sun Oct 13 12:45:40 2002 +@@ -30,8 +30,46 @@ + #include <netdude/nd_types.h> + + #include <netinet/in.h> ++#include <netinet/ip.h> + #include <netinet/ip_icmp.h> + ++#ifdef __FreeBSD__ ++#define ICMP_DEST_UNREACH ICMP_UNREACH ++#define ICMP_SOURCE_QUENCH ICMP_SOURCEQUENCH ++#define ICMP_TIME_EXCEEDED ICMP_TIMXCEED ++#define ICMP_PARAMETERPROB ICMP_PARAMPROB ++#define ICMP_TIMESTAMP ICMP_TSTAMP ++#define ICMP_TIMESTAMPREPLY ICMP_TSTAMPREPLY ++#define ICMP_INFO_REQUEST ICMP_IREQ ++#define ICMP_INFO_REPLY ICMP_IREQREPLY ++#define ICMP_ADDRESS ICMP_MASKREQ ++#define ICMP_ADDRESSREPLY ICMP_MASKREPLY ++ ++#define ICMP_NET_UNREACH ICMP_UNREACH_NET ++#define ICMP_HOST_UNREACH ICMP_UNREACH_HOST ++#define ICMP_PROT_UNREACH ICMP_UNREACH_PROTOCOL ++#define ICMP_PORT_UNREACH ICMP_UNREACH_PORT ++#define ICMP_FRAG_NEEDED ICMP_UNREACH_NEEDFRAG ++#define ICMP_SR_FAILED ICMP_UNREACH_SRCFAIL ++#define ICMP_NET_UNKNOWN ICMP_UNREACH_NET_UNKNOWN ++#define ICMP_HOST_UNKNOWN ICMP_UNREACH_HOST_UNKNOWN ++#define ICMP_HOST_ISOLATED ICMP_UNREACH_ISOLATED ++#define ICMP_NET_ANO ICMP_UNREACH_NET_PROHIB ++#define ICMP_HOST_ANO ICMP_UNREACH_HOST_PROHIB ++#define ICMP_NET_UNR_TOS ICMP_UNREACH_TOSNET ++#define ICMP_HOST_UNR_TOS ICMP_UNREACH_TOSHOST ++#define ICMP_PKT_FILTERED ICMP_UNREACH_FILTER_PROHIB ++#define ICMP_PREC_VIOLATION ICMP_UNREACH_HOST_PRECEDENCE ++#define ICMP_PREC_CUTOFF ICMP_UNREACH_PRECEDENCE_CUTOFF ++ ++#define ICMP_REDIR_NET ICMP_REDIRECT_NET ++#define ICMP_REDIR_HOST ICMP_REDIRECT_HOST ++#define ICMP_REDIR_NETTOS ICMP_REDIRECT_TOSNET ++#define ICMP_REDIR_HOSTTOS ICMP_REDIRECT_TOSHOST ++ ++#define ICMP_EXC_TTL ICMP_TIMXCEED_INTRANS ++#define ICMP_EXC_FRAGTIME ICMP_TIMXCEED_REASS ++#endif + + /* ICMP packet structure -- using our own for the funky stuff ... */ + diff --git a/net/netdude/files/patch-nd_icmp_callbacks.c b/net/netdude/files/patch-nd_icmp_callbacks.c new file mode 100644 index 0000000..12dbee0 --- /dev/null +++ b/net/netdude/files/patch-nd_icmp_callbacks.c @@ -0,0 +1,179 @@ +--- protocols/icmp/nd_icmp_callbacks.c.orig Fri Sep 20 02:40:51 2002 ++++ protocols/icmp/nd_icmp_callbacks.c Sun Oct 13 20:52:27 2002 +@@ -63,7 +63,7 @@ + + struct icmphdr *icmphdr = (struct icmphdr *) header; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_DEST_UNREACH: + if (!unreach_menu) +@@ -82,7 +82,7 @@ + + nd_dialog_number(_("Enter ICMP code:"), + ND_BASE_DEC, +- icmphdr->code, ++ icmphdr->icmp_code, + 255, + (ND_NumberCallback) nd_icmp_code_value_cb, + NULL, +@@ -107,7 +107,7 @@ + if (!icmphdr) + continue; + +- icmphdr->checksum = htons(value); ++ icmphdr->icmp_cksum = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -125,7 +125,7 @@ + + nd_dialog_number(_("Enter ICMP checksum:"), + ND_BASE_HEX, +- ntohs(icmphdr->checksum), 65535, ++ ntohs(icmphdr->icmp_cksum), 65535, + icmp_sum_ok_cb, + NULL, + packet, data); +@@ -145,7 +145,7 @@ + if (!icmphdr) + continue; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_ECHO: + case ICMP_ECHOREPLY: +@@ -161,7 +161,7 @@ + continue; + } + +- icmphdr->un.echo.id = htons(value); ++ icmphdr->icmp_id = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -179,7 +179,7 @@ + + nd_dialog_number(_("Enter ICMP identifier:"), + ND_BASE_DEC, +- ntohs(icmphdr->un.echo.id), ++ ntohs(icmphdr->icmp_id), + 65535, + (ND_NumberCallback) icmp_id_ok_cb, + NULL, +@@ -202,7 +202,7 @@ + if (!icmphdr) + continue; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_ECHO: + case ICMP_ECHOREPLY: +@@ -218,7 +218,7 @@ + continue; + } + +- icmphdr->un.echo.sequence = htons(value); ++ icmphdr->icmp_seq = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -236,7 +236,7 @@ + + nd_dialog_number(_("Enter ICMP sequence number:"), + ND_BASE_DEC, +- ntohs(icmphdr->un.echo.sequence), ++ ntohs(icmphdr->icmp_seq), + 65535, + (ND_NumberCallback) icmp_seq_ok_cb, + NULL, +@@ -425,7 +425,7 @@ + if (!icmphdr) + continue; + +- icmphdr->un.gateway = htonl(value); ++ icmphdr->icmp_gwaddr.s_addr = htonl(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -441,12 +441,12 @@ + { + struct icmphdr *icmphdr = (struct icmphdr *) header; + +- if (!nd_icmp_header_is_error(icmphdr) && icmphdr->type != 10) ++ if (!nd_icmp_header_is_error(icmphdr) && icmphdr->icmp_type != 10) + return; + + nd_dialog_number(_("Enter 32-bit ICMP data:"), + ND_BASE_DEC, +- ntohl(icmphdr->un.gateway), (guint) -1, ++ ntohl(icmphdr->icmp_gwaddr.s_addr), (guint) -1, + icmp_error_ok_cb, + NULL, packet, data); + } +@@ -589,7 +589,7 @@ + continue; + + icmphdr = (struct icmphdr *) data; +- if (icmphdr->type != 9) ++ if (icmphdr->icmp_type != 9) + continue; + + memcpy(data + 8 + entry_num * 8, address, sizeof(guchar) * 4); +@@ -634,7 +634,7 @@ + continue; + + icmphdr = (struct icmphdr *) data; +- if (icmphdr->type != 9) ++ if (icmphdr->icmp_type != 9) + continue; + + memcpy(data + 12 + entry_num * 8, &val, sizeof(guint32)); +@@ -684,7 +684,7 @@ + if (!icmphdr) + continue; + +- icmphdr->type = value; ++ icmphdr->icmp_type = value; + nd_packet_init(packet); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } +@@ -703,7 +703,7 @@ + + nd_dialog_number(_("Enter ICMP type:"), + ND_BASE_DEC, +- icmphdr->type, ++ icmphdr->icmp_type, + 255, + (ND_NumberCallback) nd_icmp_type_value_cb, + NULL, +@@ -728,7 +728,7 @@ + if (!icmphdr) + continue; + +- icmphdr->code = value; ++ icmphdr->icmp_code = value; + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -746,7 +746,7 @@ + + nd_dialog_number(_("Enter ICMP code:"), + ND_BASE_DEC, +- icmphdr->code, ++ icmphdr->icmp_code, + 255, + (ND_NumberCallback) nd_icmp_code_value_cb, + NULL, +@@ -774,7 +774,7 @@ + + if (!nd_icmp_csum_correct(nd_pit_get(&pit), &correct_sum)) + { +- icmphdr->checksum = correct_sum; ++ icmphdr->icmp_cksum = correct_sum; + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + } diff --git a/net/netdude/files/patch-nd_ip.c b/net/netdude/files/patch-nd_ip.c new file mode 100644 index 0000000..1825226 --- /dev/null +++ b/net/netdude/files/patch-nd_ip.c @@ -0,0 +1,11 @@ +--- protocols/ip/nd_ip.c.orig Sun Oct 13 21:33:19 2002 ++++ protocols/ip/nd_ip.c Sun Oct 13 21:34:05 2002 +@@ -102,7 +102,7 @@ + { N_("Low delay"), N_("Minimize delay"), IPTOS_LOWDELAY, nd_ip_tos_value_cb }, + { N_("Throughput"), N_("Maximize throughput"), IPTOS_THROUGHPUT, nd_ip_tos_value_cb }, + { N_("Reliability"), N_("Maximize reliability"), IPTOS_RELIABILITY, nd_ip_tos_value_cb }, +- { N_("Low cost"), N_("Minimize cost"), IPTOS_LOWCOST, nd_ip_tos_value_cb }, ++ { N_("Low cost"), N_("Minimize cost"), IPTOS_MINCOST, nd_ip_tos_value_cb }, + { N_("None"), N_("Clear all bits"), 0, nd_ip_tos_value_cb }, + { N_("Custom"), N_("Custom ToS value"), -1, nd_ip_tos_custom_cb }, + { NULL, NULL, 0, NULL} diff --git a/net/netdude/files/patch-nd_ip_callbacks.c b/net/netdude/files/patch-nd_ip_callbacks.c new file mode 100644 index 0000000..8b3078a --- /dev/null +++ b/net/netdude/files/patch-nd_ip_callbacks.c @@ -0,0 +1,10 @@ +--- protocols/ip/nd_ip_callbacks.c.orig Sun Oct 13 21:35:01 2002 ++++ protocols/ip/nd_ip_callbacks.c Sun Oct 13 21:35:31 2002 +@@ -26,6 +26,7 @@ + #ifdef LINUX + #define __FAVOR_BSD + #endif ++#include <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/in.h> + #include <netinet/ip.h> diff --git a/net/netdude/files/patch-nd_misc.c b/net/netdude/files/patch-nd_misc.c new file mode 100644 index 0000000..2390944 --- /dev/null +++ b/net/netdude/files/patch-nd_misc.c @@ -0,0 +1,10 @@ +--- src/nd_misc.c.orig Sat Oct 12 00:00:02 2002 ++++ src/nd_misc.c Sat Oct 12 00:00:19 2002 +@@ -37,6 +37,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/ioctl.h> ++#include <sys/socket.h> + #include <net/if.h> + + #include <netdude/nd.h> diff --git a/net/netdude/files/patch-nd_misc.h b/net/netdude/files/patch-nd_misc.h new file mode 100644 index 0000000..03d3583 --- /dev/null +++ b/net/netdude/files/patch-nd_misc.h @@ -0,0 +1,10 @@ +--- src/nd_misc.h.orig Fri Oct 11 23:55:05 2002 ++++ src/nd_misc.h Fri Oct 11 23:55:41 2002 +@@ -27,6 +27,7 @@ + #define __nd_misc_h + + #include <stdlib.h> ++#include <sys/socket.h> + #include <net/if.h> + #include <gtk/gtk.h> + #include <netdude/nd_protocol.h> diff --git a/net/netdude/files/patch-nd_snap.c b/net/netdude/files/patch-nd_snap.c new file mode 100644 index 0000000..2253d80 --- /dev/null +++ b/net/netdude/files/patch-nd_snap.c @@ -0,0 +1,10 @@ +--- protocols/snap/nd_snap.c.orig Sun Oct 13 21:40:25 2002 ++++ protocols/snap/nd_snap.c Sun Oct 13 21:41:10 2002 +@@ -26,6 +26,7 @@ + # include <config.h> + #endif + ++#include <sys/types.h> + #include <net/ethernet.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-nd_tcb.c b/net/netdude/files/patch-nd_tcb.c new file mode 100644 index 0000000..0f00495 --- /dev/null +++ b/net/netdude/files/patch-nd_tcb.c @@ -0,0 +1,19 @@ +--- protocols/tcp/nd_tcb.c.orig Sun Oct 13 21:42:08 2002 ++++ protocols/tcp/nd_tcb.c Sun Oct 13 21:45:35 2002 +@@ -26,13 +26,15 @@ + # include <config.h> + #endif + ++#include <sys/types.h> ++#include <netinet/in_systm.h> ++#include <netinet/in.h> + #include <netinet/ip.h> + + #include <string.h> + #include <unistd.h> + #include <stdlib.h> + #include <stdio.h> +-#include <sys/types.h> + #include <glib.h> + + #include <netdude/nd.h> diff --git a/net/netdude/files/patch-nd_udp.c b/net/netdude/files/patch-nd_udp.c new file mode 100644 index 0000000..c0d9fe5 --- /dev/null +++ b/net/netdude/files/patch-nd_udp.c @@ -0,0 +1,13 @@ +--- protocols/udp/nd_udp.c.orig Sun Oct 13 21:47:40 2002 ++++ protocols/udp/nd_udp.c Sun Oct 13 21:49:50 2002 +@@ -26,6 +26,10 @@ + # include <config.h> + #endif + ++#include <sys/types.h> ++#include <netinet/in_systm.h> ++#include <netinet/in.h> ++#include <netinet/ip_var.h> + #include <netinet/ip.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-src::Makefile.in b/net/netdude/files/patch-src::Makefile.in new file mode 100644 index 0000000..fc8cada --- /dev/null +++ b/net/netdude/files/patch-src::Makefile.in @@ -0,0 +1,19 @@ +--- src/Makefile.in.orig Sat Oct 12 00:09:46 2002 ++++ src/Makefile.in Sat Oct 12 00:10:15 2002 +@@ -177,7 +177,7 @@ + gtkhex.c gtkhex.h + + +-netdude_LDADD = $(top_builddir)/libltdl/libltdlc.la @gtk_libs@ @glib_libs@ ++netdude_LDADD = @gtk_libs@ @glib_libs@ + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h +@@ -197,7 +197,6 @@ + nd_trace_registry.$(OBJEXT) callbacks.$(OBJEXT) \ + interface.$(OBJEXT) support.$(OBJEXT) gtkhex.$(OBJEXT) + netdude_OBJECTS = $(am_netdude_OBJECTS) +-netdude_DEPENDENCIES = $(top_builddir)/libltdl/libltdlc.la + netdude_LDFLAGS = + + DEFS = @DEFS@ |