summaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/all/cpupower-bump-soname-version.patch
blob: 5691bd4545c18b1995d765c2e86e549b9fc03b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Ben Hutchings <ben@decadent.org.uk>
Date: Thu, 9 Jun 2016 23:35:08 +0100
Subject: cpupower: Bump soname version
Forwarded: http://mid.gmane.org/20160610005619.GQ7555@decadent.org.uk

Several functions in the libcpupower API are renamed or removed in
Linux 4.7.  This is an backward-incompatible ABI change, so the
library soname should change from libcpupower.so.0 to
libcpupower.so.1.

Fixes: ac5a181d065d ("cpupower: Add cpuidle parts into library")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 tools/power/cpupower/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/tools/power/cpupower/Makefile
===================================================================
--- linux.orig/tools/power/cpupower/Makefile
+++ linux/tools/power/cpupower/Makefile
@@ -66,7 +66,7 @@ DESTDIR ?=
 
 VERSION=			$(shell ./utils/version-gen.sh)
 LIB_MAJ=			0.0.1
-LIB_MIN=			0
+LIB_MIN=			1
 
 PACKAGE =			cpupower
 PACKAGE_BUGREPORT =		linux-pm@vger.kernel.org