powertop: 2.7 -> 2.8

This commit is contained in:
Alan Mizrahi 2016-08-15 18:59:24 +09:00
parent 84ad1f59d5
commit 5b3c003073
4 changed files with 7 additions and 26 deletions

View File

@ -1,6 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/powertop.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/powertop
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/powertop.8.gz

View File

@ -1,2 +1 @@
e0d686e47daaf7e9d89031f7763432ef powertop-2.7.tar.gz
1e8b0f482158db57a87fcd6074d0b699 powertop-autotune.patch
c55fedb69203e480801b18bd7b886241 powertop-2.8.tar.gz

View File

@ -5,23 +5,15 @@
# Depends on: ncurses libnl
name=powertop
version=2.7
version=2.8
release=1
source=(
https://01.org/sites/default/files/downloads/$name/$name-$version.tar.gz
$name-autotune.patch
)
source=(https://01.org/sites/default/files/downloads/$name/$name-$version.tar.gz)
build() {
cd $name-$version
# fix crash with --auto-tune:
# https://lists.01.org/pipermail/powertop/2014-December/001730.html
patch -p1 -i $SRC/$name-autotune.patch
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install

View File

@ -1,11 +0,0 @@
diff --git a/src/devices/devfreq.cpp b/src/devices/devfreq.cpp
index d2e56e3..4de5c9b 100644
--- a/src/devices/devfreq.cpp
+++ b/src/devices/devfreq.cpp
@@ -247,6 +247,7 @@ void create_all_devfreq_devices(void)
fprintf(stderr, "Devfreq not enabled\n");
is_enabled = false;
closedir(dir);
+ dir = NULL;
return;
}