Merge pull request #69161 from artemist/openafs-linux_5_3

linuxPackages_5_3.openafs_1_8: fix build
This commit is contained in:
Dmitry Kalinkin 2019-09-20 14:52:12 -04:00 committed by GitHub
commit 55d63efdc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, which, autoconf, automake, flex, yacc
, kernel, glibc, perl, libtool_2, kerberos }:
, kernel, glibc, perl, libtool_2, kerberos, fetchpatch }:
with (import ./srcs.nix { inherit fetchurl; });
@ -11,6 +11,20 @@ in stdenv.mkDerivation {
name = "openafs-${version}-${kernel.modDirVersion}";
inherit version src;
patches = [
# Linux 5.3
(fetchpatch {
name = "openafs_1_8-recurse-keyring_search.patch";
url = "http://git.openafs.org/?p=openafs.git;a=patch;h=02d82275c17284d04629282aa374bb39f511c989";
sha256 = "03pkldwf6i67yf6i1705qp18rx5b0b342ryda8vfjw9lnvpinygs";
})
(fetchpatch {
name = "openafs_1_8-send-sig.patch";
url = "http://git.openafs.org/?p=openafs.git;a=patch;h=2b7af1243f46496c0b5973b3fa2a6396243f7613";
sha256 = "13gyh5ncpp15dl7056gdzl5xhp2bmafc557bd2a4bwx9nyj53bag";
})
];
nativeBuildInputs = [ autoconf automake flex libtool_2 perl which yacc ]
++ kernel.moduleBuildDependencies;