diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-24 09:52:50 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-24 09:52:50 +0000 |
commit | faba8635855f70b5ae3375b6d7a78b3c6c3d7925 (patch) | |
tree | 8d524acd63512ce051bf1c8b78e71d512b37c948 /net/netdude | |
parent | 5861e47b984bcc00f52fe0aea0302c0573e3a4c3 (diff) | |
download | FreeBSD-ports-faba8635855f70b5ae3375b6d7a78b3c6c3d7925.zip FreeBSD-ports-faba8635855f70b5ae3375b6d7a78b3c6c3d7925.tar.gz |
Make net/netdude compiling on -current again.
PR: ports/45538
Submitted by: Paul Everlund <tdv94ped@cs.umu.se>
Diffstat (limited to 'net/netdude')
-rw-r--r-- | net/netdude/files/patch-nd_arp.h | 10 | ||||
-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-protocols-arp::nd_arp.c (renamed from net/netdude/files/patch-nd_arp.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-arp::nd_arp.h | 11 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-ether::nd_ether.c (renamed from net/netdude/files/patch-nd_ether.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-ether::nd_ether_callbacks.c (renamed from net/netdude/files/patch-nd_ether_callbacks.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-fddi::nd_fddi_callbacks.c | 12 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-icmp::nd_icmp.c (renamed from net/netdude/files/patch-nd_icmp.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-icmp::nd_icmp.h (renamed from net/netdude/files/patch-nd_icmp.h) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-icmp::nd_icmp_callbacks.c (renamed from net/netdude/files/patch-nd_icmp_callbacks.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-ip::nd_ip.c (renamed from net/netdude/files/patch-nd_ip.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-ip::nd_ip_callbacks.c (renamed from net/netdude/files/patch-nd_ip_callbacks.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-snap::nd_snap.c (renamed from net/netdude/files/patch-nd_snap.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-tcp::nd_tcb.c (renamed from net/netdude/files/patch-nd_tcb.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-protocols-udp::nd_udp.c (renamed from net/netdude/files/patch-nd_udp.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-src::nd.h (renamed from net/netdude/files/patch-nd.h) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-src::nd_misc.c (renamed from net/netdude/files/patch-nd_misc.c) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-src::nd_misc.h (renamed from net/netdude/files/patch-nd_misc.h) | 0 | ||||
-rw-r--r-- | net/netdude/files/patch-src::nd_protocol.c | 10 |
20 files changed, 33 insertions, 50 deletions
diff --git a/net/netdude/files/patch-nd_arp.h b/net/netdude/files/patch-nd_arp.h deleted file mode 100644 index 4c5c4f2..0000000 --- a/net/netdude/files/patch-nd_arp.h +++ /dev/null @@ -1,10 +0,0 @@ ---- 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_fddi.h b/net/netdude/files/patch-nd_fddi.h deleted file mode 100644 index 2f01d6c..0000000 --- a/net/netdude/files/patch-nd_fddi.h +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 deleted file mode 100644 index 95a7a0d..0000000 --- a/net/netdude/files/patch-nd_fddi_callbacks.c +++ /dev/null @@ -1,29 +0,0 @@ ---- 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_arp.c b/net/netdude/files/patch-protocols-arp::nd_arp.c index d927d6c..d927d6c 100644 --- a/net/netdude/files/patch-nd_arp.c +++ b/net/netdude/files/patch-protocols-arp::nd_arp.c diff --git a/net/netdude/files/patch-protocols-arp::nd_arp.h b/net/netdude/files/patch-protocols-arp::nd_arp.h new file mode 100644 index 0000000..f35421e --- /dev/null +++ b/net/netdude/files/patch-protocols-arp::nd_arp.h @@ -0,0 +1,11 @@ +--- protocols/arp/nd_arp.h.orig Wed Nov 20 20:57:00 2002 ++++ protocols/arp/nd_arp.h Wed Nov 20 20:57:26 2002 +@@ -26,6 +26,8 @@ + #ifndef __nd_arp_h + #define __nd_arp_h + ++#include <sys/types.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-protocols-ether::nd_ether.c index 8b73bdc..8b73bdc 100644 --- a/net/netdude/files/patch-nd_ether.c +++ b/net/netdude/files/patch-protocols-ether::nd_ether.c diff --git a/net/netdude/files/patch-nd_ether_callbacks.c b/net/netdude/files/patch-protocols-ether::nd_ether_callbacks.c index 988c816..988c816 100644 --- a/net/netdude/files/patch-nd_ether_callbacks.c +++ b/net/netdude/files/patch-protocols-ether::nd_ether_callbacks.c diff --git a/net/netdude/files/patch-protocols-fddi::nd_fddi_callbacks.c b/net/netdude/files/patch-protocols-fddi::nd_fddi_callbacks.c new file mode 100644 index 0000000..deccca6 --- /dev/null +++ b/net/netdude/files/patch-protocols-fddi::nd_fddi_callbacks.c @@ -0,0 +1,12 @@ +--- protocols/fddi/nd_fddi_callbacks.c.orig Wed Nov 20 21:37:07 2002 ++++ protocols/fddi/nd_fddi_callbacks.c Wed Nov 20 21:38:04 2002 +@@ -22,7 +22,9 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include <sys/types.h> + #include <netinet/if_fddi.h> ++#define FDDI_K_ALEN 6 + + #include <netdude/nd_debug.h> + #include <netdude/nd_macros.h> diff --git a/net/netdude/files/patch-nd_icmp.c b/net/netdude/files/patch-protocols-icmp::nd_icmp.c index befb45b..befb45b 100644 --- a/net/netdude/files/patch-nd_icmp.c +++ b/net/netdude/files/patch-protocols-icmp::nd_icmp.c diff --git a/net/netdude/files/patch-nd_icmp.h b/net/netdude/files/patch-protocols-icmp::nd_icmp.h index 5bd94fb..5bd94fb 100644 --- a/net/netdude/files/patch-nd_icmp.h +++ b/net/netdude/files/patch-protocols-icmp::nd_icmp.h diff --git a/net/netdude/files/patch-nd_icmp_callbacks.c b/net/netdude/files/patch-protocols-icmp::nd_icmp_callbacks.c index 12dbee0..12dbee0 100644 --- a/net/netdude/files/patch-nd_icmp_callbacks.c +++ b/net/netdude/files/patch-protocols-icmp::nd_icmp_callbacks.c diff --git a/net/netdude/files/patch-nd_ip.c b/net/netdude/files/patch-protocols-ip::nd_ip.c index 1825226..1825226 100644 --- a/net/netdude/files/patch-nd_ip.c +++ b/net/netdude/files/patch-protocols-ip::nd_ip.c diff --git a/net/netdude/files/patch-nd_ip_callbacks.c b/net/netdude/files/patch-protocols-ip::nd_ip_callbacks.c index 8b3078a..8b3078a 100644 --- a/net/netdude/files/patch-nd_ip_callbacks.c +++ b/net/netdude/files/patch-protocols-ip::nd_ip_callbacks.c diff --git a/net/netdude/files/patch-nd_snap.c b/net/netdude/files/patch-protocols-snap::nd_snap.c index 2253d80..2253d80 100644 --- a/net/netdude/files/patch-nd_snap.c +++ b/net/netdude/files/patch-protocols-snap::nd_snap.c diff --git a/net/netdude/files/patch-nd_tcb.c b/net/netdude/files/patch-protocols-tcp::nd_tcb.c index 0f00495..0f00495 100644 --- a/net/netdude/files/patch-nd_tcb.c +++ b/net/netdude/files/patch-protocols-tcp::nd_tcb.c diff --git a/net/netdude/files/patch-nd_udp.c b/net/netdude/files/patch-protocols-udp::nd_udp.c index c0d9fe5..c0d9fe5 100644 --- a/net/netdude/files/patch-nd_udp.c +++ b/net/netdude/files/patch-protocols-udp::nd_udp.c diff --git a/net/netdude/files/patch-nd.h b/net/netdude/files/patch-src::nd.h index 9d7931c..9d7931c 100644 --- a/net/netdude/files/patch-nd.h +++ b/net/netdude/files/patch-src::nd.h diff --git a/net/netdude/files/patch-nd_misc.c b/net/netdude/files/patch-src::nd_misc.c index 2390944..2390944 100644 --- a/net/netdude/files/patch-nd_misc.c +++ b/net/netdude/files/patch-src::nd_misc.c diff --git a/net/netdude/files/patch-nd_misc.h b/net/netdude/files/patch-src::nd_misc.h index 03d3583..03d3583 100644 --- a/net/netdude/files/patch-nd_misc.h +++ b/net/netdude/files/patch-src::nd_misc.h diff --git a/net/netdude/files/patch-src::nd_protocol.c b/net/netdude/files/patch-src::nd_protocol.c new file mode 100644 index 0000000..1b07f7b --- /dev/null +++ b/net/netdude/files/patch-src::nd_protocol.c @@ -0,0 +1,10 @@ +--- src/nd_protocol.c.orig Wed Nov 20 20:13:36 2002 ++++ src/nd_protocol.c Wed Nov 20 20:14:20 2002 +@@ -26,6 +26,7 @@ + # include <config.h> + #endif + ++#include <sys/types.h> + #include <netinet/in.h> + + #include <netdude/nd.h> |