3
0
Fork 0
forked from mirrors/nixpkgs

linuxPackages.acpi_call: add patch for 4.12 compat

This commit is contained in:
Franz Pletz 2017-07-29 04:51:59 +02:00
parent b449722886
commit 65f9631b87
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, kernel }:
{ stdenv, fetchgit, fetchpatch, kernel }:
stdenv.mkDerivation {
name = "acpi-call-${kernel.version}";
@ -9,6 +9,13 @@ stdenv.mkDerivation {
sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75";
};
patches = [
(fetchpatch {
url = "https://github.com/mkottman/acpi_call/pull/67.patch";
sha256 = "0z07apvdl8nvl8iwfk1sl1iidfjyx12fc0345bmp2nq1537kpbri";
})
];
hardeningDisable = [ "pic" ];
preBuild = ''