~alpine/aports

main/bash: fix wrong version in bash.pc v1 APPLIED

alpine-mips-patches: 1
 main/bash: fix wrong version in bash.pc

 1 files changed, 4 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3129/mbox | git am -3
Learn more about email & git

[PATCH] main/bash: fix wrong version in bash.pc Export this patch

---
 main/bash/APKBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD
index 6cba929678..fafd574d82 100644
--- a/main/bash/APKBUILD
+++ b/main/bash/APKBUILD
@@ -6,7 +6,7 @@ pkgver=5.0.11
_patchlevel=${pkgver##*.}
_myver=${pkgver%.*}
_patchbase=${_myver/./}
pkgrel=0
pkgrel=1
pkgdesc="The GNU Bourne Again shell"
url="https://www.gnu.org/software/bash/bash.html"
arch="all"
@@ -55,6 +55,9 @@ prepare() {
	done

	default_prepare

	# preventively set Version to please 'apk version --check'
	sed -i "s/@PACKAGE_VERSION@/$pkgver/" "$builddir"/support/bash.pc.in
}

build() {
-- 
2.23.0