forked from pool/python-pycurl
- Update to 7.43.0.3:
* This release primarily fixes an OpenSSL-related installation issue, and repairs the ability to use PycURL with newer libcurls compiled without FTP support. - Rebase patch: * python-pycurl-7.43.0-tls-backend.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=64
This commit is contained in:
committed by
Git OBS Bridge
parent
65a6986e5b
commit
2c6fe7918e
@@ -11,10 +11,10 @@ Bug: https://bugzilla.redhat.com/1446850
|
||||
src/module.c | 20 +-------------------
|
||||
1 file changed, 1 insertion(+), 19 deletions(-)
|
||||
|
||||
diff --git a/src/module.c b/src/module.c
|
||||
index a7108a0..af79875 100644
|
||||
--- a/src/module.c
|
||||
+++ b/src/module.c
|
||||
Index: pycurl-7.43.0.3/src/module.c
|
||||
===================================================================
|
||||
--- pycurl-7.43.0.3.orig/src/module.c
|
||||
+++ pycurl-7.43.0.3/src/module.c
|
||||
@@ -322,7 +322,7 @@ initpycurl(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
@@ -24,7 +24,7 @@ index a7108a0..af79875 100644
|
||||
size_t libcurl_version_len, pycurl_version_len;
|
||||
PyObject *xio_module = NULL;
|
||||
PyObject *collections_module = NULL;
|
||||
@@ -345,24 +345,6 @@ initpycurl(void)
|
||||
@@ -345,26 +345,6 @@ initpycurl(void)
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,8 @@ index a7108a0..af79875 100644
|
||||
- runtime_ssl_lib = "gnutls";
|
||||
- } else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
|
||||
- runtime_ssl_lib = "nss";
|
||||
- } else if (!strncmp(vi->ssl_version, "mbedTLS/", 8)) {
|
||||
- runtime_ssl_lib = "mbedtls";
|
||||
- } else {
|
||||
- runtime_ssl_lib = "none/other";
|
||||
- }
|
||||
@@ -49,6 +51,3 @@ index a7108a0..af79875 100644
|
||||
/* Initialize the type of the new type objects here; doing it here
|
||||
* is required for portability to Windows without requiring C++. */
|
||||
p_Curl_Type = &Curl_Type;
|
||||
--
|
||||
2.10.2
|
||||
|
||||
|
Reference in New Issue
Block a user