[Pkg-crosswire-devel] Fwd: patch for Sword against curl-7.20

Dmitrijs Ledkovs dmitrij.ledkov at ubuntu.com
Sat Mar 20 15:21:46 GMT 2010


to do for debian.


---------- Forwarded message ----------
From: Karl Kleinpaste <karl at kleinpaste.org>
Date: 20 March 2010 01:22
Subject: patch for Sword against curl-7.20
To: Deji Akingunola <dakingun at gmail.com>, Martin Gruner
<mg.pub at gmx.net>, Matthew Talbert <ransom1982 at gmail.com>, Dmitrijs
Ledkovs <dmitrij.ledkov at ubuntu.com>


General info for folks...  I'm sure everyone knows that there is trouble
with Sword in environments having curl-7.20 (Fedora13-alpha).  The bug
is probably in curl but this 1-liner works around it just fine.

I've sent this to Troy, including asking whether we should expect a
fresh release of Sword, or if current Sword should just be re-released
with the patch.  I'll let you know when he replies.

Index: src/mgr/curlftpt.cpp
===================================================================
--- src/mgr/curlftpt.cpp        (revision 2505)
+++ src/mgr/curlftpt.cpp        (working copy)
@@ -124,6 +124,7 @@


 CURLFTPTransport::~CURLFTPTransport() {
+       curl_easy_setopt(session, CURLOPT_PROGRESSDATA, (void*)NULL);
       curl_easy_cleanup(session);
 }


--karl




More information about the Pkg-crosswire-devel mailing list