mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
openafs: add patch for glibc 2.26
This commit is contained in:
parent
55e6a5a4da
commit
4d2c2d8d9f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user