summaryrefslogtreecommitdiff
path: root/sysutils/xps
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-06-17 15:31:40 +0000
committerfredb <fredb@pkgsrc.org>2003-06-17 15:31:40 +0000
commit894e32fde4c2a161dadca01cc461f4481ed1b394 (patch)
treeaa1f88cc3ffb820daf676086e3e643e60c524c2d /sysutils/xps
parentd1b7ec30675e523c11a35292bc810efde3bb8fff (diff)
downloadpkgsrc-894e32fde4c2a161dadca01cc461f4481ed1b394.tar.gz
Make this build in current. (No more P_INMEM in <sys/proc.h>.)
Diffstat (limited to 'sysutils/xps')
-rw-r--r--sysutils/xps/distinfo4
-rw-r--r--sysutils/xps/patches/patch-ac15
2 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/xps/distinfo b/sysutils/xps/distinfo
index d114a409b3d..cba87c64651 100644
--- a/sysutils/xps/distinfo
+++ b/sysutils/xps/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2001/07/03 01:46:07 jlam Exp $
+$NetBSD: distinfo,v 1.4 2003/06/17 15:31:40 fredb Exp $
SHA1 (xps-3.14.tar.gz) = 0c21a13b99f3375d8fc1b94b9bdabec2dd232a59
Size (xps-3.14.tar.gz) = 168772 bytes
+SHA1 (patch-aa) = 53b9c9a7b6cf3f24b3667a9b528f378392d45507
SHA1 (patch-ab) = 7dc58c1627b61f85e5656d364dd67c33281ce82f
+SHA1 (patch-ac) = b65deba1ffa57fdfd64ea2df9e1c20315f81a688
diff --git a/sysutils/xps/patches/patch-ac b/sysutils/xps/patches/patch-ac
new file mode 100644
index 00000000000..7e68b4032ee
--- /dev/null
+++ b/sysutils/xps/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2003/06/17 15:31:40 fredb Exp $
+
+--- NetBSD/xps.c.orig 1999-05-22 15:56:46.000000000 -0500
++++ NetBSD/xps.c
+@@ -162,8 +162,10 @@ GetStatus(ProcInfo *p)
+
+ if (proc->kp_proc.p_pid == MyPid && !cmd_options.me_too)
+ pstat = SSLEEP;
++#if __NetBSD_Version__ < 106130000
+ else if ((proc->kp_proc.p_flag & P_INMEM) == 0)
+ pstat = SSWAP;
++#endif
+ else
+ pstat = proc->kp_proc.p_stat;
+