[Lazarus] Patch: problems with LineEndings

Reinier Olislagers reinierolislagers at gmail.com
Fri Mar 15 14:36:49 CET 2013


On 15-3-2013 14:28, Bart wrote:
> Hi,
> 
> Maybe an RTFM question, but I didn't find an answer.
> 
> I receive patches and they are in Unix style end-of-line (Lf) (and
> this I cannot control).
> My local sources are in Windows style (CrLf).
> 
> I cannot get patch to apply the patchfile to my sources.
> I tried the option in patch that ignores whitespace, but it fails.
> 
> In the end I converted the patchfile to have Windows end-of-line
> style, and that worked.
> 
> I use patch that comes with fpc 2.6.2RC1.
> 
> How to solve this?

AFAIK, there's no way that that patch.exe can deal with it.





More information about the Lazarus mailing list