summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2016-10-13 21:48:26 +0000
committerryoon <ryoon@pkgsrc.org>2016-10-13 21:48:26 +0000
commit7e01320690e8745b9317c66e8e0752b455567f1f (patch)
tree730ed7adbb7267850e8a340722a5c6d8a48c47e2
parenta92c54fc6ca670ed5028b240e7a814c2a98aae29 (diff)
downloadpkgsrc-7e01320690e8745b9317c66e8e0752b455567f1f.tar.gz
Bump PKGREVISION. Fix kvm_getproc2 argument init.
It was my misunderstanding.
-rw-r--r--sysutils/open-vm-tools/Makefile4
-rw-r--r--sysutils/open-vm-tools/distinfo4
-rw-r--r--sysutils/open-vm-tools/patches/patch-bf4
3 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/open-vm-tools/Makefile b/sysutils/open-vm-tools/Makefile
index df7f0341826..7f7af4235c2 100644
--- a/sysutils/open-vm-tools/Makefile
+++ b/sysutils/open-vm-tools/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.60 2016/10/12 13:57:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.61 2016/10/13 21:48:26 ryoon Exp $
DISTNAME= open-vm-tools-10.0.7-3227872
PKGNAME= open-vm-tools-10.0.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://github.com/vmware/open-vm-tools/files/133266/
diff --git a/sysutils/open-vm-tools/distinfo b/sysutils/open-vm-tools/distinfo
index 4727f416735..82a30ec2437 100644
--- a/sysutils/open-vm-tools/distinfo
+++ b/sysutils/open-vm-tools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2016/10/12 13:57:13 ryoon Exp $
+$NetBSD: distinfo,v 1.14 2016/10/13 21:48:26 ryoon Exp $
SHA1 (open-vm-tools-10.0.7-3227872.tar.gz) = cd22a3d79d68de46647e8add78bcaf829bb0598d
RMD160 (open-vm-tools-10.0.7-3227872.tar.gz) = df8cfa62ffd0fbba0432cb0deac0f202b2278625
@@ -22,7 +22,7 @@ SHA1 (patch-bb) = e22d082689016d81add208e1d3b31d9d897d36e8
SHA1 (patch-bc) = c2f316cd9035648676fd9d0d7e40fc7f6bf5c8d4
SHA1 (patch-bd) = eacc267fad7021a96ee435e8fc41c82fb49d9c5f
SHA1 (patch-be) = 4e4f88df81daf40769b38d1ddd49fbf5e8d8d1eb
-SHA1 (patch-bf) = b3fd95f533f3191a6c2ee6a6540218d25d15623d
+SHA1 (patch-bf) = e902ad24ed7e9616aa57d07cd3485ba3870ba51b
SHA1 (patch-bh) = 86793b6411a64d3189f47d5236f2a6f4c9fff05c
SHA1 (patch-bm) = 219f196fc07e3746e9e6eb340be5e647544a255a
SHA1 (patch-bt) = 34c85d8d994c33fb4e18f76bb8b6baa41098f23e
diff --git a/sysutils/open-vm-tools/patches/patch-bf b/sysutils/open-vm-tools/patches/patch-bf
index 9d604f1bacd..22f0555d1d3 100644
--- a/sysutils/open-vm-tools/patches/patch-bf
+++ b/sysutils/open-vm-tools/patches/patch-bf
@@ -1,4 +1,4 @@
-$NetBSD: patch-bf,v 1.3 2016/10/12 13:57:13 ryoon Exp $
+$NetBSD: patch-bf,v 1.4 2016/10/13 21:48:26 ryoon Exp $
--- lib/procMgr/procMgrPosix.c.orig 2016-02-16 20:06:46.000000000 +0000
+++ lib/procMgr/procMgrPosix.c
@@ -53,7 +53,7 @@ $NetBSD: patch-bf,v 1.3 2016/10/12 13:57:13 ryoon Exp $
* Get the list of process info structs
*/
+#if defined(__NetBSD__)
-+ int elemsize = INT_MAX;
++ int elemsize = sizeof(struct kinfo_proc2);
+ kp = kvm_getproc2(kd, KERN_PROC_ALL, flag, elemsize, &nentries);
+#else
kp = kvm_getprocs(kd, KERN_PROC_PROC, flag, &nentries);