diff --git a/shells/bash/distinfo b/shells/bash/distinfo index 92310ca8cd76..ea0b918d8e9a 100644 --- a/shells/bash/distinfo +++ b/shells/bash/distinfo @@ -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-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0 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 --git a/shells/bash/patches/patch-examples_loadables_getconf.c b/shells/bash/patches/patch-examples_loadables_getconf.c new file mode 100644 index 000000000000..2de0679d58bb --- /dev/null +++ b/shells/bash/patches/patch-examples_loadables_getconf.c @@ -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