@@ -, +, @@ --- .../files/cdylib-link-lines-0.1.4-musl.patch | 14 ++++++++++++++ ...ia-1.6.0.ebuild => rpm-sequoia-1.6.0-r1.ebuild} | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 app-crypt/rpm-sequoia/files/cdylib-link-lines-0.1.4-musl.patch rename app-crypt/rpm-sequoia/{rpm-sequoia-1.6.0.ebuild => rpm-sequoia-1.6.0-r1.ebuild} (97%) --- a/app-crypt/rpm-sequoia/files/cdylib-link-lines-0.1.4-musl.patch +++ a/app-crypt/rpm-sequoia/files/cdylib-link-lines-0.1.4-musl.patch @@ -0,0 +1,14 @@ +Set DT_SONAME on musl. +https://bugs.gentoo.org/923735 +https://github.com/lu-zero/cdylib-link-lines/pull/10 +--- a/src/lib.rs ++++ b/src/lib.rs +@@ -57,7 +57,7 @@ pub fn shared_object_link_args( + lines.push(format!("-Wl,-soname,lib{}.so", name)); + } + +- ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) if env != "musl" => { ++ ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) => { + lines.push(format!("-Wl,-soname,lib{}.so.{}", name, major)); + } + --- a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild +++ a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild @@ -276,6 +276,12 @@ llvm_check_deps() { fi } +src_prepare() { + default + cd "${ECARGO_VENDOR}/cdylib-link-lines-0.1.4" || die + eapply "${FILESDIR}/cdylib-link-lines-0.1.4-musl.patch" +} + src_configure() { local myfeatures=( $(usev nettle crypto-nettle) --