From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/acpid/fix-musl.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 opt/acpid/fix-musl.patch (limited to 'opt/acpid/fix-musl.patch') diff --git a/opt/acpid/fix-musl.patch b/opt/acpid/fix-musl.patch new file mode 100644 index 0000000..ee32eb0 --- /dev/null +++ b/opt/acpid/fix-musl.patch @@ -0,0 +1,18 @@ +From 6c4c7636f9629914d85531ea1dfe6abc275164ac Mon Sep 17 00:00:00 2001 +From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> +Date: Wed, 25 Oct 2023 15:23:20 +0000 +Subject: [PATCH] community/acpid: fix lfs64 usage + +--- a/sock.c ++++ b/sock.c +@@ -54,8 +54,8 @@ + static int + isfdtype(int fd, int fdtype) + { +- struct stat64 st; +- if (fstat64(fd, &st) != 0) ++ struct stat st; ++ if (fstat(fd, &st) != 0) + return -1; + return ((st.st_mode & S_IFMT) == (mode_t)fdtype); + } -- cgit v1.3.1