net-misc/ffsend: fix build failure due to traitobject

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
Mattéo Rossillol‑‑Laruelle
2025-07-07 11:29:38 +02:00
parent 0eacc359d4
commit 4626da9615
4 changed files with 49 additions and 1 deletions

View File

@@ -37,11 +37,20 @@ DOCS=(
)
src_unpack() {
patch_cargo_file()
{
pushd "${S}" &>> /dev/null || die
eapply "${FILESDIR}/${PN}-bump-traitobject.patch"
popd &>> /dev/null || die
}
if [[ "${PV}" = "9999" ]]; then
git-r3_src_unpack
patch_cargo_file
cargo_live_src_unpack
else
cargo_src_unpack
patch_cargo_file
fi
}