pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/top
Module Name: pkgsrc
Committed By: tnn
Date: Tue Aug 18 05:12:55 UTC 2020
Modified Files:
pkgsrc/sysutils/top: distinfo
pkgsrc/sysutils/top/patches: patch-an
Log Message:
top: fix build on NetBSD with sys/lwp.h >= 1.185 (LSDEAD removal)
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/top/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/top/patches/patch-an
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/top/distinfo
diff -u pkgsrc/sysutils/top/distinfo:1.14 pkgsrc/sysutils/top/distinfo:1.15
--- pkgsrc/sysutils/top/distinfo:1.14 Wed Nov 4 01:32:33 2015
+++ pkgsrc/sysutils/top/distinfo Tue Aug 18 05:12:55 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2015/11/04 01:32:33 agc Exp $
+$NetBSD: distinfo,v 1.15 2020/08/18 05:12:55 tnn Exp $
SHA1 (top-3.6.1.tar.gz) = 2578e271a9eca768e98d16cccf613d538c6a4f81
RMD160 (top-3.6.1.tar.gz) = adcfe9065cf17ac0037cc68fbb98b2ba4c5f2a38
@@ -10,4 +10,4 @@ SHA1 (patch-aj) = 37e32ae734213c72ecd2d1
SHA1 (patch-ak) = dc0c5295df0dd090ffca730d0e58243d0e5c4884
SHA1 (patch-al) = 97d474be72591c415cf2978422753b5533109c48
SHA1 (patch-am) = 54cb262e37f0f281aa49bc30f9df92d9577431a1
-SHA1 (patch-an) = b7e220195537349754ae8552f556ba64c8494fc2
+SHA1 (patch-an) = 028562347998a4f18237cccc3cc1fe9647848c83
Index: pkgsrc/sysutils/top/patches/patch-an
diff -u pkgsrc/sysutils/top/patches/patch-an:1.3 pkgsrc/sysutils/top/patches/patch-an:1.4
--- pkgsrc/sysutils/top/patches/patch-an:1.3 Mon Dec 27 13:15:05 2010
+++ pkgsrc/sysutils/top/patches/patch-an Tue Aug 18 05:12:55 2020
@@ -1,8 +1,8 @@
-$NetBSD: patch-an,v 1.3 2010/12/27 13:15:05 obache Exp $
+$NetBSD: patch-an,v 1.4 2020/08/18 05:12:55 tnn Exp $
---- machine/m_netbsd20.c.orig 2004-07-12 09:03:09.000000000 +0200
+--- machine/m_netbsd20.c.orig 2020-08-18 05:08:35.740015522 +0000
+++ machine/m_netbsd20.c
-@@ -0,0 +1,895 @@
+@@ -0,0 +1,898 @@
+/* NetBSD: m_netbsd15.c,v 1.22 2004/02/13 11:36:24 wiz Exp */
+
+/*
@@ -488,7 +488,10 @@ $NetBSD: patch-an,v 1.3 2010/12/27 13:15
+ if (pp->p_stat != 0 && (show_system || ((pp->p_flag & P_SYSTEM) == 0))) {
+ total_procs++;
+ process_states[(unsigned char) pp->p_stat]++;
-+ if (pp->p_stat != LSZOMB && pp->p_stat != LSDEAD &&
++ if (pp->p_stat != LSZOMB &&
++#ifdef LSDEAD
++ pp->p_stat != LSDEAD &&
++#endif
+ (show_idle || (pp->p_pctcpu != 0) ||
+ (pp->p_stat == LSRUN || pp->p_stat == LSONPROC)) &&
+ (!show_uid || pp->p_ruid == (uid_t)sel->uid)) {
Home |
Main Index |
Thread Index |
Old Index