Skip to content

Commit

Permalink
openafs: add patch for glibc 2.26
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 8, 2017
1 parent 55e6a5a commit 4d2c2d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/servers/openafs-client/default.nix
@@ -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}";
Expand All @@ -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
Expand Down

0 comments on commit 4d2c2d8

Please sign in to comment.