Date: Sun, 26 May 2019 18:01:53 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502732 - head/ftp/curl/files Message-ID: <201905261801.x4QI1r67052802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 26 18:01:53 2019 New Revision: 502732 URL: https://svnweb.freebsd.org/changeset/ports/502732 Log: Fix build with FTP disabled and FILE enabled Obtained from: https://github.com/curl/curl/commit/dc0a671213fa94489933755828b26f5807d61a7a Reported by: Charlie Li <ml+freebsd@vishwin.info> Modified: head/ftp/curl/files/patch-lib-url.c Modified: head/ftp/curl/files/patch-lib-url.c ============================================================================== --- head/ftp/curl/files/patch-lib-url.c Sun May 26 18:01:46 2019 (r502731) +++ head/ftp/curl/files/patch-lib-url.c Sun May 26 18:01:53 2019 (r502732) @@ -5,6 +5,15 @@ Last-Update: 2010-12-18 --- lib/url.c.orig 2019-05-21 17:57:39 UTC +++ lib/url.c +@@ -439,7 +439,7 @@ CURLcode Curl_init_userdefined(struct Cu + + set->httpreq = HTTPREQ_GET; /* Default HTTP request */ + set->rtspreq = RTSPREQ_OPTIONS; /* Default RTSP request */ +-#ifndef CURL_DISABLE_FILE ++#ifndef CURL_DISABLE_FTP + set->ftp_use_epsv = TRUE; /* FTP defaults to EPSV operations */ + set->ftp_use_eprt = TRUE; /* FTP defaults to EPRT operations */ + set->ftp_use_pret = FALSE; /* mainly useful for drftpd servers */ @@ -552,6 +552,10 @@ CURLcode Curl_init_userdefined(struct Cu CURL_HTTP_VERSION_1_1 #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905261801.x4QI1r67052802>