summaryrefslogtreecommitdiff
path: root/sysutils/pstree/patches
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2008-02-05 14:07:05 +0000
committerreed <reed@pkgsrc.org>2008-02-05 14:07:05 +0000
commit84e2b0dfb9dca8a403b6688718f9a9ca40fc7add (patch)
tree4218b4d8f3ba270e4bff4467002907adb4e7051f /sysutils/pstree/patches
parent53117e64bf3c7c6251f603f66828b78efd93a2c9 (diff)
downloadpkgsrc-84e2b0dfb9dca8a403b6688718f9a9ca40fc7add.tar.gz
Bump PKGREVISION for pstree, because it packaged before but didn't work
(on DragonFly). Fix DragonFly support. This is for PR #35832. Thank you, fuyuki, for the patch. I didn't commit the other bug fix, because it was already fixed (even though I didn't see in the change log at end of source).
Diffstat (limited to 'sysutils/pstree/patches')
-rw-r--r--sysutils/pstree/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/pstree/patches/patch-aa b/sysutils/pstree/patches/patch-aa
new file mode 100644
index 00000000000..20090341d3f
--- /dev/null
+++ b/sysutils/pstree/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2008/02/05 14:07:05 reed Exp $
+
+--- /build/reed/tmp/pkgsrc/sysutils/pstree/work.reed/pstree.c.orig 2008-02-05 05:56:52.000000000 -0800
++++ /build/reed/tmp/pkgsrc/sysutils/pstree/work.reed/pstree.c 2008-02-05 05:58:25.000000000 -0800
+@@ -63,7 +63,7 @@
+ # define PSVARS &P[i].uid, &P[i].pid, &P[i].ppid, &P[i].pgid, P[i].cmd
+ # define PSVARSN 5
+ /************************************************************************/
+-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
+ /* NetBSD contributed by Gary D. Duzan <gary AT wheel.tiac.net>
+ * FreeBSD contributed by Randall Hopper <rhh AT ct.picker.com>
+ * Darwin / Mac OS X patch by Yuji Yamano <yyamano AT kt.rim.or.jp>