app-crypt/rhash: Sync with Gentoo

It's from Gentoo commit 74c411795d3f134255c42bfcd3f6863eda2a0517.
This commit is contained in:
Flatcar Buildbot 2023-09-04 07:09:45 +00:00 committed by Krzesimir Nowak
parent 353f5b41ab
commit fb3c269231
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
From: Aleksey Kravchenko <rhash.admin@gmail.com>
Date: Mon, 7 Aug 2023 01:00:37 +0300
Subject: [PATCH] Fix #243: Incorrect assigment in the configure script
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 39ef8c1b..63cbd8d0 100755
--- a/configure
+++ b/configure
@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
RHASH_TEST_OPTIONS=--shared
test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
+ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
else
LIBRHASH_TYPE=static
LIBRHASH_PATH="\$(LIBRHASH_STATIC)"

View File

@ -29,6 +29,10 @@ BDEPEND="
S="${WORKDIR}/RHash-${PV}"
PATCHES=(
"${FILESDIR}"/${P}-prefix.patch
)
src_prepare() {
default