diff options
Diffstat (limited to 'x11/kde4-runtime/files/patch-ksysguard-ksysguardd-modules.h')
-rw-r--r-- | x11/kde4-runtime/files/patch-ksysguard-ksysguardd-modules.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/patch-ksysguard-ksysguardd-modules.h b/x11/kde4-runtime/files/patch-ksysguard-ksysguardd-modules.h new file mode 100644 index 000000000000..ef7ca4c0fef2 --- /dev/null +++ b/x11/kde4-runtime/files/patch-ksysguard-ksysguardd-modules.h @@ -0,0 +1,32 @@ +--- ksysguard/ksysguardd/modules.h.orig Sat May 4 16:49:24 2002 ++++ ksysguard/ksysguardd/modules.h Sat May 4 16:52:34 2002 +@@ -45,7 +45,9 @@ + #include "CPU.h" + #include "Memory.h" + #include "ProcessList.h" ++#ifdef __i386__ + #include "apm.h" ++#endif + #include "diskstat.h" + #include "loadavg.h" + #include "logfile.h" +@@ -104,13 +106,19 @@ + { "CpuInfo", initCpuInfo, exitCpuInfo, updateCpuInfo, NULLVVFUNC }, + { "Memory", initMemory, exitMemory, updateMemory, NULLVVFUNC }, + { "ProcessList", initProcessList, exitProcessList, updateProcessList, NULLVVFUNC }, ++#ifdef __i386__ + { "Apm", initApm, exitApm, updateApm, NULLVVFUNC }, ++#endif + { "DiskStat", initDiskStat, exitDiskStat, updateDiskStat, checkDiskStat }, + { "LoadAvg", initLoadAvg, exitLoadAvg, updateLoadAvg, NULLVVFUNC }, + { "LogFile", initLogFile, exitLogFile, NULLVVFUNC, NULLVVFUNC }, + { "NetDev", initNetDev, exitNetDev, updateNetDev, checkNetDev }, + }; ++#ifdef __i386__ + #define NUM_MODULES 8 ++#else ++#define NUM_MODULES 7 ++#endif + #endif /* OSTYPE_FreeBSD */ + + #ifdef OSTYPE_Solaris |