diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index cc100396d4e..e94b377e43e 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -734,7 +734,7 @@ do_dev() { fi echo "Importing patch $(basename "${patch}")..." - git am --keep-cr "$patch" >/dev/null 2>&1 || { + git am --keep-cr --keep-non-patch "$patch" >/dev/null 2>&1 || { git am --abort >/dev/null 2>&1 || true if git apply < $patch; then git add -A