From: Markham Date: Thu, 30 Sep 2021 17:09:19 +0000 (+0200) Subject: add ct-ng patch for newer bash >= 4.0 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=8e98f4aa02c887d5934dfe3ac45878d16bd45307;p=bs-cst-neutrino-hd.git add ct-ng patch for newer bash >= 4.0 --- diff --git a/archive-patches/ct-ng/bash_greater_than_3.1.patch b/archive-patches/ct-ng/bash_greater_than_3.1.patch new file mode 100644 index 0000000..f21bb4c --- /dev/null +++ b/archive-patches/ct-ng/bash_greater_than_3.1.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -273,7 +273,7 @@ ACX_PROG_VERSION_REQ_STRICT([BASH_SHELL] + [GNU bash >= 3.1], + [bash], + [bash], +- ['^GNU bash, version (3\.[1-9]|4)']) ++ ['^GNU bash, version ([0-9\.]+)']) + + # We need a awk that *is* GNU awk + ACX_PROG_VERSION_REQ_STRICT([AWK], diff --git a/make/crosstool.mk b/make/crosstool.mk index 186625f..1891d28 100755 --- a/make/crosstool.mk +++ b/make/crosstool.mk @@ -7,6 +7,7 @@ crosstool: prerequisites | $(ARCHIVE)/crosstool-ng-git-$(CROSSTOOL_NG_VER).tar.g $(START_BUILD) $(UNTAR)/crosstool-ng-git-$(CROSSTOOL_NG_VER).tar.gz; \ set -e; unset CONFIG_SITE; cd $(BUILD_TMP)/crosstool-ng-git-$(CROSSTOOL_NG_VER); \ + $(PATCH)/ct-ng/bash_greater_than_3.1.patch; \ mkdir -p targets/src/; \ cd $(BUILD_TMP)/crosstool-ng-git-$(CROSSTOOL_NG_VER); \ \