summaryrefslogtreecommitdiff
path: root/sysutils/libgtop2/patches
diff options
context:
space:
mode:
authoradam <adam>2006-03-03 15:02:13 +0000
committeradam <adam>2006-03-03 15:02:13 +0000
commitd25b6fcbaa9144b4c60c77afa38b2e85ae5f94ef (patch)
treeaeec8cee3163b1c7bad5a7b4d08d702c4908eb62 /sysutils/libgtop2/patches
parentdb828882cd5375801983cfc481a39bf00b561dc1 (diff)
downloadpkgsrc-d25b6fcbaa9144b4c60c77afa38b2e85ae5f94ef.tar.gz
One bracket too many - fix
Diffstat (limited to 'sysutils/libgtop2/patches')
-rw-r--r--sysutils/libgtop2/patches/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/libgtop2/patches/patch-ab b/sysutils/libgtop2/patches/patch-ab
index d85ee40c44b..d3c64551715 100644
--- a/sysutils/libgtop2/patches/patch-ab
+++ b/sysutils/libgtop2/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2006/02/28 23:48:11 joerg Exp $
+$NetBSD: patch-ab,v 1.4 2006/03/03 15:02:13 adam Exp $
--- sysdeps/freebsd/proctime.c.orig 2005-02-23 08:20:45.000000000 +0000
+++ sysdeps/freebsd/proctime.c
@@ -36,7 +36,7 @@ $NetBSD: patch-ab,v 1.3 2006/02/28 23:48:11 joerg Exp $
-#elif (defined __FreeBSD__) && (__FreeBSD_version <= 500013)
+#elif defined(__DragonFly__)
+ buf->rtime = pinfo[0].kp_eproc.e_uticks / 100000;
-+#elif (defined __FreeBSD__) && (__FreeBSD_version <= 500013))
++#elif (defined __FreeBSD__) && (__FreeBSD_version <= 500013)
buf->rtime = pinfo [0].kp_proc.p_runtime;
#else
buf->rtime = tv2sec (pinfo [0].kp_proc.p_rtime);