git: aae3f513f16a - main - sysutils/kassiber: fix build on powerpc*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Jul 2025 21:18:35 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aae3f513f16a30c7e2f64e5739ed6e39bdafd222
commit aae3f513f16a30c7e2f64e5739ed6e39bdafd222
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-07-30 19:57:32 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-07-30 21:18:27 +0000
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
---
sysutils/kassiber/files/patch-main.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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
+ }
+ }
+