mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
intel-undervolt: update to 1.6.
This commit is contained in:
parent
00ac41cfe5
commit
5e7a7d9215
2 changed files with 16 additions and 3 deletions
13
srcpkgs/intel-undervolt/patches/fix-musl.patch
Normal file
13
srcpkgs/intel-undervolt/patches/fix-musl.patch
Normal file
|
@ -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 <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
+#include <sys/types.h>
|
||||||
|
|
||||||
|
#define DIR_POWERCAP "/sys/class/powercap"
|
||||||
|
#define DIR_HWMON "/sys/class/hwmon"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'intel-undervolt'
|
# Template file for 'intel-undervolt'
|
||||||
pkgname=intel-undervolt
|
pkgname=intel-undervolt
|
||||||
version=1.5
|
version=1.6
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
conf_files="/etc/intel-undervolt.conf"
|
conf_files="/etc/intel-undervolt.conf"
|
||||||
short_desc="Intel CPU undervolting tool"
|
short_desc="Intel CPU undervolting tool"
|
||||||
|
@ -9,7 +9,7 @@ maintainer="Renato Aguiar <renato@renag.me>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/kitsunyan/intel-undervolt"
|
homepage="https://github.com/kitsunyan/intel-undervolt"
|
||||||
distfiles="https://github.com/kitsunyan/intel-undervolt/archive/${version}.tar.gz"
|
distfiles="https://github.com/kitsunyan/intel-undervolt/archive/${version}.tar.gz"
|
||||||
checksum=cf30fb2651eee8bb15e89be7964157ebe0aeeb1bb518ec1706cd508b147348f4
|
checksum=8ec57c14a9f95eb29e3f6349b935c577fa1b8567e1c3c5337f9d11d05448815d
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm "${DESTDIR}"/*.service
|
rm "${DESTDIR}"/*.service
|
||||||
|
|
Loading…
Add table
Reference in a new issue