diff options
Diffstat (limited to 'system/thermald')
-rw-r--r-- | system/thermald/thd.patch | 10 | ||||
-rw-r--r-- | system/thermald/thermald.SlackBuild | 6 |
2 files changed, 14 insertions, 2 deletions
diff --git a/system/thermald/thd.patch b/system/thermald/thd.patch new file mode 100644 index 0000000000..a01cb26a1e --- /dev/null +++ b/system/thermald/thd.patch @@ -0,0 +1,10 @@ +--- thermal_daemon-1.8/src/thd_trip_point.h.orig 2018-12-07 22:13:19.488982481 +0700 ++++ thermal_daemon-1.8/src/thd_trip_point.h 2018-12-07 22:13:41.065159329 +0700 +@@ -33,6 +33,7 @@ + #include <vector> + #include <algorithm> // std::sort + #include <stdexcept> ++#include <stdint.h> + + typedef enum { + CRITICAL, HOT, MAX, PASSIVE, ACTIVE, POLLING, INVALID_TRIP_TYPE diff --git a/system/thermald/thermald.SlackBuild b/system/thermald/thermald.SlackBuild index 5be10b7d5f..bbee988722 100644 --- a/system/thermald/thermald.SlackBuild +++ b/system/thermald/thermald.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for thermald # Copyright 2017 Aaditya Bagga <aaditya_gnulinux@zoho.com> -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ PRGNAM=thermald SRCNAM=thermal_daemon VERSION=${VERSION:-1.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,6 +71,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/thd.patch + ./autogen.sh ./configure \ --prefix=/usr \ |