pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/bash bash: Handle _SC_RTSIG_MAX not being defined
details: https://anonhg.NetBSD.org/pkgsrc/rev/6085bd66b57b
branches: trunk
changeset: 386284:6085bd66b57b
user: kim <kim%pkgsrc.org@localhost>
date: Tue Oct 04 12:45:31 2022 +0000
description:
bash: Handle _SC_RTSIG_MAX not being defined
diffstat:
shells/bash/distinfo | 3 ++-
shells/bash/patches/patch-examples_loadables_getconf.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r aa5831b02337 -r 6085bd66b57b shells/bash/distinfo
--- a/shells/bash/distinfo Tue Oct 04 12:19:04 2022 +0000
+++ b/shells/bash/distinfo Tue Oct 04 12:45:31 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.71 2022/10/03 12:50:27 wiz Exp $
+$NetBSD: distinfo,v 1.72 2022/10/04 12:45:31 kim Exp $
BLAKE2s (bash-5.2.tar.gz) = 430755ea2af4903dba2bdbeffd4d861edb9f54c248071362f0d14f15171764cd
SHA512 (bash-5.2.tar.gz) = 5647636223ba336bf33e0c65e516d8ebcf6932de8b44f37bc468eedb87579c628ad44213f78534beb10f47aebb9c6fa670cb0bed3b4e7717e5faf7e9a1ef81ae
@@ -9,5 +9,6 @@
SHA1 (patch-builtins_ulimit.def) = 1390069344607204eb3abbd6ddeb148ff590c55e
SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d
SHA1 (patch-examples_loadables_fdflags.c) = dce409c76b7d6c838eb25c3ccc7a89ee57ca69b8
+SHA1 (patch-examples_loadables_getconf.c) = a71df9f54d77ee14de453b67bd4b3658ad7123eb
SHA1 (patch-lib_malloc_malloc.c) = 6e500228972eac0cb4d4defb02e9cf573b7fa207
SHA1 (patch-support_shobj-conf) = 010d5058262a23add420deed6c44a605bb16aa26
diff -r aa5831b02337 -r 6085bd66b57b shells/bash/patches/patch-examples_loadables_getconf.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/bash/patches/patch-examples_loadables_getconf.c Tue Oct 04 12:45:31 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-examples_loadables_getconf.c,v 1.1 2022/10/04 12:45:31 kim Exp $
+
+Handle _SC_RTSIG_MAX not being defined (NetBSD 9)
+
+--- examples/loadables/getconf.c.orig 2021-12-03 16:46:22.000000000 +0000
++++ examples/loadables/getconf.c 2022-10-04 12:38:07.370372821 +0000
+@@ -846,7 +846,9 @@
+ #ifdef _SC_TRACE_LOG
+ { "_POSIX_TRACE_LOG", _SC_TRACE_LOG, SYSCONF },
+ #endif
++#ifdef _SC_RTSIG_MAX
+ { "RTSIG_MAX", _SC_RTSIG_MAX, SYSCONF },
++#endif
+ #ifdef _SC_SEM_NSEMS_MAX
+ { "SEM_NSEMS_MAX", _SC_SEM_NSEMS_MAX, SYSCONF },
+ #endif
Home |
Main Index |
Thread Index |
Old Index