openafs: add patch for glibc 2.26

This commit is contained in:
Joerg Thalheim 2017-11-08 20:24:34 +00:00
parent 55e6a5a4da
commit 4d2c2d8d9f

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchgit, which, autoconf, automake, flex, yacc,
kernel, glibc, ncurses, perl, kerberos }:
kernel, glibc, ncurses, perl, kerberos, fetchpatch }:
stdenv.mkDerivation rec {
name = "openafs-${version}-${kernel.version}";
@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
patches = [
(fetchpatch {
url = "https://github.com/openafs/openafs/commit/c4dfc48b9a1294b3484ced632968da20552cc0c4.patch";
sha256 = "1yc4gygcazwsslf6mzk1ai92as5jbsjv7212jcbb2dw83jydhc09";
})
];
preConfigure = ''
ln -s "${kernel.dev}/lib/modules/"*/build $TMP/linux