linuxPackages.acpi_call: add patch for 4.12 compat
This commit is contained in:
parent
b449722886
commit
65f9631b87
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, kernel }:
|
{ stdenv, fetchgit, fetchpatch, kernel }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "acpi-call-${kernel.version}";
|
name = "acpi-call-${kernel.version}";
|
||||||
@ -9,6 +9,13 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75";
|
sha256 = "0jl19irz9x9pxab2qp4z8c3jijv2m30zhmnzi6ygbrisqqlg4c75";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/mkottman/acpi_call/pull/67.patch";
|
||||||
|
sha256 = "0z07apvdl8nvl8iwfk1sl1iidfjyx12fc0345bmp2nq1537kpbri";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user