From 5e7a7d92156584720b12820114dc1b94e3dab754 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 31 Jan 2019 11:47:25 -0200 Subject: [PATCH] intel-undervolt: update to 1.6. --- srcpkgs/intel-undervolt/patches/fix-musl.patch | 13 +++++++++++++ srcpkgs/intel-undervolt/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/intel-undervolt/patches/fix-musl.patch diff --git a/srcpkgs/intel-undervolt/patches/fix-musl.patch b/srcpkgs/intel-undervolt/patches/fix-musl.patch new file mode 100644 index 00000000000..8151271288a --- /dev/null +++ b/srcpkgs/intel-undervolt/patches/fix-musl.patch @@ -0,0 +1,13 @@ +diff --git a/measure.c b/measure.c +index e692ea6..7ce108e 100644 +--- measure.c ++++ measure.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + #define DIR_POWERCAP "/sys/class/powercap" + #define DIR_HWMON "/sys/class/hwmon" + diff --git a/srcpkgs/intel-undervolt/template b/srcpkgs/intel-undervolt/template index d0c157c3add..47465d6cd91 100644 --- a/srcpkgs/intel-undervolt/template +++ b/srcpkgs/intel-undervolt/template @@ -1,7 +1,7 @@ # Template file for 'intel-undervolt' pkgname=intel-undervolt -version=1.5 -revision=2 +version=1.6 +revision=1 build_style=gnu-makefile conf_files="/etc/intel-undervolt.conf" short_desc="Intel CPU undervolting tool" @@ -9,7 +9,7 @@ maintainer="Renato Aguiar " license="GPL-3.0-or-later" homepage="https://github.com/kitsunyan/intel-undervolt" distfiles="https://github.com/kitsunyan/intel-undervolt/archive/${version}.tar.gz" -checksum=cf30fb2651eee8bb15e89be7964157ebe0aeeb1bb518ec1706cd508b147348f4 +checksum=8ec57c14a9f95eb29e3f6349b935c577fa1b8567e1c3c5337f9d11d05448815d post_install() { rm "${DESTDIR}"/*.service