summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2009-02-16 22:57:54 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2009-02-16 22:57:54 +0000
commitd541cf22ef2efd8caa9f4b5a46b043ccb4ff77bc (patch)
treecd0be5a7742924b3895a99e3952aed459e0d9ae0
parent35a0ac4f2c7016b2db717a3100942b4156b3ac64 (diff)
downloadlibgtop-d541cf22ef2efd8caa9f4b5a46b043ccb4ff77bc.tar.gz
r2792 | bdejean | 2009-01-12 22:05:48 +0100 (lun 12 jan 2009) | 4 lines
Fixed Darwin build. Patch by "paul" <ephraim_owns@hotmail.com>. See #556904. svn path=/trunk/; revision=2802
-rw-r--r--libgtop-sysdeps.m42
-rw-r--r--sysdeps/darwin/Makefile.am2
-rw-r--r--sysdeps/darwin/glibtop_server.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/libgtop-sysdeps.m4 b/libgtop-sysdeps.m4
index 54094d69..8721aacd 100644
--- a/libgtop-sysdeps.m4
+++ b/libgtop-sysdeps.m4
@@ -101,7 +101,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
libgtop_use_machine_h=yes
libgtop_need_server=yes
libgtop_have_sysinfo=yes
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
+ libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod g+s $(bindir)/libgtop_server2'
;;
*)
if test x$hacker_mode = xyes ; then
diff --git a/sysdeps/darwin/Makefile.am b/sysdeps/darwin/Makefile.am
index 2a9e9762..40776d57 100644
--- a/sysdeps/darwin/Makefile.am
+++ b/sysdeps/darwin/Makefile.am
@@ -6,7 +6,7 @@ libgtop_sysdeps_2_0_la_SOURCES = nosuid.c siglist.c sysinfo.c
libgtop_sysdeps_suid_2_0_la_SOURCES = open.c close.c \
cpu.c mem.c swap.c uptime.c loadavg.c shm_limits.c msg_limits.c \
-sem_limits.c proclist.c procstate.c procuid.c proctime.c \
+sem_limits.c procaffinity.c proclist.c procstate.c procuid.c proctime.c \
procmem.c procsignal.c prockernel.c procsegment.c procargs.c \
procmap.c netload.c ppp.c netlist.c procopenfiles.c procwd.c
diff --git a/sysdeps/darwin/glibtop_server.h b/sysdeps/darwin/glibtop_server.h
index 24af9dfe..5ca9a20f 100644
--- a/sysdeps/darwin/glibtop_server.h
+++ b/sysdeps/darwin/glibtop_server.h
@@ -44,6 +44,7 @@ G_BEGIN_DECLS
#define GLIBTOP_SUID_NETLIST 0
#define GLIBTOP_SUID_PPP (1 << GLIBTOP_SYSDEPS_PPP)
#define GLIBTOP_SUID_PROC_WD (1 << GLIBTOP_SYSDEPS_PROC_WD)
+#define GLIBTOP_SUID_PROC_AFFINITY 0
G_END_DECLS