summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2009-01-12 21:05:48 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2009-01-12 21:05:48 +0000
commitb6464a97ecedc204ae278080d3dc6f11830c52d6 (patch)
tree39167db7e95d15cd17229403e4889ede50974d03
parent89aac22face8f9c8029c597e99b69e64033dadcf (diff)
downloadlibgtop-b6464a97ecedc204ae278080d3dc6f11830c52d6.tar.gz
Fixed Darwin build. Patch by "paul" <ephraim_owns@hotmail.com>. See
Fixed Darwin build. Patch by "paul" <ephraim_owns@hotmail.com>. See #556904. svn path=/branches/gnome-2-24/; revision=2792
-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