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-ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/php5/patches/patch-ac b/lang/php5/patches/patch-ac
new file mode 100644
index 00000000000..b0a35a0a216
--- /dev/null
+++ b/lang/php5/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2006/11/01 11:33:34 tron Exp $
+
+--- ext/curl/interface.c.orig 2006-08-10 18:16:35.000000000 +0100
++++ ext/curl/interface.c 2006-11-01 11:27:50.000000000 +0000
+@@ -28,6 +28,14 @@
+
+ #if HAVE_CURL
+
++#ifndef CURLOPT_PASSWDFUNCTION
++#define CURLOPT_PASSWDFUNCTION 0
++#endif
++
++#ifndef CURLOPT_FTPASCII
++#define CURLOPT_FTPASCII 0
++#endif
++
+ #include <stdio.h>
+ #include <string.h>
+