powertop: patch to fix vertical scrolling

From mailing list (thanks!).
This commit is contained in:
Will Dietz
2019-03-22 14:17:18 -05:00
parent ea34ad0e43
commit a5a26cfa86
2 changed files with 17 additions and 1 deletions
+4 -1
View File
@@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
url = "https://git.alpinelinux.org/cgit/aports/plain/main/powertop/strerror_r.patch?id=3b9214d436f1611f297b01f72469d66bfe729d6e";
sha256 = "1kzddhcrb0n2iah4lhgxwwy4mkhq09ch25jjngyq6pdj6pmfkpfw";
}
);
) ++ [
# Fix vertical scrolling, see: https://lists.01.org/pipermail/powertop/2019-March/002046.html
./fix-vertical-scrolling.patch
];
postPatch = ''
substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe"