Hi all,

This diff makes the two arrows in the upper right corner blink in 
response to net traffic (which is the intended behaviour of wmnet)

cheers,
David


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wmnet/Makefile,v
retrieving revision 1.14
diff -N -u -p Makefile
--- Makefile    10 Aug 2009 06:33:44 -0000      1.14
+++ Makefile    27 Nov 2009 10:34:24 -0000
@@ -3,7 +3,7 @@
 COMMENT=       little X dock.app network monitor
 
 DISTNAME=      wmnet-1.06
-PKGNAME=       ${DISTNAME}p4
+PKGNAME=       ${DISTNAME}p5
 CATEGORIES=    net x11 x11/windowmaker
 HOMEPAGE=      http://www.katharineosborne.com/wmnet/
 MASTER_SITES=  http://dockapps.org/files/77/115/
Index: patches/patch-drivers_c
===================================================================
RCS file: /cvs/ports/net/wmnet/patches/patch-drivers_c,v
retrieving revision 1.2
diff -N -u -p patches/patch-drivers_c
--- patches/patch-drivers_c     6 Apr 2003 00:43:21 -0000       1.2
+++ patches/patch-drivers_c     27 Nov 2009 10:34:24 -0000
@@ -151,7 +151,7 @@ $OpenBSD: patch-drivers_c,v 1.2 2003/04/06 00:43:21 na
  
  #ifdef linux
  /* All the data gathering is done in here. 
-@@ -441,48 +429,58 @@ int updateStats_ppp(void) {
+@@ -441,48 +429,60 @@ int updateStats_ppp(void) {
  #endif /* linux */
  
  #ifdef USE_KVM
@@ -176,6 +176,8 @@ $OpenBSD: patch-drivers_c,v 1.2 2003/04/06 00:43:21 na
   int flag = 0;
 + unsigned long tp_in, tp_out, tb_in, tb_out;
 + static unsigned long lp_in, lp_out, lb_in, lb_out;
++ id->rx = False;
++ id->tx = False;
 +
 + ifnet = &ifnetbuf;
 +

Reply via email to