mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Merge #61181: spl: fix build with linux 5.1
This commit is contained in:
commit
359a7340d7
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./install_prefix.patch ];
|
||||
|
||||
# Backported fix for 0.7.13 to build with 5.1, please remove when updating to 0.7.14
|
||||
postPatch = optionalString (versionAtLeast kernel.version "5.1") ''
|
||||
sed -i 's/get_ds()/KERNEL_DS/g' module/spl/spl-vnode.c
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ] ++ kernel.moduleBuildDependencies;
|
||||
|
||||
hardeningDisable = [ "fortify" "stackprotector" "pic" ];
|
||||
|
Loading…
Reference in New Issue
Block a user