Merge pull request #38954 from xeji/p/extundelete
extundelete: fix build with e2fsprogs 1.44
This commit is contained in:
commit
c79f3d8efb
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ e2fsprogs ];
|
||||
|
||||
# inode field i_dir_acl was repurposed as i_size_high in e2fsprogs 1.44,
|
||||
# breaking the build
|
||||
patchPhase = ''
|
||||
substituteInPlace src/insertionops.cc \
|
||||
--replace "Directory ACL:" "High 32 bits of size:" \
|
||||
--replace "inode.i_dir_acl" "inode.i_size_high"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utility that can recover deleted files from an ext3 or ext4 partition";
|
||||
homepage = http://extundelete.sourceforge.net/;
|
||||
|
Loading…
Reference in New Issue
Block a user