summaryrefslogtreecommitdiff
path: root/sysutils/ksysguardd-kde4/files/patch-modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ksysguardd-kde4/files/patch-modules.h')
-rw-r--r--sysutils/ksysguardd-kde4/files/patch-modules.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/ksysguardd-kde4/files/patch-modules.h b/sysutils/ksysguardd-kde4/files/patch-modules.h
new file mode 100644
index 000000000000..c324abe657b5
--- /dev/null
+++ b/sysutils/ksysguardd-kde4/files/patch-modules.h
@@ -0,0 +1,13 @@
+* Silence a syntax warning
+
+--- modules.h.orig 2015-08-12 07:03:15 UTC
++++ modules.h
+@@ -144,7 +144,7 @@ struct SensorModul SensorModulList[] = {
+ { "Uptime", initUptime, exitUptime, NULLIVFUNC, NULLVVFUNC, 0, NULLTIME },
+ #endif /* OSTYPE_Linux */
+
+-#if defined OSTYPE_FreeBSD || defined OSTYPE_DragonFly
++#if defined(OSTYPE_FreeBSD) || defined(OSTYPE_DragonFly)
+ { "Acpi", initACPI, exitACPI, updateACPI, NULLVVFUNC, 0, NULLTIME },
+ #ifdef __i386__
+ { "Apm", initApm, exitApm, updateApm, NULLVVFUNC, 0, NULLTIME },