Date: Thu, 25 Feb 1999 15:57:08 +0200 From: Sheldon Hearn <sheldonh@iafrica.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10260: [PATCH] Upgrade sysutils/xosview to 1.7.0 Message-ID: <65268.919951028@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
>Number: 10260 >Category: ports >Synopsis: [PATCH] Upgrade sysutils/xosview to 1.7.0 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 25 10:20:08 PST 1999 >Closed-Date: >Last-Modified: >Originator: Sheldon Hearn >Release: FreeBSD 4.0-CURRENT i386 >Organization: UUNET Internet Africa >Environment: FreeBSD 4.0-CURRENT #0: Wed Feb 24 22:53:13 SAST 1999 [...] i386 >Description: The author of sysutils/xosview has been working quite hard to get the software working for FreeBSD CURRENT. While the latest version (1.7.0) includes the fixes I submitted for the DiskMeter, recent changes to the VM system have broken its SwapMeter. Although this might look like one step forward, one step back, I believe we are moving forward. I'd like to upgrade the port to 1.7.0 to give it exposure so that the chances of teh SwapMeter being fixed are maximized. >How-To-Repeat: N/A >Fix: The following diffs will upgrade sysutils/xosview to the latest version. I'll continue to work with the author on fixing the SwapMeter and file a PR with diffs to upgrade to a version that includes such a fix later. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/xosview/Makefile,v retrieving revision 1.13 diff -u -d -r1.13 Makefile --- Makefile 1999/01/18 03:00:39 1.13 +++ Makefile 1999/02/16 22:17:25 @@ -1,12 +1,12 @@ # New ports collection makefile for: xosview -# Version required: 1.6.2.a +# Version required: 1.7.0 # Date created: 19 Nov 1997 # Whom: Brian Handy <handy@physics.montana.edu> # # $Id: Makefile,v 1.13 1999/01/18 03:00:39 steve Exp $ # -DISTNAME= xosview-1.6.2.a +DISTNAME= xosview-1.7.0 CATEGORIES= sysutils MASTER_SITES= http://lore.ece.utexas.edu/~bgrayson/xosview/ \ http://lambic.physics.montana.edu/xosview/ @@ -18,6 +18,6 @@ GNU_CONFIGURE= yes MAN1= xosview.1 -# BROKEN= DiskMeter broken for 3.0+ +# BROKEN= SwapMeter broken for 4.0+ .include <bsd.port.mk> Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/sysutils/xosview/files/md5,v retrieving revision 1.6 diff -u -d -r1.6 md5 --- md5 1999/01/05 01:06:04 1.6 +++ md5 1999/01/25 22:00:31 @@ -1 +1 @@ -MD5 (xosview-1.6.2.a.tar.gz) = bf021401b5dbf3971ff8a4ea6c90ee11 +MD5 (xosview-1.7.0.tar.gz) = 7591a567dff144cdbecde1543f4dbc58 Index: patches/patch-ab =================================================================== RCS file: patch-ab diff -N patch-ab --- /tmp/cvsK65266 Thu Feb 25 15:56:23 1999 +++ /dev/null Thu Feb 25 15:29:34 1999 @@ -1,34 +0,0 @@ ---- bsd/kernel.cc.orig Thu Sep 24 21:21:30 1998 -+++ bsd/kernel.cc Tue Jan 12 17:53:33 1999 -@@ -28,6 +28,11 @@ - #include <errno.h> - #include <sys/dkstat.h> /* For CPUSTATES, which tells us how - many cpu states there are. */ -+ -+#ifndef DK_NDRIVE /* Ghastly hack allows FreeBSD 3.0+ to build */ -+#define DK_NDRIVE 8 /* but leaves the DiskMeter broken */ -+#endif -+ - #ifndef XOSVIEW_FREEBSD - #include <sys/disk.h> /* For disk statistics. */ - #endif -@@ -277,6 +282,9 @@ - void - BSDGetNetInOut (long long * inbytes, long long * outbytes) - { -+ -+#if (__FreeBSD_version < 300000) //werner May/29/98 quick hack for current -+ - struct ifnet * ifnetp; - struct ifnet ifnet; - //char ifname[256]; -@@ -311,6 +319,9 @@ - ifnetp = (struct ifnet*) ifnet.if_list.tqe_next; - #endif - } -+ -+#endif //werner -+ - } - - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65268.919951028>