security/rhash: update to 1.4.4 and fix build with lld 17
With lld 17, which has become more strict about undefined symbols in
version scripts, security/rhash fails to link its librhash.so:
ld: error: version script assignment of 'global' to symbol 'rhash_wfile' failed: symbol not defined
This has been fixed in https://github.com/rhash/RHash/commit/e4b8b92,
which was included in rhash 1.4.4, so update the port to that version.
Unfortunately this also requires a bunch of follow-up build fixes:
- https://github.com/rhash/RHash/commit/c804982: fix assignment
- https://github.com/rhash/RHash/commit/9ef90b9: build on *BSD
- https://github.com/rhash/RHash/commit/b8c91ea: build on Unix
PR: 273775
Approved by: danfe (maintainer)
MFH: 2023Q3