ext4magic: fix build w/glibc-2.30
This commit is contained in:
parent
4f5830cf9e
commit
be238f8aef
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||
url = https://sourceforge.net/p/ext4magic/tickets/10/attachment/ext4magic-0.3.2-i_dir_acl.patch;
|
||||
sha256 = "1accydd8kigid68yir2fbihm3r3x8ws3iyznp25snkx41w6y6x8c";
|
||||
})
|
||||
./glibc-fix.patch
|
||||
];
|
||||
|
||||
buildInputs = [ file libuuid e2fsprogs zlib bzip2 ];
|
||||
|
12
pkgs/tools/filesystems/ext4magic/glibc-fix.patch
Normal file
12
pkgs/tools/filesystems/ext4magic/glibc-fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/recover.c b/src/recover.c
|
||||
index 41b4aee..30b5d8f 100644
|
||||
--- a/src/recover.c
|
||||
+++ b/src/recover.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <utime.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#ifndef O_LARGEFILE
|
||||
#define O_LARGEFILE 0
|
Loading…
Reference in New Issue
Block a user