I had an issue when trying to apply a patch from my github local checkout on top of the zip archive file (that I rely upon for the fedora package). In this case the github checkout is done using unix end of line that is most suitable usage under *Nix.
But when applying the patch on top of the zip file, the patch cannot apply. This is because the zip file provide content with CRLF line terminators that are most suitable for Windows usage.
This is usual to provide both zip and tar.gz (or another compression format, but this is minor). that in order to avoid various issue including for debug.
I had an issue when trying to apply a patch from my github local checkout on top of the zip archive file (that I rely upon for the fedora package). In this case the github checkout is done using unix end of line that is most suitable usage under *Nix.
But when applying the patch on top of the zip file, the patch cannot apply. This is because the zip file provide content with CRLF line terminators that are most suitable for Windows usage.
This is usual to provide both zip and tar.gz (or another compression format, but this is minor). that in order to avoid various issue including for debug.