aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/php5-curl
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-02-09 20:32:03 +0800
committerpav <pav@FreeBSD.org>2007-02-09 20:32:03 +0800
commitc6407e59c085cb94a4ce42f30e2038e40dbb2115 (patch)
tree78bc11df9c82b323c3fa5dd923374dfa605e85d1 /ftp/php5-curl
parent905a2fbf8e1e00420cd68d8c21e30af61f4aa7f1 (diff)
downloadfreebsd-ports-gnome-c6407e59c085cb94a4ce42f30e2038e40dbb2115.tar.gz
freebsd-ports-gnome-c6407e59c085cb94a4ce42f30e2038e40dbb2115.tar.zst
freebsd-ports-gnome-c6407e59c085cb94a4ce42f30e2038e40dbb2115.zip
- Fix patch for php-5.2.1
Diffstat (limited to 'ftp/php5-curl')
-rw-r--r--ftp/php5-curl/files/patch-interface.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/ftp/php5-curl/files/patch-interface.c b/ftp/php5-curl/files/patch-interface.c
deleted file mode 100644
index e645cd481d30..000000000000
--- a/ftp/php5-curl/files/patch-interface.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- interface.c.orig Tue Dec 5 16:50:11 2006
-+++ interface.c Tue Dec 5 16:50:25 2006
-@@ -369,7 +369,9 @@
- REGISTER_CURL_CONSTANT(CURLOPT_FTPAPPEND);
- REGISTER_CURL_CONSTANT(CURLOPT_NETRC);
- REGISTER_CURL_CONSTANT(CURLOPT_FOLLOWLOCATION);
-+#if CURLOPT_FTPASCII != 0
- REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII);
-+#endif
- REGISTER_CURL_CONSTANT(CURLOPT_PUT);
- #if CURLOPT_MUTE != 0
- REGISTER_CURL_CONSTANT(CURLOPT_MUTE);
-@@ -409,7 +411,9 @@
- REGISTER_CURL_CONSTANT(CURLOPT_FILETIME);
- REGISTER_CURL_CONSTANT(CURLOPT_WRITEFUNCTION);
- REGISTER_CURL_CONSTANT(CURLOPT_READFUNCTION);
-+#if CURLOPT_PASSWDFUNCTION != 0
- REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION);
-+#endif
- REGISTER_CURL_CONSTANT(CURLOPT_HEADERFUNCTION);
- REGISTER_CURL_CONSTANT(CURLOPT_MAXREDIRS);
- REGISTER_CURL_CONSTANT(CURLOPT_MAXCONNECTS);
-@@ -1158,11 +1162,13 @@
- dupch->handlers->read->fp = ch->handlers->read->fp;
- dupch->handlers->read->fd = ch->handlers->read->fd;
-
-+#if CURLOPT_PASSWDFUNCTION != 0
- if (ch->handlers->passwd) {
- zval_add_ref(&ch->handlers->passwd);
- dupch->handlers->passwd = ch->handlers->passwd;
- curl_easy_setopt(ch->cp, CURLOPT_PASSWDDATA, (void *) dupch);
- }
-+#endif
- if (ch->handlers->write->func_name) {
- zval_add_ref(&ch->handlers->write->func_name);
- dupch->handlers->write->func_name = ch->handlers->write->func_name;
-@@ -1915,9 +1921,11 @@
- if (ch->handlers->write_header->func_name) {
- zval_ptr_dtor(&ch->handlers->write_header->func_name);
- }
-+#if CURLOPT_PASSWDFUNCTION != 0
- if (ch->handlers->passwd) {
- zval_ptr_dtor(&ch->handlers->passwd);
- }
-+#endif
- if (ch->header.str_len > 0) {
- efree(ch->header.str);
- }