tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ext4magic: fix build w/glibc-2.30
Maximilian Bosch
6 years ago
be238f8a
4f5830cf
+13
2 changed files
expand all
collapse all
unified
split
pkgs
tools
filesystems
ext4magic
default.nix
glibc-fix.patch
+1
pkgs/tools/filesystems/ext4magic/default.nix
···
14
url = https://sourceforge.net/p/ext4magic/tickets/10/attachment/ext4magic-0.3.2-i_dir_acl.patch;
15
sha256 = "1accydd8kigid68yir2fbihm3r3x8ws3iyznp25snkx41w6y6x8c";
16
})
0
17
];
18
19
buildInputs = [ file libuuid e2fsprogs zlib bzip2 ];
···
14
url = https://sourceforge.net/p/ext4magic/tickets/10/attachment/ext4magic-0.3.2-i_dir_acl.patch;
15
sha256 = "1accydd8kigid68yir2fbihm3r3x8ws3iyznp25snkx41w6y6x8c";
16
})
17
+
./glibc-fix.patch
18
];
19
20
buildInputs = [ file libuuid e2fsprogs zlib bzip2 ];
+12
pkgs/tools/filesystems/ext4magic/glibc-fix.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
diff --git a/src/recover.c b/src/recover.c
2
+
index 41b4aee..30b5d8f 100644
3
+
--- a/src/recover.c
4
+
+++ b/src/recover.c
5
+
@@ -24,6 +24,7 @@
6
+
#include <errno.h>
7
+
#include <fcntl.h>
8
+
#include <utime.h>
9
+
+#include <sys/sysmacros.h>
10
+
11
+
#ifndef O_LARGEFILE
12
+
#define O_LARGEFILE 0