From 300b53696a26b3b9ad284dde9e2eff2ad8427993 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 11 Sep 2023 07:09:27 +0000 Subject: [PATCH] app-crypt/rhash: Sync with Gentoo It's from Gentoo commit 19f9f9e07885986dbfaf3701b4aa0041b30873da. --- .../portage-stable/app-crypt/rhash/rhash-1.4.4.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.4.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.4.ebuild index 165ca9e3ba..15d4f0bd4e 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.4.ebuild @@ -42,6 +42,14 @@ src_prepare() { librhash/util.h || die fi + # upstream fix for BSD and others, but was only applied for BSD + # we need support for Solaris, where we use a GNU toolchain, so use + # the original hack, hopefully next release has this fixed + # https://github.com/rhash/RHash/issues/238 + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i -e 's/^elif linux; then/else/' configure || die + fi + multilib_copy_sources }