[PATCH] main/argon2: fix wrong version in libargon2.pc
Export this patch
Otherwise build fails with the following message:
>>> argon2-dev*: Running split function dev...
>>> argon2-dev*: Preparing subpackage argon2-dev...
>>> argon2-dev*: Stripping binaries
>>> ERROR: argon2-dev*: usr/lib/pkgconfig/libargon2.pc: pkgconf version ZERO is invalid
>>> ERROR: argon2*: prepare_subpackages failed
>>> ERROR: argon2: rootpkg failed
---
main/argon2/APKBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main/argon2/APKBUILD b/main/argon2/APKBUILD
index 7ce733ad9e..c2f73b908c 100644
--- a/main/argon2/APKBUILD
+++ b/main/argon2/APKBUILD
@@ -4,7 +4,7 @@
pkgname=argon2
_pkgname=phc-winner-argon2
pkgver=20190702
-pkgrel=0
+pkgrel=1
pkgdesc="The password hash Argon2, winner of PHC"
url="https://github.com/P-H-C/phc-winner-argon2"
arch="all"
@@ -16,7 +16,7 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
- make OPTTARGET=none
+ make OPTTARGET=none ARGON2_VERSION="$pkgver"
}
check() {
--
2.23.0
Sorry, we missed this patch and it already has been fixed.