aboutsummaryrefslogtreecommitdiff
path: root/net/wmnet2/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/wmnet2/files/patch-aa')
-rw-r--r--net/wmnet2/files/patch-aa41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/wmnet2/files/patch-aa b/net/wmnet2/files/patch-aa
new file mode 100644
index 000000000000..c09100b8bfa9
--- /dev/null
+++ b/net/wmnet2/files/patch-aa
@@ -0,0 +1,41 @@
+*** drivers.c.orig Fri Sep 7 16:39:23 2001
+--- drivers.c Fri Jun 29 23:21:52 2001
+***************
+*** 15,20 ****
+--- 15,21 ----
+ #include<X11/Xlib.h>
+ #include<fcntl.h>
+ #include<sys/types.h>
++ #include <sys/time.h>
+ #include<sys/stat.h>
+ #include<sys/socket.h>
+ #include<unistd.h>
+***************
+*** 24,29 ****
+--- 25,32 ----
+ /* For FreeBSD */
+ #ifdef USE_KVM
+ #include<net/if.h>
++ #include <net/if_var.h>
++ #include <net/if_types.h>
+ #include<kvm.h>
+ #include<nlist.h>
+
+***************
+*** 490,496 ****
+ #ifdef __OpenBSD__
+ ifnet_addr = (unsigned long)ifnet->if_list.tqe_next;
+ #else
+! ifnet_addr = (unsigned long)ifnet->if_next;
+ #endif
+ }
+ }
+--- 493,500 ----
+ #ifdef __OpenBSD__
+ ifnet_addr = (unsigned long)ifnet->if_list.tqe_next;
+ #else
+! //ifnet_addr = (unsigned long)ifnet->if_next;
+! ifnet_addr = (unsigned long) TAILQ_NEXT(ifnet,if_link);
+ #endif
+ }
+ }