libgtop r2792 - in branches/gnome-2-24: . sysdeps/darwin



Author: bdejean
Date: Mon Jan 12 21:05:48 2009
New Revision: 2792
URL: http://svn.gnome.org/viewvc/libgtop?rev=2792&view=rev

Log:
Fixed Darwin build.
Patch by "paul" <ephraim_owns hotmail com>.
See #556904.


Modified:
   branches/gnome-2-24/libgtop-sysdeps.m4
   branches/gnome-2-24/sysdeps/darwin/Makefile.am
   branches/gnome-2-24/sysdeps/darwin/glibtop_server.h

Modified: branches/gnome-2-24/libgtop-sysdeps.m4
==============================================================================
--- branches/gnome-2-24/libgtop-sysdeps.m4	(original)
+++ branches/gnome-2-24/libgtop-sysdeps.m4	Mon Jan 12 21:05:48 2009
@@ -101,7 +101,7 @@
 	  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

Modified: branches/gnome-2-24/sysdeps/darwin/Makefile.am
==============================================================================
--- branches/gnome-2-24/sysdeps/darwin/Makefile.am	(original)
+++ branches/gnome-2-24/sysdeps/darwin/Makefile.am	Mon Jan 12 21:05:48 2009
@@ -6,7 +6,7 @@
 
 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
 

Modified: branches/gnome-2-24/sysdeps/darwin/glibtop_server.h
==============================================================================
--- branches/gnome-2-24/sysdeps/darwin/glibtop_server.h	(original)
+++ branches/gnome-2-24/sysdeps/darwin/glibtop_server.h	Mon Jan 12 21:05:48 2009
@@ -44,6 +44,7 @@
 #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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]