diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-08 21:01:34 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-08 21:01:34 +0800 |
commit | 16a4516358cfb3a35b0f4ab44985ca0e0cf6a2cb (patch) | |
tree | 1b731a226913c2a28774be24b785a0efa7d79316 /net/wmnet2/files | |
parent | 89fdc19c88caf109b06b5faeb9b307eddd024d1e (diff) | |
download | freebsd-ports-gnome-16a4516358cfb3a35b0f4ab44985ca0e0cf6a2cb.tar.gz freebsd-ports-gnome-16a4516358cfb3a35b0f4ab44985ca0e0cf6a2cb.tar.zst freebsd-ports-gnome-16a4516358cfb3a35b0f4ab44985ca0e0cf6a2cb.zip |
Add wmnet2 1.06, a cool network monitor for WindowMaker.
PR: 30432
Submitted by: Paolo Pisati <flag@libero.it>
Diffstat (limited to 'net/wmnet2/files')
-rw-r--r-- | net/wmnet2/files/patch-aa | 41 | ||||
-rw-r--r-- | net/wmnet2/files/patch-ab | 11 |
2 files changed, 52 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 + } + } diff --git a/net/wmnet2/files/patch-ab b/net/wmnet2/files/patch-ab new file mode 100644 index 000000000000..b313b4aa4320 --- /dev/null +++ b/net/wmnet2/files/patch-ab @@ -0,0 +1,11 @@ +--- Imakefile 2001/09/08 12:01:26 1.1 ++++ Imakefile 2001/09/08 12:02:34 +@@ -26,4 +26,7 @@ + #endif + + +-ComplexProgramTarget(wmnet) ++ComplexProgramTarget(wmnet2) ++ ++wmnet2.man: wmnet.man ++ ln -sf wmnet.man wmnet2.man |