Bart <[email protected]> hat am 15. März 2013 um 14:28 geschrieben: > 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).
The Linux "patch" is clever enough to auto convert line endings. Maybe the fpc version converts to Linux line ending instead of Windows line endings? > I cannot get patch to apply the patchfile to my sources. > I tried the option in patch that ignores whitespace, but it fails. whitespaces are tabs and spaces, not line endings. > In the end I converted the patchfile to have Windows end-of-line > style, and that worked. Yes, that's the solution. > I use patch that comes with fpc 2.6.2RC1. > > How to solve this? Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
