diff options
Diffstat (limited to 'lang/python310/files')
-rw-r--r-- | lang/python310/files/libressl/patch-Modules___ssl.c | 11 | ||||
-rw-r--r-- | lang/python310/files/patch-configure | 32 |
2 files changed, 11 insertions, 32 deletions
diff --git a/lang/python310/files/libressl/patch-Modules___ssl.c b/lang/python310/files/libressl/patch-Modules___ssl.c new file mode 100644 index 000000000000..fddf9209390c --- /dev/null +++ b/lang/python310/files/libressl/patch-Modules___ssl.c @@ -0,0 +1,11 @@ +--- Modules/_ssl.c.orig 2025-04-08 12:10:59 UTC ++++ Modules/_ssl.c +@@ -4529,7 +4529,7 @@ set_sni_callback(PySSLContext *self, PyObject *arg, vo + return 0; + } + +-#if OPENSSL_VERSION_NUMBER < 0x30300000L ++#if OPENSSL_VERSION_NUMBER < 0x30300000L && !defined(LIBRESSL_VERSION_NUMBER) + static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj) + { + int ok; diff --git a/lang/python310/files/patch-configure b/lang/python310/files/patch-configure deleted file mode 100644 index 1890947cf0d6..000000000000 --- a/lang/python310/files/patch-configure +++ /dev/null @@ -1,32 +0,0 @@ -Disable the detection of includes and library from e2fsprogs-libuuid, which -introduces hidden dependency and breaks build - ---- configure.orig 2022-08-01 20:25:27 UTC -+++ configure -@@ -6625,7 +6625,7 @@ fi - - if test "$Py_LTO" = 'true' ; then - case $CC in -- *clang*) -+ *clang*|cc) - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args. -@@ -10123,7 +10123,7 @@ fi - # Dynamic linking for HP-UX - - # checks for uuid.h location --for ac_header in uuid/uuid.h uuid.h -+for ac_header in uuid.h - do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` - ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -@@ -10141,7 +10141,7 @@ done - $as_echo_n "checking for uuid_generate_time_safe... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ --#include <uuid/uuid.h> -+#include <uuid.h> - int - main () - { |