ext4magic: fix build w/glibc-2.30

+13
+1
pkgs/tools/filesystems/ext4magic/default.nix
··· 14 14 url = https://sourceforge.net/p/ext4magic/tickets/10/attachment/ext4magic-0.3.2-i_dir_acl.patch; 15 15 sha256 = "1accydd8kigid68yir2fbihm3r3x8ws3iyznp25snkx41w6y6x8c"; 16 16 }) 17 + ./glibc-fix.patch 17 18 ]; 18 19 19 20 buildInputs = [ file libuuid e2fsprogs zlib bzip2 ];
+12
pkgs/tools/filesystems/ext4magic/glibc-fix.patch
··· 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