mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
powertop: update to 2.15.
This commit is contained in:
parent
574d033a9f
commit
bed5ee8e2c
2 changed files with 4 additions and 26 deletions
|
@ -1,22 +0,0 @@
|
||||||
--- a/src/devices/devfreq.h
|
|
||||||
+++ b/src/devices/devfreq.h
|
|
||||||
@@ -25,6 +25,7 @@
|
|
||||||
#ifndef _INCLUDE_GUARD_DEVFREQ_H
|
|
||||||
#define _INCLUDE_GUARD_DEVFREQ_H
|
|
||||||
|
|
||||||
+#include <sys/time.h>
|
|
||||||
#include "device.h"
|
|
||||||
#include "../parameters/parameters.h"
|
|
||||||
|
|
||||||
diff --git a/src/perf/perf.h b/src/perf/perf.h
|
|
||||||
index ee072ae06d24..932588a684f9 100644
|
|
||||||
--- a/src/perf/perf.h
|
|
||||||
+++ b/src/perf/perf.h
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
#define _INCLUDE_GUARD_PERF_H_
|
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
+#include <stdio.h>
|
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'powertop'
|
# Template file for 'powertop'
|
||||||
pkgname=powertop
|
pkgname=powertop
|
||||||
version=2.14
|
version=2.15
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake gettext-devel libtool pkg-config"
|
hostmakedepends="automake autoconf-archive gettext-devel libtool pkg-config"
|
||||||
makedepends="ncurses-devel pciutils-devel libnl3-devel"
|
makedepends="ncurses-devel pciutils-devel libnl3-devel"
|
||||||
short_desc="Tool to diagnose issues with power consumption and power management"
|
short_desc="Tool to diagnose issues with power consumption and power management"
|
||||||
maintainer="Frank Steinborn <steinex@nognu.de>"
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://github.com/fenrus75/powertop"
|
homepage="https://github.com/fenrus75/powertop"
|
||||||
distfiles="https://github.com/fenrus75/powertop/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/fenrus75/powertop/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=0e4cd0933a4f1fe04bfbf9d56efaabc841d9b04d391426f1a3469d6635a25f37
|
checksum=e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49
|
||||||
|
|
||||||
LDFLAGS="-lpthread"
|
LDFLAGS="-lpthread"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue