unbreak the curl extension by removing references to deprecated
constants removed from curl.h; noticed and patch provided by Marc Wirth <marcwirth@mac.com>
This commit is contained in:
parent
666f31d371
commit
aafb4a7061
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2006/10/21 11:44:10 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2006/11/12 13:40:20 robert Exp $
|
||||
|
||||
FULLPKGNAME= php5-extensions-${V}
|
||||
COMMENT= "informational package about PHP5 extensions"
|
||||
@ -52,6 +52,7 @@ COMMENT-curl= "curl URL library extensions for php5"
|
||||
CONFIGURE_ARGS+= --with-curl=shared,${LOCALBASE}
|
||||
CURL_DEPENDS= curl.>=2::net/curl
|
||||
CURL_WANTLIB= crypto ssl z
|
||||
FULLPKGNAME-curl= php5-curl-${V}p0
|
||||
.endif
|
||||
|
||||
# dba
|
||||
|
20
www/php5/extensions/patches/patch-ext_curl_interface_c
Normal file
20
www/php5/extensions/patches/patch-ext_curl_interface_c
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-ext_curl_interface_c,v 1.1 2006/11/12 13:40:20 robert Exp $
|
||||
--- ext/curl/interface.c.orig Sun Nov 12 14:23:01 2006
|
||||
+++ ext/curl/interface.c Sun Nov 12 14:23:25 2006
|
||||
@@ -271,7 +271,7 @@ PHP_MINIT_FUNCTION(curl)
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_FTPAPPEND);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_NETRC);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_FOLLOWLOCATION);
|
||||
- REGISTER_CURL_CONSTANT(CURLOPT_FTPASCII);
|
||||
+ REGISTER_CURL_CONSTANT(CURLOPT_TRANSFERTEXT);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_PUT);
|
||||
#if CURLOPT_MUTE != 0
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_MUTE);
|
||||
@@ -311,7 +311,6 @@ PHP_MINIT_FUNCTION(curl)
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_FILETIME);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_WRITEFUNCTION);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_READFUNCTION);
|
||||
- REGISTER_CURL_CONSTANT(CURLOPT_PASSWDFUNCTION);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_HEADERFUNCTION);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_MAXREDIRS);
|
||||
REGISTER_CURL_CONSTANT(CURLOPT_MAXCONNECTS);
|
Loading…
x
Reference in New Issue
Block a user