summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <vyr@noreply.codeberg.org>2025-11-12 12:50:33 +0100
committerLibravatar tobi <tobi.smethurst@protonmail.com>2025-11-17 14:15:12 +0100
commit842ab65c193dd187a8a1b9157098db674730d79d (patch)
tree1c907a9fc101ebaaf4a972e97b7a8ba056a3d3dc /vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh
parent[chore] Apply schema for OpenAPI errors (#4511) (diff)
downloadgotosocial-842ab65c193dd187a8a1b9157098db674730d79d.tar.xz
[bugfix] update go-mmap to macOS-compatible version (#4550)
- Fixes #4549 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4550 Co-authored-by: Vyr Cossont <vyr@noreply.codeberg.org> Co-committed-by: Vyr Cossont <vyr@noreply.codeberg.org>
Diffstat (limited to 'vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh')
-rw-r--r--vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh b/vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh
index ab67bfae9..5babab154 100644
--- a/vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh
+++ b/vendor/codeberg.org/gruf/go-mmap/copy_fill_stat.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
-for file in "$(go env GOROOT)"/src/os/stat_{linux,netbsd,openbsd,freebsd}.go; do
+for file in "$(go env GOROOT)"/src/os/stat_{linux,netbsd,openbsd,freebsd,darwin}.go; do
cp "$file" .
name="$(basename "$file")"
sed -i "./${name}" -E -e 's|package os|package mmap|' \