nixpkgs/pkgs/servers/http/webfs/ls.c.patch
2015-11-16 17:29:40 +01:00

14 lines
427 B
Diff

# Source: homebrew
# https://raw.githubusercontent.com/Homebrew/patches/0518a6d1/webfs/patch-ls.c
--- ./ls.c.orig Fri Oct 15 14:20:50 2004
+++ ./ls.c Fri Oct 15 14:21:13 2004
@@ -160,7 +160,7 @@
return buf;
}
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
static void strmode(mode_t mode, char *dest)
{
static const char *rwx[] = {