slackbuilds_ponce/system/i8kutils/fix_i8kmon_toggle_fan.patch
David Spencer 28219b121a 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>
2016-01-17 09:40:16 +07:00

11 lines
294 B
Diff

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