summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-08-16 07:51:09 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-08-16 07:51:09 +0100
commit74c411795d3f134255c42bfcd3f6863eda2a0517 (patch)
tree4329c174971b105ff0d9c58f9a02d8813d388492 /app-crypt
parentdev-ruby/rspec-rails: add missing test dependency (diff)
downloadgentoo-74c411795d3f134255c42bfcd3f6863eda2a0517.tar.gz
gentoo-74c411795d3f134255c42bfcd3f6863eda2a0517.tar.bz2
gentoo-74c411795d3f134255c42bfcd3f6863eda2a0517.zip
app-crypt/rhash: Apply upstream patch to fix prefix re libintl
Closes: https://bugs.gentoo.org/912049 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/rhash/files/rhash-1.4.4-prefix.patch22
-rw-r--r--app-crypt/rhash/rhash-1.4.4.ebuild4
2 files changed, 26 insertions, 0 deletions
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 <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)"
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