diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-07-04 03:42:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 13:42:04 +0300 |
commit | 8d922319b7732c152890504df92bf439ea7b828e (patch) | |
tree | a2ad67a7c8424638ca01a704dcd12375fd0465b3 /pkgs/applications/networking/gopher | |
parent | 97fdf20b04b2d3eba5fd0374bd091cf8564d0dc8 (diff) |
geomyidae: fix build on darwin (#241438)
A previous patch is no longer needed in the newest version.
Diffstat (limited to 'pkgs/applications/networking/gopher')
-rw-r--r-- | pkgs/applications/networking/gopher/geomyidae/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/networking/gopher/geomyidae/modification-time.patch | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/pkgs/applications/networking/gopher/geomyidae/default.nix b/pkgs/applications/networking/gopher/geomyidae/default.nix index 61a33593a1335..bd57b968140b4 100644 --- a/pkgs/applications/networking/gopher/geomyidae/default.nix +++ b/pkgs/applications/networking/gopher/geomyidae/default.nix @@ -12,8 +12,6 @@ stdenv.mkDerivation rec { buildInputs = [ libressl ]; - patches = lib.optionals stdenv.isDarwin [ ./modification-time.patch ]; - makeFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with lib; { diff --git a/pkgs/applications/networking/gopher/geomyidae/modification-time.patch b/pkgs/applications/networking/gopher/geomyidae/modification-time.patch deleted file mode 100644 index 145d2239b3e9d..0000000000000 --- a/pkgs/applications/networking/gopher/geomyidae/modification-time.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/geomyidae-v0.51/handlr.c b/geomyidae-v0.51/handlr.c -index 0c230d32519..9fc043fa3c9 100644 ---- a/handlr.c -+++ b/handlr.c -@@ -71,7 +71,7 @@ handledir(int sock, char *path, char *port, char *base, char *args, - *type->type, - dirent[i]->d_name, - humansize(st.st_size), -- humantime(&(st.st_mtim.tv_sec)), -+ humantime(&(st.st_mtimespec.tv_sec)), - e, ohost, port); - free(file); - free(dirent[i]); |