diff options
author | yyamano <yyamano> | 2003-02-12 15:29:24 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2003-02-12 15:29:24 +0000 |
commit | 4307b37d7cb29deefdb591e65f33e2b4c237e7d3 (patch) | |
tree | 88d6304be8c4627e7a9e4d3d0d6ae9cbe2c261e9 /sysutils | |
parent | 008f542dedb21820cbb178273d51dce8be81b41f (diff) | |
download | pkgsrc-4307b37d7cb29deefdb591e65f33e2b4c237e7d3.tar.gz |
Make this work on Darwin. Use same ps option as NetBSD's one.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pstree/distinfo | 3 | ||||
-rw-r--r-- | sysutils/pstree/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/pstree/distinfo b/sysutils/pstree/distinfo index aba3e1b357a..2b54e0c9dc3 100644 --- a/sysutils/pstree/distinfo +++ b/sysutils/pstree/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.3 2002/12/25 22:44:53 mjl Exp $ +$NetBSD: distinfo,v 1.4 2003/02/12 15:29:24 yyamano Exp $ SHA1 (pstree-2.17.tar.gz) = 0cdb4693e72bc62cd5bdd50b0848f93f1b6b415a Size (pstree-2.17.tar.gz) = 7750 bytes +SHA1 (patch-aa) = 188502437f7f6c0bd593f8be6d8f5719e73e6221 diff --git a/sysutils/pstree/patches/patch-aa b/sysutils/pstree/patches/patch-aa new file mode 100644 index 00000000000..122e906b529 --- /dev/null +++ b/sysutils/pstree/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2003/02/12 15:29:25 yyamano Exp $ + +--- pstree.c.orig Mon Dec 17 21:18:02 2001 ++++ pstree.c +@@ -177,7 +177,7 @@ + # define UID2USER + # define PSCMD "ps laxw" + # define PSFORMAT "%*s %ld %ld %ld %*d %*g %*d %*d %*21c %*s %[^\n]" +-#elif defined(__NetBSD__) || defined(__OpenBSD__) ++#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) + /* NetBSD contributed by Gary D. Duzan <gary@wheel.tiac.net> */ + # define HAS_PGID + # define PSCMD "ps -axwwo user,pid,ppid,pgid,command" |