powertop: update to 2.15.

This commit is contained in:
icp 2023-01-10 01:04:02 +05:30 committed by John Zimmermann
parent 574d033a9f
commit bed5ee8e2c
2 changed files with 4 additions and 26 deletions

View file

@ -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" {

View file

@ -1,16 +1,16 @@
# Template file for 'powertop'
pkgname=powertop
version=2.14
revision=2
version=2.15
revision=1
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"
short_desc="Tool to diagnose issues with power consumption and power management"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-2.0-only"
homepage="https://github.com/fenrus75/powertop"
distfiles="https://github.com/fenrus75/powertop/archive/refs/tags/v${version}.tar.gz"
checksum=0e4cd0933a4f1fe04bfbf9d56efaabc841d9b04d391426f1a3469d6635a25f37
checksum=e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49
LDFLAGS="-lpthread"