forked from pool/python-pycurl
28 lines
994 B
Diff
28 lines
994 B
Diff
![]() |
--- pycurl-7.19.0.orig/src/pycurl.c
|
||
|
+++ pycurl-7.19.0/src/pycurl.c
|
||
|
@@ -3450,7 +3450,7 @@ initpycurl(void)
|
||
|
|
||
|
/* Add version strings to the module */
|
||
|
insstr(d, "version", curl_version());
|
||
|
- insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
|
||
|
+ //insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
|
||
|
insint(d, "COMPILE_PY_VERSION_HEX", PY_VERSION_HEX);
|
||
|
insint(d, "COMPILE_LIBCURL_VERSION_NUM", LIBCURL_VERSION_NUM);
|
||
|
|
||
|
@@ -3883,6 +3883,7 @@ initpycurl(void)
|
||
|
insint_s(d, "LOCK_DATA_COOKIE", CURL_LOCK_DATA_COOKIE);
|
||
|
insint_s(d, "LOCK_DATA_DNS", CURL_LOCK_DATA_DNS);
|
||
|
|
||
|
+#if 0
|
||
|
/* Check the version, as this has caused nasty problems in
|
||
|
* some cases. */
|
||
|
vi = curl_version_info(CURLVERSION_NOW);
|
||
|
@@ -3894,6 +3895,7 @@ initpycurl(void)
|
||
|
Py_FatalError("pycurl: libcurl link-time version is older than compile-time version");
|
||
|
assert(0);
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
/* Initialize callback locks if ssl is enabled */
|
||
|
#if defined(PYCURL_NEED_SSL_TSL)
|