diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2025-07-30 19:57:32 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2025-07-30 21:18:27 +0000 |
| commit | aae3f513f16a30c7e2f64e5739ed6e39bdafd222 (patch) | |
| tree | 8873ed675d32ebc20559513bbca5c95773f440c7 | |
| parent | 74616a158d346f72db0f02a1ba14aa18800122eb (diff) | |
sysutils/kassiber: fix build on powerpc*
main.c:305:36: error: 'musttail' attribute for this call is impossible because external calls can not be tail called on PPC
| -rw-r--r-- | sysutils/kassiber/files/patch-main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/kassiber/files/patch-main.c b/sysutils/kassiber/files/patch-main.c new file mode 100644 index 000000000000..3a6e598e28ff --- /dev/null +++ b/sysutils/kassiber/files/patch-main.c @@ -0,0 +1,14 @@ +--- main.c.orig 2025-07-30 19:54:07 UTC ++++ main.c +@@ -302,7 +302,11 @@ openat_retry(const int dfd, const char *const path, in + if (fd >= 0 || errno != EINTR) { + return fd; + } else { ++#ifdef __powerpc__ ++ return openat_retry(dfd, path, flags, mode); ++#else + __attribute__((musttail)) return openat_retry(dfd, path, flags, mode); ++#endif + } + } + |
