Re: Patch to fix xuvmstat port with 16bit display depth.

2005-10-11 Thread Bernd Ahlers
ober [Mon, Oct 10, 2005 at 05:28:37PM -0500] wrote:
I was getting failures to run xuvmstat on all my 3.7 and latest 3.8 
snapshots.
Found a patch here 
http://mail-index.netbsd.org/netbsd-bugs/2005/09/06/0003.html

Fixed it for me.

Could you please give us some more details, error messages, etc.?

It works for me.

Bernd



Re: Patch to fix xuvmstat port with 16bit display depth.

2005-10-11 Thread Bernd Ahlers
ober [Mon, Oct 10, 2005 at 05:28:37PM -0500] wrote:
I was getting failures to run xuvmstat on all my 3.7 and latest 3.8 
snapshots.
Found a patch here 
http://mail-index.netbsd.org/netbsd-bugs/2005/09/06/0003.html

Uh, I haven't noticed the 16bit display depth in the Subject.
Sorry.

Bernd



Re: Patch to fix xuvmstat port with 16bit display depth.

2005-10-11 Thread ober

Sorry I missed the first email.
:D

-Ober

On Wed, 12 Oct 2005, Bernd Ahlers wrote:


ober [Mon, Oct 10, 2005 at 05:28:37PM -0500] wrote:

I was getting failures to run xuvmstat on all my 3.7 and latest 3.8
snapshots.
Found a patch here
http://mail-index.netbsd.org/netbsd-bugs/2005/09/06/0003.html


Uh, I haven't noticed the 16bit display depth in the Subject.
Sorry.

Bernd





Re: Patch to fix xuvmstat port with 16bit display depth.

2005-10-11 Thread Peter Valchev
 I was getting failures to run xuvmstat on all my 3.7 and latest 3.8 
 snapshots.
..

can you test this?
updates to latest version which includes the fix (with a little hack)

Index: Makefile
===
RCS file: /cvs/ports/sysutils/xuvmstat/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile20 Dec 2004 10:35:37 -  1.7
+++ Makefile11 Oct 2005 22:52:53 -
@@ -2,7 +2,7 @@
 
 COMMENT=   graphical display for the current uvm status
 
-PKGNAME=   xuvmstat-20010220
+PKGNAME=   xuvmstat-20050909
 DISTNAME=  ${PKGNAME:S/-//}
 CATEGORIES= sysutils x11
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/xuvmstat/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo5 Jan 2005 17:29:42 -   1.2
+++ distinfo11 Oct 2005 22:52:59 -
@@ -1,4 +1,4 @@
-MD5 (xuvmstat20010220.tar.gz) = 85f90d23b4333898face3303d2b8e0f1
-RMD160 (xuvmstat20010220.tar.gz) = af17b79278144d267d87281122c99b0a2e53fc0c
-SHA1 (xuvmstat20010220.tar.gz) = bc9974355212bb4d0b831f5c755b0de6c2cf5968
-SIZE (xuvmstat20010220.tar.gz) = 7513
+MD5 (xuvmstat20050909.tar.gz) = b18610521da9d27ee85243d4301e1144
+RMD160 (xuvmstat20050909.tar.gz) = 6400ee7e396c410bf22ef9673b27b909f2a29a68
+SHA1 (xuvmstat20050909.tar.gz) = b8118b1b11c260683ff14fe2200e9ee584f6b7c5
+SIZE (xuvmstat20050909.tar.gz) = 7661
Index: patches/patch-xuvmstat_c
===
RCS file: /cvs/ports/sysutils/xuvmstat/patches/patch-xuvmstat_c,v
retrieving revision 1.2
diff -u -r1.2 patch-xuvmstat_c
--- patches/patch-xuvmstat_c29 Aug 2002 01:58:57 -  1.2
+++ patches/patch-xuvmstat_c11 Oct 2005 22:55:38 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-xuvmstat_c,v 1.2 2002/08/29 01:58:57 wcobb Exp $
 xuvmstat.c.origTue Feb 20 10:40:49 2001
-+++ xuvmstat.c Wed Aug 28 00:18:02 2002
+--- xuvmstat.c.origFri Sep  9 07:38:48 2005
 xuvmstat.c Tue Oct 11 16:55:32 2005
 @@ -24,6 +24,7 @@
   * xuvmstat.c
   */
@@ -45,3 +45,19 @@
  }
  
  /*
+@@ -214,6 +215,7 @@ int was_timeout;
+ vals, colors, white);
+   }
+ 
++#ifdef notyet
+   y += 8;
+   {
+ static char *names[] = { file, anon, exec, free, kernel };
+@@ -237,6 +239,7 @@ int was_timeout;
+ y = draw_barbox(xdpy, win, gc, fnt_fixed, 5, 295, y, 5, cexp.npages, 
names,
+   vals, colors, white);
+   }
++#endif
+ 
+   y += 8;
+