From b17ac0bbfd991c970278e0a0599fa320cc9bdee1 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 1 Nov 2006 11:33:34 +0000 Subject: Add patch to make the "php-curl" package build with version 7.16.0 and newer of the "curl" package. --- lang/php5/distinfo | 3 ++- lang/php5/patches/patch-ac | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 lang/php5/patches/patch-ac (limited to 'lang') diff --git a/lang/php5/distinfo b/lang/php5/distinfo index a3777169b83..d96ed4945dd 100644 --- a/lang/php5/distinfo +++ b/lang/php5/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.30 2006/10/22 13:19:19 adrianp Exp $ +$NetBSD: distinfo,v 1.31 2006/11/01 11:33:34 tron Exp $ SHA1 (php-5.1.6/php-5.1.6.tar.bz2) = a20b946f1de0a8a35a8a6bf437adbba4e5448d27 RMD160 (php-5.1.6/php-5.1.6.tar.bz2) = 7ac52f4674532397c982f6ced594b70dd17522af Size (php-5.1.6/php-5.1.6.tar.bz2) = 6454408 bytes SHA1 (patch-aa) = c1ba60ea1e8df9242b1f3c5078808c7968cf0de8 SHA1 (patch-ab) = e91b34cd6cfadcc7f39e5832241ea711f1c0f827 +SHA1 (patch-ac) = 4f8714134977e6cef25df23b60ceea50c2aee6d0 SHA1 (patch-ag) = 4ccb67ba6f5370b1d16b087e3e714de3e5ae604e SHA1 (patch-ah) = c7cbd4b9ea0796ea3b7491c2cffb6ddddc518587 SHA1 (patch-aj) = 54812097499c81e5cb0196ab949cc86a4f24a9cc 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 + #include + -- cgit v1.2.3