ports/sysutils/htop/files/patch-Process.h
Rong-En Fan a275b9de9c - Update to 0.8
- Enable unicode support
- Disable plsa lib (CPU affinity)

PR:		ports/125671
Submitted by:	Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
Approved by:	Tony Shadwick <tshadwick at oss-solutions.com> (maintainer)
2008-07-18 04:14:47 +00:00

24 lines
583 B
C

--- Process.h.orig 2008-03-15 02:42:15.000000000 +0800
+++ Process.h 2008-07-16 12:52:37.000000000 +0800
@@ -31,7 +31,9 @@
#include <pwd.h>
#include <sched.h>
+#if 0
#include <plpa.h>
+#endif
// This works only with glibc 2.1+. On earlier versions
// the behavior is similar to have a hardcoded page size.
@@ -166,9 +168,11 @@
bool Process_setPriority(Process* this, int priority);
+#if 0
unsigned long Process_getAffinity(Process* this);
bool Process_setAffinity(Process* this, unsigned long mask);
+#endif
void Process_sendSignal(Process* this, int signal);