ports/146451: [maintainer update] sysutils/py-psutil
Ju Pengfei
jupengfei at gmail.com
Mon May 10 03:30:09 UTC 2010
>Number: 146451
>Category: ports
>Synopsis: [maintainer update] sysutils/py-psutil
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 10 03:30:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ju Pengfei
>Release: 8.0-RELEASE-p2
>Organization:
Ju Pengfei
>Environment:
>Description:
Fixed: failed on FreeBSD 6.x
>How-To-Repeat:
>Fix:
Apply this patch, thanks.
Patch attached with submission follows:
diff -ruN py-psutil.bak/files/patch-psutil_arch_bsd_process_info.c py-psutil/files/patch-psutil_arch_bsd_process_info.c
--- py-psutil.bak/files/patch-psutil_arch_bsd_process_info.c 1970-01-01 08:00:00.000000000 +0800
+++ py-psutil/files/patch-psutil_arch_bsd_process_info.c 2010-05-10 11:14:34.000000000 +0800
@@ -0,0 +1,10 @@
+--- psutil/arch/bsd/process_info.c.orig 2009-09-15 05:45:29.000000000 +0800
++++ psutil/arch/bsd/process_info.c 2010-05-10 11:10:37.000000000 +0800
+@@ -13,6 +13,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
++#include <sys/param.h>
+ #include <sys/user.h>
+ #include <sys/proc.h>
+
diff -ruN py-psutil.bak/files/patch-psutil_psutil_bsd.c py-psutil/files/patch-psutil_psutil_bsd.c
--- py-psutil.bak/files/patch-psutil_psutil_bsd.c 1970-01-01 08:00:00.000000000 +0800
+++ py-psutil/files/patch-psutil_psutil_bsd.c 2010-05-10 11:14:34.000000000 +0800
@@ -0,0 +1,10 @@
+--- psutil/_psutil_bsd.c.orig 2009-09-14 21:36:29.000000000 +0800
++++ psutil/_psutil_bsd.c 2010-05-10 11:10:18.000000000 +0800
+@@ -12,6 +12,7 @@
+ #include <signal.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
++#include <sys/param.h>
+ #include <sys/user.h>
+ #include <sys/proc.h>
+ #include <sys/vmmeter.h> /* needed for vmtotal struct */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list