summaryrefslogtreecommitdiffstats
path: root/php-7.0.7-curl.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-05-12 09:11:33 +0200
committerRemi Collet <fedora@famillecollet.com>2016-05-12 09:11:33 +0200
commitf5ec5804d7755a9594502706e6ecf691679258c2 (patch)
tree95284d0700ea49c055035a3a57fca46580ef6421 /php-7.0.7-curl.patch
parentc77d978c1a5e7293254f309f205b2a1979d29d42 (diff)
PHP 7.0.7RC1
Diffstat (limited to 'php-7.0.7-curl.patch')
-rw-r--r--php-7.0.7-curl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/php-7.0.7-curl.patch b/php-7.0.7-curl.patch
new file mode 100644
index 0000000..218db98
--- /dev/null
+++ b/php-7.0.7-curl.patch
@@ -0,0 +1,15 @@
+diff -up php-7.0.7RC1/ext/curl/interface.c.curltls php-7.0.7RC1/ext/curl/interface.c
+--- php-7.0.7RC1/ext/curl/interface.c.curltls 2016-05-10 17:28:33.000000000 +0200
++++ php-7.0.7RC1/ext/curl/interface.c 2016-05-12 07:43:00.900419946 +0200
+@@ -1257,7 +1257,11 @@ PHP_MINIT_FUNCTION(curl)
+
+ #if LIBCURL_VERSION_NUM >= 0x072200 /* Available since 7.34.0 */
+ REGISTER_CURL_CONSTANT(CURLOPT_LOGIN_OPTIONS);
++#endif
+
++#if LIBCURL_VERSION_NUM >= 0x071300 /* Available since 7.19.0 (in upstream curl 7.34)
++ backported in RHEL-7 curl-7.29.0-16.el7 rhbz#1012136
++ backported in RHEL-6 curl-7.19.7-43.el6 rhbz#1036789 */
+ REGISTER_CURL_CONSTANT(CURL_SSLVERSION_TLSv1_0);
+ REGISTER_CURL_CONSTANT(CURL_SSLVERSION_TLSv1_1);
+ REGISTER_CURL_CONSTANT(CURL_SSLVERSION_TLSv1_2);