Files
nixpkgs/pkgs/os-specific/darwin/apple-source-releases/file_cmds/patches/0001-Add-missing-extern-unix2003_compat-to-ls.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

27 lines
549 B
Diff

From 9e2185bde1320273b6465d272e1a36bff29fb9d6 Mon Sep 17 00:00:00 2001
From: Randy Eckenrode <randy@largeandhighquality.com>
Date: Sat, 7 Sep 2024 09:37:31 -0400
Subject: [PATCH 1/3] Add missing extern unix2003_compat to ls
---
ls/ls.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ls/ls.h b/ls/ls.h
index 2a41c8b..ff9c3a9 100644
--- a/ls/ls.h
+++ b/ls/ls.h
@@ -114,4 +114,9 @@ typedef struct {
char data[1];
} NAMES;
+#ifdef __APPLE__
+#include <stdbool.h>
+extern bool unix2003_compat;
+#endif
+
#endif /* _LS_H_ */
--
2.46.0