diff options
author | Will Andrews <will@FreeBSD.org> | 2002-05-20 06:17:57 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-05-20 06:17:57 +0000 |
commit | 5b52f8b8f7bdaba5f169660c74f63deb7012fc92 (patch) | |
tree | fbbb1f5da889c47bed8553ccfeecbc64a415fc02 /x11/kdebase4-runtime/files/patch-ksysguard-ksysguardd-modules.h | |
parent | upgrade to 4.7.2 (diff) |
Fix build on alpha.
Submitted by: gallatin
Diffstat (limited to '')
-rw-r--r-- | x11/kdebase4-runtime/files/patch-ksysguard-ksysguardd-modules.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/kdebase4-runtime/files/patch-ksysguard-ksysguardd-modules.h b/x11/kdebase4-runtime/files/patch-ksysguard-ksysguardd-modules.h new file mode 100644 index 000000000000..ef7ca4c0fef2 --- /dev/null +++ b/x11/kdebase4-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 |