diff options
author | Fabian Groffen <grobian@gentoo.org> | 2023-09-10 13:37:47 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2023-09-10 13:37:47 +0200 |
commit | 19f9f9e07885986dbfaf3701b4aa0041b30873da (patch) | |
tree | d0711cd5f5e314d91913b7ec5c260f234001fe51 /app-crypt | |
parent | mail-client/mutt-2.2.12: version bump (diff) | |
download | gentoo-19f9f9e07885986dbfaf3701b4aa0041b30873da.tar.gz gentoo-19f9f9e07885986dbfaf3701b4aa0041b30873da.tar.bz2 gentoo-19f9f9e07885986dbfaf3701b4aa0041b30873da.zip |
app-crypt/rhash-1.4.4: fix build on Solaris
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/rhash/rhash-1.4.4.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index 165ca9e3ba4a..15d4f0bd4ee6 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/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 } |