summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorreed <reed>2008-02-05 14:07:05 +0000
committerreed <reed>2008-02-05 14:07:05 +0000
commit857bbc693ea33603d5f8d5c70ec7d24b3715a348 (patch)
tree4218b4d8f3ba270e4bff4467002907adb4e7051f /sysutils
parent8668ac22ec9646d5bd2208a285f4359d235df4d2 (diff)
downloadpkgsrc-857bbc693ea33603d5f8d5c70ec7d24b3715a348.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')
-rw-r--r--sysutils/pstree/Makefile3
-rw-r--r--sysutils/pstree/distinfo3
-rw-r--r--sysutils/pstree/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/sysutils/pstree/Makefile b/sysutils/pstree/Makefile
index cefd8cae3db..6a974bf964d 100644
--- a/sysutils/pstree/Makefile
+++ b/sysutils/pstree/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2008/01/05 20:33:17 heinz Exp $
+# $NetBSD: Makefile,v 1.22 2008/02/05 14:07:05 reed Exp $
#
DISTNAME= pstree-2.32
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.thp.uni-duisburg.de/pub/source/
# http://fresh.t-systems-sfr.com/unix/src/misc/
diff --git a/sysutils/pstree/distinfo b/sysutils/pstree/distinfo
index 541d94b9069..2c8a2b355e9 100644
--- a/sysutils/pstree/distinfo
+++ b/sysutils/pstree/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2008/01/05 20:33:17 heinz Exp $
+$NetBSD: distinfo,v 1.9 2008/02/05 14:07:05 reed Exp $
SHA1 (pstree-2.32.tar.gz) = 78fd42e10c678290e50f169f0afb73f3a5cabca4
RMD160 (pstree-2.32.tar.gz) = 77de4c1186599d553d9fb8822d99fa371decdbb2
Size (pstree-2.32.tar.gz) = 10058 bytes
+SHA1 (patch-aa) = 31c88466785a2396b5383b8b74e8b86291428f3c
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>