diff --git a/community/hinsightd/APKBUILD b/community/hinsightd/APKBUILD index 591b6d205299662720257113baaac69b6e4485bc..b6e0bdc64aaec73c55a2cfca6bba5a26a5d2023b 100644 --- a/community/hinsightd/APKBUILD +++ b/community/hinsightd/APKBUILD @@ -13,7 +13,7 @@ pkggroups="$pkgname" subpackages="$pkgname-dbg $pkgname-openrc" source=" https://gitlab.com/tiotags/hin9/-/archive/v$pkgver/hin9-v$pkgver.tar.gz - fix-implicit.patch + fix-statx-redefinition.patch " builddir="$srcdir"/hin9-v$pkgver # no test suite @@ -67,5 +67,5 @@ package() { sha512sums=" 7a4d7d7824b787156e7c87d76e97c2fb5129eb50ecf5ea33a7d1ea2e76718ef81a44f49d3161d2cc131ad6d0f27e61b480a2538651d428c19565d2a58cedc25b hin9-v0.9.20.tar.gz -98d62ed8746a410570adb8d449bda65b0fa2e43e8c24775a6d47b87f6d145ae3cd33e5df3788466f5c55276521c4a7f80f4476c40976682f0d75e7a066d60888 fix-implicit.patch +fe6645d0df91011076dc9dea323ae7824d58d9e3dcf1bbd5599151fe53e3b8b7f05d2e993c06f6c3728eb2e7fb5641f150abd4b41b8b8bd4c09b96e3a5614bb8 fix-statx-redefinition.patch " diff --git a/community/hinsightd/fix-implicit.patch b/community/hinsightd/fix-implicit.patch deleted file mode 100644 index a16ddcf7ef3e38cb82108c79838d1e4ea2702404..0000000000000000000000000000000000000000 --- a/community/hinsightd/fix-implicit.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/netcode/uring.c b/src/netcode/uring.c -index 417ec78..c30deeb 100644 ---- a/src/netcode/uring.c -+++ b/src/netcode/uring.c -@@ -15,6 +15,9 @@ - #include "hin_internal.h" - #include "conf.h" - -+int statx(int dirfd, const char *restrict pathname, int flags, -+ unsigned int mask, struct statx *restrict statxbuf); -+ - #if HIN_URING_REDUCE_SYSCALLS - #define io_uring_submit1(x) - #else diff --git a/community/hinsightd/fix-statx-redefinition.patch b/community/hinsightd/fix-statx-redefinition.patch new file mode 100644 index 0000000000000000000000000000000000000000..85871518204750506d358e31900002e8a4fcc717 --- /dev/null +++ b/community/hinsightd/fix-statx-redefinition.patch @@ -0,0 +1,11 @@ +--- a/src/netcode/uring.c ++++ b/src/netcode/uring.c +@@ -9,8 +9,6 @@ + #include <unistd.h> + #include <fcntl.h> + +-#include <linux/stat.h> +- + #include <basic_vfs.h> // needed for musl + + #include "hin.h"