git: e22c16873a76 - main - sysutils/cbsd: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Sep 2026 12:54:16 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e22c16873a7607f72b09112271a8377c25d53ffe
commit e22c16873a7607f72b09112271a8377c25d53ffe
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-16 09:28:51 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:36 +0000
sysutils/cbsd: fix build on powerpc64
gmake[2]: *** [Makefile:891: signames.c] Segmentation fault (core dumped)
---
sysutils/cbsd/files/patch-bin_cbsdsh_src_mksignames.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/sysutils/cbsd/files/patch-bin_cbsdsh_src_mksignames.c b/sysutils/cbsd/files/patch-bin_cbsdsh_src_mksignames.c
new file mode 100644
index 000000000000..ecdba6e7b236
--- /dev/null
+++ b/sysutils/cbsd/files/patch-bin_cbsdsh_src_mksignames.c
@@ -0,0 +1,13 @@
+--- bin/cbsdsh/src/mksignames.c.orig 2026-09-16 08:21:34 UTC
++++ bin/cbsdsh/src/mksignames.c
+@@ -44,6 +44,10 @@ char *progname;
+ I don't want to allocate so much unused space for the intervening signal
+ numbers, so we just punt if SIGRTMAX is past the bounds of the
+ signal_names array (handled in configure). */
++#if defined (SIGRTMAX) && !defined (UNUSABLE_RT_SIGNALS) && (SIGRTMAX >= 2 * NSIG + 3)
++# define UNUSABLE_RT_SIGNALS
++#endif
++
+ #if defined (SIGRTMAX) && defined (UNUSABLE_RT_SIGNALS)
+ # undef SIGRTMAX
+ # undef SIGRTMIN