Right now media-gfx/freecad is one of the few ebuilds that uses dos2unix rather than edos2unix.eclass. Since dos2unix is used in a "find" command, one would have to capture the "find" output into a bash array, and pass that to edos2unix. Alternatively, one can simply replace the "dos2unix" command in the current "find", with the sed one-liner used in edos2unix.
Or just remove the use of dos2unix, which makes it hard to use patches that are submitted upstream. https://github.com/gentoo/gentoo/pull/39021 And changes a lot of files - why is this being done? Could it be more targeted?