- Fix possible crash as a result of recent curl update

- Bump PORTREVISION

Obtained from:	Crosswire repo
This commit is contained in:
Thomas Abthorpe 2010-04-04 06:06:02 +00:00
parent 5208dca85e
commit 0f7c365816
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252183
2 changed files with 11 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= sword PORTNAME= sword
PORTVERSION= 1.6.1 PORTVERSION= 1.6.1
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= misc CATEGORIES= misc
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.6/ \ MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.6/ \
http://crosswire.org/ftpmirror/pub/sword/source/v1.6/ \ http://crosswire.org/ftpmirror/pub/sword/source/v1.6/ \

View file

@ -0,0 +1,10 @@
--- ./src/mgr/curlftpt.cpp.orig 2010-04-04 01:26:26.000000000 -0400
+++ ./src/mgr/curlftpt.cpp 2010-04-04 01:26:02.000000000 -0400
@@ -124,6 +124,7 @@
CURLFTPTransport::~CURLFTPTransport() {
+ curl_easy_setopt(session, CURLOPT_PROGRESSDATA, (void*)NULL);
curl_easy_cleanup(session);
}