summaryrefslogtreecommitdiff
path: root/lang/php5/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/patches/patch-ac')
-rw-r--r--lang/php5/patches/patch-ac37
1 files changed, 0 insertions, 37 deletions
diff --git a/lang/php5/patches/patch-ac b/lang/php5/patches/patch-ac
deleted file mode 100644
index 04b6cb00201..00000000000
--- a/lang/php5/patches/patch-ac
+++ /dev/null
@@ -1,37 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2006/11/07 17:24:39 tron Exp $
-
---- ext/curl/interface.c.orig 2006-10-11 00:12:59.000000000 +0100
-+++ ext/curl/interface.c 2006-11-07 17:17:18.000000000 +0000
-@@ -28,6 +28,18 @@
-
- #if HAVE_CURL
-
-+#ifndef CURLOPT_PASSWDDATA
-+#define CURLOPT_PASSWDDATA 0
-+#endif
-+
-+#ifndef CURLOPT_PASSWDFUNCTION
-+#define CURLOPT_PASSWDFUNCTION 0
-+#endif
-+
-+#ifndef CURLOPT_FTPASCII
-+#define CURLOPT_FTPASCII 0
-+#endif
-+
- #include <stdio.h>
- #include <string.h>
-
-@@ -1158,11 +1170,13 @@
- dupch->handlers->read->fp = ch->handlers->read->fp;
- dupch->handlers->read->fd = ch->handlers->read->fd;
-
-+#if CURLOPT_PASSWDDATA != 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;