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:           Sat Mar 16 12:24:36 UTC 2024

Modified Files:
        pkgsrc/shells/bash: distinfo
        pkgsrc/shells/bash/patches: patch-examples_loadables_getconf.c

Log Message:
bash: Fix build on platforms without _PC_FILESIZEBITS, _PC_SYMLINK_MAX


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/shells/bash/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    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.82 pkgsrc/shells/bash/distinfo:1.83
--- pkgsrc/shells/bash/distinfo:1.82    Sun Jan 14 23:28:34 2024
+++ pkgsrc/shells/bash/distinfo Sat Mar 16 12:24:35 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.82 2024/01/14 23:28:34 kre Exp $
+$NetBSD: distinfo,v 1.83 2024/03/16 12:24:35 nia Exp $
 
 BLAKE2s (bash-5.2.tar.gz) = 430755ea2af4903dba2bdbeffd4d861edb9f54c248071362f0d14f15171764cd
 SHA512 (bash-5.2.tar.gz) = 5647636223ba336bf33e0c65e516d8ebcf6932de8b44f37bc468eedb87579c628ad44213f78534beb10f47aebb9c6fa670cb0bed3b4e7717e5faf7e9a1ef81ae
@@ -87,6 +87,6 @@ SHA1 (patch-builtins_psize.c) = cd3b151e
 SHA1 (patch-builtins_ulimit.def) = 1390069344607204eb3abbd6ddeb148ff590c55e
 SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d
 SHA1 (patch-examples_loadables_Makefile.in) = 0d27f82399c4ae9fae8ac0f8c48c68a23a3dcbd8
-SHA1 (patch-examples_loadables_getconf.c) = 4e5705fa1dc6c86514d16b4960320a56a3fb2366
+SHA1 (patch-examples_loadables_getconf.c) = f41865ab9e6c257d1e78fcbfa0a1e48686b8e606
 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.3 pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c:1.4
--- pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c:1.3   Fri Nov 24 01:41:04 2023
+++ pkgsrc/shells/bash/patches/patch-examples_loadables_getconf.c       Sat Mar 16 12:24:36 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-examples_loadables_getconf.c,v 1.3 2023/11/24 01:41:04 nia Exp $
+$NetBSD: patch-examples_loadables_getconf.c,v 1.4 2024/03/16 12:24:36 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,
@@ -66,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 +862,18 @@ static const struct conf vars[] =
+@@ -846,15 +862,21 @@ static const struct conf vars[] =
  #ifdef _SC_TRACE_LOG
      { "_POSIX_TRACE_LOG", _SC_TRACE_LOG, SYSCONF },
  #endif
@@ -82,6 +82,19 @@ versions.
 +#ifdef _SC_SIGQUEUE_MAX
      { "SIGQUEUE_MAX", _SC_SIGQUEUE_MAX, SYSCONF },
 +#endif
++#ifdef _PC_FILESIZEBITS
      { "FILESIZEBITS", _PC_FILESIZEBITS, PATHCONF },
++#endif
  #ifdef _PC_ALLOC_SIZE_MIN
      { "POSIX_ALLOC_SIZE_MIN", _PC_ALLOC_SIZE_MIN, PATHCONF },
+ #endif
+@@ -870,7 +892,9 @@ static const struct conf vars[] =
+ #ifdef _PC_REC_XFER_ALIGN
+     { "POSIX_REC_XFER_ALIGN", _PC_REC_XFER_ALIGN, PATHCONF },
+ #endif
++#ifdef _PC_SYMLINK_MAX
+     { "SYMLINK_MAX", _PC_SYMLINK_MAX, PATHCONF },
++#endif
+ #ifdef _PC_2_SYMLINKS
+     { "POSIX2_SYMLINKS", _PC_2_SYMLINKS, PATHCONF },
+ #endif



Home | Main Index | Thread Index | Old Index