geomyidae: fix build on darwin (#241438)

A previous patch is no longer needed in the newest version.

authored by

Theodore Ni and committed by
GitHub
8d922319 97fdf20b

-15
-2
pkgs/applications/networking/gopher/geomyidae/default.nix
··· 12 12 13 13 buildInputs = [ libressl ]; 14 14 15 - patches = lib.optionals stdenv.isDarwin [ ./modification-time.patch ]; 16 - 17 15 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 18 16 19 17 meta = with lib; {
-13
pkgs/applications/networking/gopher/geomyidae/modification-time.patch
··· 1 - diff --git a/geomyidae-v0.51/handlr.c b/geomyidae-v0.51/handlr.c 2 - index 0c230d32519..9fc043fa3c9 100644 3 - --- a/handlr.c 4 - +++ b/handlr.c 5 - @@ -71,7 +71,7 @@ handledir(int sock, char *path, char *port, char *base, char *args, 6 - *type->type, 7 - dirent[i]->d_name, 8 - humansize(st.st_size), 9 - - humantime(&(st.st_mtim.tv_sec)), 10 - + humantime(&(st.st_mtimespec.tv_sec)), 11 - e, ohost, port); 12 - free(file); 13 - free(dirent[i]);