summaryrefslogtreecommitdiff
path: root/app-crypt/rhash
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/rhash')
-rw-r--r--app-crypt/rhash/Manifest2
-rw-r--r--app-crypt/rhash/rhash-1.4.4.ebuild8
2 files changed, 9 insertions, 1 deletions
diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest
index 3aac20007602..98d43213f993 100644
--- a/app-crypt/rhash/Manifest
+++ b/app-crypt/rhash/Manifest
@@ -2,5 +2,5 @@ AUX rhash-1.4.4-prefix.patch 836 BLAKE2B 9c3b953e5249c4ee0be5d23cb595ed1c84611ce
DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea888885175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
DIST rhash-1.4.4-src.tar.gz 435691 BLAKE2B f3d42f333ad9a82fe4a8ef5af5d8008abf526c05c06a00c7033881d5a27ba663c3cc5cefb73ea8157ac24cb10a50a4e500706d489e61a03dbaee74a4735d1722 SHA512 00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f
EBUILD rhash-1.4.3.ebuild 2114 BLAKE2B e1394d4b75cf07a74d9317a26ea8f86806dacebd4bd75c8de4e7cf612fd712a6b996f067140897a983a2a7cf09570cd8354415d99157be6e78e94fb8afcc94c5 SHA512 9c96f681f4d9a898442460f4dd2bba2f30316dff556965fa23f2874ffe2ad1b17abeece1457f673e826238f7bf051b76b6de216a4bfac6e01ff0b92d47d95c5f
-EBUILD rhash-1.4.4.ebuild 2170 BLAKE2B 643c1916263badf3e13bc8971624cc1cc121a832e828f89aa03d7dea4275d0b24aac9e2292ab503afe1e9382a7f95bbab4cb87de66b56978433427e934f8301a SHA512 9132e5ba3ef5a413b06521d6ed7d40a30743d14b649a182274dcde47f278c08a781f092175a3ed75d70b131d5bc7db249422cbee930fbca61561415d1493a34b
+EBUILD rhash-1.4.4.ebuild 2511 BLAKE2B 7334a580fafd95765b0be90201a9cebf18997838079770b6fdf75ab6ad33d97fc137013fdf2abf42aa7f7191a6702c8e8632a166cd9ad0aca54d568bdacdf648 SHA512 798560352eaf4682c6675ce924c11fa0155663228c2843667c7559efc5041e97c6f8e34cc335065f78724b9003ef001e167410bda5e4c59174d8234626e6d7e9
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
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
}