Merge pull request #233219 from erdnaxe/ddcci-fix

ddcci-driver: fix kernel 6.2 and 6.3 compatibility
This commit is contained in:
Martin Weinelt 2023-05-21 16:02:14 +02:00 committed by GitHub
commit 4df6f5e6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
hash = "sha256-1Z6V/AorD4aslLKaaCZpmkD2OiQnmpu3iroOPlNPtLE=";
};
patches = [
# https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/merge_requests/12
(fetchpatch {
name = "kernel-6.2-6.3.patch";
url = "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/1ef6079679acc455f75057dd7097b5b494a241dc.patch";
hash = "sha256-2C2leS20egGY3J2tq96gsUQXYw13wBJ3ZWrdIXxmEYs=";
})
];
hardeningDisable = [ "pic" ];
nativeBuildInputs = kernel.moduleBuildDependencies;