summaryrefslogtreecommitdiff
path: root/app-crypt/rhash/rhash-1.4.4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-10 16:36:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-10 16:36:07 +0100
commitd0041c590ed45bbfeae458ea926e36bc64e41dd7 (patch)
tree9f8a3bcf226736635a558a6d70fcd46b60f90a17 /app-crypt/rhash/rhash-1.4.4.ebuild
parent5067796b074450a155155c782ef4885c885cfb2b (diff)
gentoo auto-resync : 10:09:2023 - 16:36:07
Diffstat (limited to 'app-crypt/rhash/rhash-1.4.4.ebuild')
-rw-r--r--app-crypt/rhash/rhash-1.4.4.ebuild8
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
}