aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2010-04-04 14:06:02 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2010-04-04 14:06:02 +0800
commitf950afd2b6b6ada22adf4c589f4cc0b2a0ea0100 (patch)
tree099cd0ccbead565e83c29ea2be84acca7f65a982 /misc
parent99770f3b96b88ad4d3bb6c80adc06c8109ed1063 (diff)
downloadfreebsd-ports-gnome-f950afd2b6b6ada22adf4c589f4cc0b2a0ea0100.tar.gz
freebsd-ports-gnome-f950afd2b6b6ada22adf4c589f4cc0b2a0ea0100.tar.zst
freebsd-ports-gnome-f950afd2b6b6ada22adf4c589f4cc0b2a0ea0100.zip
- Fix possible crash as a result of recent curl update
- Bump PORTREVISION Obtained from: Crosswire repo
Diffstat (limited to 'misc')
-rw-r--r--misc/sword/Makefile2
-rw-r--r--misc/sword/files/patch-src__mgr__curlftpt.cpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/misc/sword/Makefile b/misc/sword/Makefile
index 8cea405518f3..e55e8ca275cf 100644
--- a/misc/sword/Makefile
+++ b/misc/sword/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sword
PORTVERSION= 1.6.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v1.6/ \
http://crosswire.org/ftpmirror/pub/sword/source/v1.6/ \
diff --git a/misc/sword/files/patch-src__mgr__curlftpt.cpp b/misc/sword/files/patch-src__mgr__curlftpt.cpp
new file mode 100644
index 000000000000..774f17f09782
--- /dev/null
+++ b/misc/sword/files/patch-src__mgr__curlftpt.cpp
@@ -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);
+ }
+