forked from Lainports/freebsd-ports
Because rhash 1.4.4 updated the librhash.so symlink from .0 to .1,
build-time dependents such as cmake-core and cmake-gui need their
PORTREVISION bumped.
The other case is misc/mbuffer, which uses librhash only at runtime, but
hardcodes dlopen("librhash.so.0", RTLD_NOW). I changed this to just
"librhash.so", and it seems to work fine with light testing.
PR: 273775
Reported by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Fixes: e0acbd158e security/rhash: update to 1.4.4 and fix build with lld 17
MFH: 2023Q3
11 lines
363 B
C
11 lines
363 B
C
--- hashing.c.orig 2023-02-27 19:18:52 UTC
|
|
+++ hashing.c
|
|
@@ -102,7 +102,7 @@ static void initHashLibs()
|
|
LibMhash = 0;
|
|
}
|
|
}
|
|
- LibRhash = dlopen("librhash.so.0",RTLD_NOW);
|
|
+ LibRhash = dlopen("librhash.so",RTLD_NOW);
|
|
if (LibRhash) {
|
|
debugmsg("found librhash\n");
|
|
void (*rhash_library_init)() = (void (*)(void)) dlsym(LibRhash,"rhash_library_init");
|