head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.4 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.2 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q2:1.2.0.84 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.82 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.80 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.78 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.76 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.2.0.74 pkgsrc-2024Q1-base:1.2 pkgsrc-2023Q4:1.2.0.72 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.70 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.68 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.66 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.64 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.62 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.60 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.58 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.56 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.54 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.52 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.50 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.48 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.46 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.42 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.22 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.44 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.40 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.38 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.36 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.34 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.32 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.30 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.28 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.26 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.24 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.20 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.18 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.16 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.14 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.12 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.10 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.8 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.4 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.2; locks; strict; comment @# @; 1.4 date 2025.10.05.11.18.27; author js; state Exp; branches; next 1.3; commitid 3OshfgyYufQ87ndG; 1.3 date 2025.07.05.08.28.43; author wiz; state dead; branches; next 1.2; commitid OGteB769WQ2n8x1G; 1.2 date 2015.03.07.22.40.48; author rodent; state Exp; branches; next 1.1; commitid kr6XcuYjqPCQ7Jcy; 1.1 date 2014.11.23.00.43.57; author dholland; state Exp; branches 1.1.2.1; next ; commitid sxznI7qEcRMtbfZx; 1.1.2.1 date 2014.11.23.00.43.57; author tron; state dead; branches; next 1.1.2.2; commitid qgOHzHjNuDE8qjZx; 1.1.2.2 date 2014.11.23.13.29.31; author tron; state Exp; branches; next ; commitid qgOHzHjNuDE8qjZx; desc @@ 1.4 log @shells/bash: More printf and QNX fixes Still not there yet. @ text @$NetBSD$ --- configure.orig 2025-06-30 14:05:30.000000000 +0000 +++ configure @@@@ -23152,8 +23152,7 @@@@ linux*) LOCAL_LDFLAGS=-rdynamic # all esac ;; netbsd*|openbsd*) LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;; freebsd*|midnightbsd*) LOCAL_CFLAGS='-DHEREDOC_PIPESIZE=4096' ;; -*qnx[67]*) LOCAL_LIBS="-lncurses" ;; -*qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;; +*qnx*) LOCAL_LIBS="-lncurses" ;; powerux*) LOCAL_LIBS="-lgen" ;; cygwin*|msys*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;; opennt*|interix*) LOCAL_CFLAGS="-DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO -D_POSIX_SOURCE -D_ALL_SOURCE -DRECYCLES_PIDS" ;; @ 1.3 log @bash: update to 5.3. 1. New Features in Bash a. When checking whether a script file argument is a binary file, check the first two lines of a script if the first line begins with `#!'. b. Bash does a better job of preserving user-supplied quotes around a word completion, instead of requoting it. c. Bash reports the starting line number in an error message about an unterminated compound command like `if' without a `fi'. d. Implement the POSIX requirement that running the `jobs' builtin removes jobs from the jobs list. f. Call bash signal handlers while executing programmable completion commands, instead of readline's. g. Print an error message if a regular expression used with [[ fails to compile. h. The `umask' builtin now has additional features for full POSIX conformance. i. `type -a -P' reports both hashed pathnames and the result of a $PATH search. j. `trap' has a new -P option that prints the trap action associated with each signal argument. k. The `command' builtin preceding a declaration builtin (e.g., `declare') preserves the special asisgnment statement parsing for the declaration builtin. This is a new POSIX requirement. l. `printf' uses the `alternate form' for %q and %Q to force single quoting. m. `printf' now interprets %ls (%S) and %lc (%C) as referring to wide strings and characters, respectively, when in a multibyte locale. n. The shell can be compiled with a different default value for the patsub_replacement option. o. Check for window size changes during trap commands, `bind -x' commands, and programmable completion. p. Treat a NULL value for $PATH as equivalent to ".". p. New loadable builtins: kv, strptime q. GLOBSORT: new variable to specify how to sort the results of pathname expansion (name, size, blocks, mtime, atime, ctime, numeric, none) in ascending or descending order. r. `compgen' has a new option: -V varname. If supplied, it stores the generated completions into VARNAME instead of printing them on stdout. s. New form of command substitution: ${ command; } or ${|command;} to capture the output of COMMAND without forking a child process and using pipes. t. array_expand_once: new shopt option, replaces assoc_expand_once u. complete/compopt new option: fullquote; sets rl_full_quoting_desired so all possible completions are quoted as if they were filenames. v. Command timing now allows precisions up to 6 digits instead of 3 in $TIMEFORMAT. w. BASH_MONOSECONDS: new dynamic variable that returns the value of the system's monotonic clock, if one is available. x. BASH_TRAPSIG: new variable, set to the numeric signal number of the trap being executed while it's running. y. The checkwinsize option can be used in subshell commands started from interactive shells. z. In posix mode, the test command < and > binary primaries compare strings using the current locale. aa. bind -x allows new key binding syntax: separate the key sequence and the command string with whitespace, but require the command string to be double-quoted if this is used. This allows different quoting options for the command string. bb. Print commands bound to key sequences using `bind -x' with the new key binding syntax it allows. cc. `read' has a new `-E' option to use readline but with the default bash completion (including programmable completion). dd. New bindable readline command name: `bash-vi-complete'. ee. New test builtin behavior when parsing a parenthesized subexpression and test was given more than 4 arguments: scan forward for a closing paren and call posixtest() if there are 4 or fewer arguments between the parentheses. Added for compatibility with coreutils test, dependent on the shell compatibility level. Such expressions remain ambiguous. ff. MULTIPLE_COPROCS is now enabled by default. gg. The `bind' builtin interprets additional non-option arguments after -p or -P as bindable command names and restricts output to the bindings for those names. hh. Bash now uses the login shell for $BASH if the shell is named `su' or `-su'. ii. Bash now prints job notifications if an interactive shell is running a trap, even though the shell is not interactive at that moment. jj. Programmable completion allows a new compspec loaded after a completion function returns 124 to be used in more cases. kk. ./source has a new -p PATH option, which makes it use the PATH argument instead of $PATH to look for the file. ll. Documentation has been significantly updated. mm. `wait -n' can now return terminated process substitutions, jobs about which the user has already been notified (like `wait' without options), nn. `wait -n' removes jobs from the jobs table or list of terminated children when in posix mode. oo. Changed the `wait' builtin behavior regarding process substitutions to match the documentation. pp. There is a new `bash_source_fullpath' shopt option, which makes bash put full pathnames into BASH_SOURCE, and a way to set a default value for it at configure time. qq. Posix mode now forces job notifications to occur when the new edition of POSIX specifies (since it now specifies them). rr. Interactive shells don't print job notifications while sourcing scripts. ss. The parser prints more information about the command it's trying to parse when it encounters EOF before completing the command. tt. Posix mode no longer requires function names to be valid shell identifiers. uu. If `exit' is run in a trap and not supplied an exit status argument, it uses the value of $? from before the trap only if it's run at the trap's `top level' and would cause the trap to end (that is, not in a subshell). This is from Posix interp 1602. vv. There is a new `fltexpr' loadable builtin to perform floating-point arithmetic similarly to `let'. ww. The `install-strip' and `strip' Makefile targets now deal with cross- compiling. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2015/03/07 22:40:48 rodent Exp $ d3 1 a3 4 Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD. From Dennis Lindroos in PR 49375. --- configure.orig 2014-02-11 15:38:00.000000000 +0000 d5 10 a14 18 @@@@ -8047,7 +8047,7 @@@@ fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-Wl,-R$found_dir" done fi @@@@ -8837,7 +8837,7 @@@@ fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-Wl,-R$found_dir" done fi @ 1.2 log @Apply patch to patch in PR 49375. Defuzz patches. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2014/11/23 00:43:57 dholland Exp $ @ 1.1 log @Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD. From Dennis Lindroos in PR 49375. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- configure~ 2014-02-11 15:38:00.000000000 +0000 d8 9 @ 1.1.2.1 log @file patch-configure was added on branch pkgsrc-2014Q3 on 2014-11-23 13:29:31 +0000 @ text @d1 16 @ 1.1.2.2 log @Pullup ticket #4553 - requested by dholland shells/bash: build fix Revisions pulled up: - shells/bash/distinfo 1.39 - shells/bash/patches/patch-configure 1.1 --- Module Name: pkgsrc Committed By: dholland Date: Sun Nov 23 00:43:57 UTC 2014 Modified Files: pkgsrc/shells/bash: distinfo Added Files: pkgsrc/shells/bash/patches: patch-configure Log Message: Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD. >From Dennis Lindroos in PR 49375. @ text @a0 16 $NetBSD$ Use -Wl,-R instead of just -R to avoid breaking the build on FreeBSD. From Dennis Lindroos in PR 49375. --- configure~ 2014-02-11 15:38:00.000000000 +0000 +++ configure @@@@ -8837,7 +8837,7 @@@@ fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do - LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-Wl,-R$found_dir" done fi @