Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 923735
Collapse All | Expand All

(-)a/app-crypt/rpm-sequoia/files/cdylib-link-lines-0.1.4-musl.patch (+14 lines)
Line 0 Link Here
1
Set DT_SONAME on musl.
2
https://bugs.gentoo.org/923735
3
https://github.com/lu-zero/cdylib-link-lines/pull/10
4
--- a/src/lib.rs
5
+++ b/src/lib.rs
6
@@ -57,7 +57,7 @@ pub fn shared_object_link_args(
7
             lines.push(format!("-Wl,-soname,lib{}.so", name));
8
         }
9
 
10
-        ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) if env != "musl" => {
11
+        ("linux", _) | ("freebsd", _) | ("dragonfly", _) | ("netbsd", _) => {
12
             lines.push(format!("-Wl,-soname,lib{}.so.{}", name, major));
13
         }
14
 
(-)a/app-crypt/rpm-sequoia/rpm-sequoia-1.6.0.ebuild (-1 / +6 lines)
Lines 276-281 llvm_check_deps() { Link Here
276
	fi
276
	fi
277
}
277
}
278
278
279
src_prepare() {
280
	default
281
	cd "${ECARGO_VENDOR}/cdylib-link-lines-0.1.4" || die
282
	eapply "${FILESDIR}/cdylib-link-lines-0.1.4-musl.patch"
283
}
284
279
src_configure() {
285
src_configure() {
280
	local myfeatures=(
286
	local myfeatures=(
281
		$(usev nettle crypto-nettle)
287
		$(usev nettle crypto-nettle)
282
- 

Return to bug 923735