FS#19292 - [sword] patch curl_7.20.patch is not correct

Attached to Project: Community Packages
Opened by Andreas Tiemeyer (grey) - Thursday, 29 April 2010, 16:57 GMT
Last edited by Dan Griffiths (Ghost1227) - Sunday, 02 May 2010, 01:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Dan Griffiths (Ghost1227)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Sword patch is not working.


Additional info: There is a line break in a comment that shouldn't be there.

* package version(s) 1.6.1-3
* config and/or log files etc.


Steps to reproduce:
download the PKGBUILD + sources, run makepkg -o and apply the patch:

$ cd src/sword-1.6.1; patch --verbose -Np0 -i ../../curl_7.20.patch; cd ../..
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- src/mgr/curlftpt.cpp (revision 2505)
|+++ src/mgr/curlftpt.cpp (revision 2506)
--------------------------
Patching file src/mgr/curlftpt.cpp using Plan A...
Hunk #1 succeeded at 191 with fuzz 2 (offset 14 lines).
Hmm... Ignoring the trailing garbage.

Looking at the patched file shows that the relevant part of the patch isn't there.

Corrected version of the patch is attached.
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Sunday, 02 May 2010, 01:00 GMT
Reason for closing:  Fixed

Loading...