Unable to apply patches (different line endings)

I’ve a problem with line endings for a patch I’m trying to apply, Does someone have insight about this?

I checked the following stackexchange question, but all answers seem to revolve around the call to patch itself, and I don’t have access to it, as it’s burried in the ynh_setup_source helper

I’m working on GitHub - YunoHost-Apps/question2answer_ynh at ldap and the full debug log is available at https://paste.yunohost.org/raw/aleluniroy