termux-packages/packages/samba/krb-link-already-defined.patch

13 lines
459 B
Diff
Raw Normal View History

2021-10-08 17:55:57 +02:00
diff --git a/source4/heimdal_build/et_compile_wrapper.sh b/source4/heimdal_build/et_compile_wrapper.sh
index 939b434..84f8615 100755
--- a/source4/heimdal_build/et_compile_wrapper.sh
+++ b/source4/heimdal_build/et_compile_wrapper.sh
@@ -43,6 +43,7 @@ cd "${DESTDIR}" && {
mv "${SOURCE}" "${TMP}" && {
echo "#include \"config.h\"" > "${SOURCE}" && {
cat "${TMP}" >> "${SOURCE}"
+ sed -i 's/link/link_et/g' "${SOURCE}" || :
}
}
rm -f "${TMP}"