Patch is not working

Maarten Th. Mulders maarten.mulders at student.eur.nl
Fri Jun 30 12:34:15 CEST 2006


Hello all,

I have had the same problem. If I remember well, the point was that the
patches are saved in MS text format (so with an ASCII-13 and an ASCII-10
at the end of each line). Converting them to Unix text format solved the
problem.

Regards,

Maarten Th. Mulders

> YesCygwin Bash and patch from cygwin have maked the job
> 
> Any more question i'll ask :)
> 
> Jaros?aw Staniek escreveu:
>> Porfirio Ribeiro said the following, On 2006-06-06 13:23:
>>
>>   
>>> I was trying to compile kdelibs on windows but i am stuck on patch :(
>>>
>>> I have tried diferent versions of it but it always give me this:
>>>
>>>
>>> E:\Kde>patch -p0 < 
>>> E:\Kde\Setups\qt-copy-patches\0112-ksyntaxhighlighter-rehighlight-document.diff
>>> patching file `src/gui/text/qsyntaxhighlighter.cpp'
>>> Assertion failed: hunk, file patch.c, line 321
>>>
>>> This application has requested the Runtime to terminate it in an unusual 
>>> way.
>>> Please contact the application's support team for more information.
>>>
>>> E:\Kde>
>>>     
>>
>> Have you tried to use bash? It comes with Cygwin and 'patch' coming with it. I 
>> use that without problems all the time. Maybe patches only work well with 
>> standard unix "/" characters, not MS DOS "\".
>>
>>   



More information about the Kde-windows mailing list