pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/shells/bash
Module Name: pkgsrc
Committed By: nia
Date: Fri Nov 24 01:41:05 UTC 2023
Modified Files:
pkgsrc/shells/bash: distinfo
pkgsrc/shells/bash/patches: patch-examples_loadables_getconf.c
Log Message:
bash: Extend patch for legacy platforms with more special-cases for getconf.
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/shells/bash/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/shells/bash/distinfo
diff -u pkgsrc/shells/bash/distinfo:1.79 pkgsrc/shells/bash/distinfo:1.80
--- pkgsrc/shells/bash/distinfo:1.79 Thu Nov 9 22:44:29 2023
+++ pkgsrc/shells/bash/distinfo Fri Nov 24 01:41:04 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.79 2023/11/09 22:44:29 kre Exp $
+$NetBSD: distinfo,v 1.80 2023/11/24 01:41:04 nia Exp $
BLAKE2s (bash-5.2.tar.gz) = 430755ea2af4903dba2bdbeffd4d861edb9f54c248071362f0d14f15171764cd
SHA512 (bash-5.2.tar.gz) = 5647636223ba336bf33e0c65e516d8ebcf6932de8b44f37bc468eedb87579c628ad44213f78534beb10f47aebb9c6fa670cb0bed3b4e7717e5faf7e9a1ef81ae
@@ -73,6 +73,6 @@ SHA1 (patch-builtins_ulimit.def) = 13900
SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d
SHA1 (patch-examples_loadables_Makefile.in) = 0d27f82399c4ae9fae8ac0f8c48c68a23a3dcbd8
SHA1 (patch-examples_loadables_fdflags.c) = dce409c76b7d6c838eb25c3ccc7a89ee57ca69b8
-SHA1 (patch-examples_loadables_getconf.c) = d745abf6281f7d61ba946cda9edb246ed5e18587
+SHA1 (patch-examples_loadables_getconf.c) = 4e5705fa1dc6c86514d16b4960320a56a3fb2366
SHA1 (patch-lib_malloc_malloc.c) = 6e500228972eac0cb4d4defb02e9cf573b7fa207
SHA1 (patch-support_shobj-conf) = 010d5058262a23add420deed6c44a605bb16aa26
Index: pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c
diff -u pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c:1.2 pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c:1.3
--- pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c:1.2 Thu Jan 19 10:50:21 2023
+++ pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c Fri Nov 24 01:41:04 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-examples_loadables_getconf.c,v 1.2 2023/01/19 10:50:21 sborrill Exp $
+$NetBSD: patch-examples_loadables_getconf.c,v 1.3 2023/11/24 01:41:04 nia Exp $
Handle _SC_RTSIG_MAX not being defined (NetBSD 9) as well as other missing
definitions (_SC_REALTIME_SIGNALS, _SC_TIMER_MAX, _SC_CPUTIME,
@@ -6,8 +6,24 @@ _SC_THREAD_CPUTIME, SC_DELAYTIMER_MAX, _
versions.
--- examples/loadables/getconf.c.orig 2021-12-03 16:46:22.000000000 +0000
-+++ examples/loadables/getconf.c 2023-01-18 16:04:51.328120013 +0000
-@@ -329,7 +329,9 @@
++++ examples/loadables/getconf.c
+@@ -269,9 +269,15 @@ static const struct conf vars[] =
+ #ifdef _SC_AVPHYS_PAGES
+ { "_AVPHYS_PAGES", _SC_AVPHYS_PAGES, SYSCONF },
+ #endif
++#ifdef _SC_NPROCESSORS_CONF
+ { "_NPROCESSORS_CONF", _SC_NPROCESSORS_CONF, SYSCONF },
++#endif
++#ifdef _SC_NPROCESSORS_ONLN
+ { "_NPROCESSORS_ONLN", _SC_NPROCESSORS_ONLN, SYSCONF },
++#endif
++#ifdef _SC_PHYS_PAGES
+ { "_PHYS_PAGES", _SC_PHYS_PAGES, SYSCONF },
++#endif
+ #ifdef _SC_ARG_MAX
+ { "_POSIX_ARG_MAX", _SC_ARG_MAX, SYSCONF },
+ #else
+@@ -329,7 +335,9 @@ static const struct conf vars[] =
{ "_POSIX_PRIORITIZED_IO", _SC_PRIORITIZED_IO, SYSCONF },
#endif
{ "_POSIX_PRIORITY_SCHEDULING", _SC_PRIORITY_SCHEDULING, SYSCONF },
@@ -17,7 +33,7 @@ versions.
{ "_POSIX_SAVED_IDS", _SC_SAVED_IDS, SYSCONF },
#ifdef _SC_SELECT
{ "_POSIX_SELECT", _SC_SELECT, SYSCONF },
-@@ -366,7 +368,9 @@
+@@ -366,7 +374,9 @@ static const struct conf vars[] =
{ "_POSIX_THREAD_PROCESS_SHARED", _SC_THREAD_PROCESS_SHARED, SYSCONF },
{ "_POSIX_THREAD_SAFE_FUNCTIONS", _SC_THREAD_SAFE_FUNCTIONS, SYSCONF },
{ "_POSIX_TIMERS", _SC_TIMERS, SYSCONF },
@@ -27,7 +43,7 @@ versions.
#ifdef _POSIX_TZNAME_MAX
{ "_POSIX_TZNAME_MAX", _SC_TZNAME_MAX, SYSCONF },
#else
-@@ -743,8 +747,12 @@
+@@ -743,8 +753,12 @@ static const struct conf vars[] =
{ "_POSIX_C_LANG_SUPPORT_R", _SC_C_LANG_SUPPORT_R, SYSCONF },
#endif
{ "_POSIX_CLOCK_SELECTION", _SC_CLOCK_SELECTION, SYSCONF },
@@ -40,7 +56,7 @@ versions.
#ifdef _SC_DEVICE_SPECIFIC
{ "_POSIX_DEVICE_SPECIFIC", _SC_DEVICE_SPECIFIC, SYSCONF },
#endif
-@@ -826,7 +834,9 @@
+@@ -826,7 +840,9 @@ static const struct conf vars[] =
#ifdef _SC_AIO_PRIO_DELTA_MAX
{ "AIO_PRIO_DELTA_MAX", _SC_AIO_PRIO_DELTA_MAX, SYSCONF },
#endif
@@ -50,7 +66,7 @@ versions.
{ "HOST_NAME_MAX", _SC_HOST_NAME_MAX, SYSCONF },
{ "LOGIN_NAME_MAX", _SC_LOGIN_NAME_MAX, SYSCONF },
{ "MQ_OPEN_MAX", _SC_MQ_OPEN_MAX, SYSCONF },
-@@ -846,14 +856,18 @@
+@@ -846,14 +862,18 @@ static const struct conf vars[] =
#ifdef _SC_TRACE_LOG
{ "_POSIX_TRACE_LOG", _SC_TRACE_LOG, SYSCONF },
#endif
Home |
Main Index |
Thread Index |
Old Index