diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template index ef7c4188f2..5dfc53d292 100644 --- a/srcpkgs/libreoffice/template +++ b/srcpkgs/libreoffice/template @@ -417,8 +417,9 @@ post_fetch() { ln -svf ${srcdistdir}/${pkg} ${wrksrc}/external/tarballs/ fi done - cp ${FILESDIR}/icu-cplusplus.patch.0 external/xmlsec - sed -i 's/xmlsec_patches :=/& icu-cplusplus.patch.0/' external/xmlsec/UnpackedTarball_xmlsec.mk + + cp ${FILESDIR}/icu-cplusplus.patch.0 ${wrksrc}/external/xmlsec + sed -i 's/xmlsec_patches :=/& icu-cplusplus.patch.0/' ${wrksrc}/external/xmlsec/UnpackedTarball_xmlsec.mk } do_configure() {