commit: 74c411795d3f134255c42bfcd3f6863eda2a0517 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Wed Aug 16 06:51:09 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Wed Aug 16 06:51:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c41179
app-crypt/rhash: Apply upstream patch to fix prefix re libintl Closes: https://bugs.gentoo.org/912049 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> app-crypt/rhash/files/rhash-1.4.4-prefix.patch | 22 ++++++++++++++++++++++ app-crypt/rhash/rhash-1.4.4.ebuild | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/app-crypt/rhash/files/rhash-1.4.4-prefix.patch b/app-crypt/rhash/files/rhash-1.4.4-prefix.patch new file mode 100644 index 000000000000..ce2e72bf149e --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.4.4-prefix.patch @@ -0,0 +1,22 @@ +From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001 +From: Aleksey Kravchenko <[email protected]> +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)" diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index b56bd78dac70..165ca9e3ba4a 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -29,6 +29,10 @@ BDEPEND=" S="${WORKDIR}/RHash-${PV}" +PATCHES=( + "${FILESDIR}"/${P}-prefix.patch +) + src_prepare() { default
