summaryrefslogtreecommitdiff
path: root/system/i8kutils/fix_i8kmon_toggle_fan.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-31 15:37:29 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit28219b121a5e00b6d8fe6d4853caa9fedc8c8212 (patch)
treebb6b47d79da2609721ac87a595f459d2d66a335e /system/i8kutils/fix_i8kmon_toggle_fan.patch
parentcc33834efff858fc86a0a3a73c9c1bc856176922 (diff)
downloadslackbuilds-28219b121a5e00b6d8fe6d4853caa9fedc8c8212.tar.gz
system/i8kutils: Patched to fix build with gcc-5.3.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/i8kutils/fix_i8kmon_toggle_fan.patch')
-rw-r--r--system/i8kutils/fix_i8kmon_toggle_fan.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/i8kutils/fix_i8kmon_toggle_fan.patch b/system/i8kutils/fix_i8kmon_toggle_fan.patch
new file mode 100644
index 0000000000..146bf7e4f2
--- /dev/null
+++ b/system/i8kutils/fix_i8kmon_toggle_fan.patch
@@ -0,0 +1,11 @@
+diff -Naur i8kutils/i8kmon new/i8kmon
+--- i8kutils/i8kmon 2015-05-21 11:33:21.596018503 +0200
++++ new/i8kmon 2015-05-21 11:35:11.958867344 +0200
+@@ -430,6 +430,7 @@
+
+ proc toggle_fan {fan {speed {}}} {
+ global status
++ global config
+
+ if {$speed != {}} {
+ set status($fan) $speed