diff options
-rw-r--r-- | sysutils/py-psutil/Makefile | 3 | ||||
-rw-r--r-- | sysutils/py-psutil/distinfo | 4 | ||||
-rw-r--r-- | sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c | 9 |
3 files changed, 7 insertions, 9 deletions
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile index 6b42303990c..83410352c1c 100644 --- a/sysutils/py-psutil/Makefile +++ b/sysutils/py-psutil/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2015/12/01 14:07:36 ryoon Exp $ +# $NetBSD: Makefile,v 1.13 2015/12/04 09:42:18 ryoon Exp $ DISTNAME= psutil-release-3.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-release//} +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=giampaolo/} GITHUB_PROJECT= psutil diff --git a/sysutils/py-psutil/distinfo b/sysutils/py-psutil/distinfo index 33d1aa0dcbc..f443d80f47d 100644 --- a/sysutils/py-psutil/distinfo +++ b/sysutils/py-psutil/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2015/12/01 14:07:36 ryoon Exp $ +$NetBSD: distinfo,v 1.11 2015/12/04 09:42:18 ryoon Exp $ SHA1 (psutil-release-3.3.0.tar.gz) = e1a1ff558a90ad48302ad4aaf485a1841d67ee89 RMD160 (psutil-release-3.3.0.tar.gz) = 59ddfcdd2bdaa4274ff22e40da021c0ff69191a1 @@ -8,7 +8,7 @@ SHA1 (patch-psutil_____init____.py) = 40b3108ab934ed8529a3989eda331d9d2cf2b7af SHA1 (patch-psutil___psbsd.py) = e80fd4dcfad88468963d67c90b79c09625c43d1c SHA1 (patch-psutil___psutil__bsd.c) = 4efa4ae9fcd16961e3bca987726732260214b635 SHA1 (patch-psutil___psutil__posix.c) = 6a01a7d45481ab1f512ef90164548a8a8b5cb831 -SHA1 (patch-psutil_arch_bsd_netbsd.c) = 2613cc24b9c25469d67bac3bc30b09d3e391919f +SHA1 (patch-psutil_arch_bsd_netbsd.c) = a1183af4f7745c9774e01e3b3addf5f817a084ef SHA1 (patch-psutil_arch_bsd_netbsd.h) = 4d58a458b10e34e4fac862cc70e53b9faf65dcb0 SHA1 (patch-psutil_arch_bsd_netbsd__socks.c) = f02ef45768ba34ede2ace38901ee59a15b817537 SHA1 (patch-psutil_arch_bsd_netbsd__socks.h) = a0af0fe10b7d5243cfc89cb23a863fd819b6cfcc diff --git a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c b/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c index a924a2c1217..e614289b300 100644 --- a/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c +++ b/sysutils/py-psutil/patches/patch-psutil_arch_bsd_netbsd.c @@ -1,8 +1,8 @@ -$NetBSD: patch-psutil_arch_bsd_netbsd.c,v 1.1 2015/12/01 14:07:36 ryoon Exp $ +$NetBSD: patch-psutil_arch_bsd_netbsd.c,v 1.2 2015/12/04 09:42:18 ryoon Exp $ ---- psutil/arch/bsd/netbsd.c.orig 2015-11-30 22:46:00.000000000 +0000 +--- psutil/arch/bsd/netbsd.c.orig 2015-12-04 06:20:21.000000000 +0000 +++ psutil/arch/bsd/netbsd.c -@@ -0,0 +1,665 @@ +@@ -0,0 +1,662 @@ +/* + * Copyright (c) 2009, Giampaolo Rodola', Landry Breuil. + * All rights reserved. @@ -485,12 +485,9 @@ $NetBSD: patch-psutil_arch_bsd_netbsd.c,v 1.1 2015/12/01 14:07:36 ryoon Exp $ + int cnt; + + struct kinfo_file *freep; -+ kinfo_proc kipp; + + if (! PyArg_ParseTuple(args, "l", &pid)) + return NULL; -+ if (psutil_kinfo_proc(pid, &kipp) == -1) -+ return NULL; + + freep = kinfo_getfile(pid, &cnt); + if (freep == NULL) { |