pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python39



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Thu May 20 06:56:44 UTC 2021

Modified Files:
        pkgsrc/lang/python39: Makefile distinfo
Added Files:
        pkgsrc/lang/python39/patches: patch-Modules___ssl.c

Log Message:
python39: Fix PR pkg/56167

The function implicit declaration occurs on FreeBSD 12.2 but not on
FreeBSD 13.0. The fix comes from python3.10.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python39/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python39/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/python39/patches/patch-Modules___ssl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python39/Makefile
diff -u pkgsrc/lang/python39/Makefile:1.6 pkgsrc/lang/python39/Makefile:1.7
--- pkgsrc/lang/python39/Makefile:1.6   Tue Dec  8 14:30:40 2020
+++ pkgsrc/lang/python39/Makefile       Thu May 20 06:56:43 2021
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2020/12/08 14:30:40 adam Exp $
+# $NetBSD: Makefile,v 1.7 2021/05/20 06:56:43 triaxx Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python39-${PY_DISTVERSION}
+PKGREVISION=   1
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/python39/distinfo
diff -u pkgsrc/lang/python39/distinfo:1.9 pkgsrc/lang/python39/distinfo:1.10
--- pkgsrc/lang/python39/distinfo:1.9   Tue May  4 05:17:29 2021
+++ pkgsrc/lang/python39/distinfo       Thu May 20 06:56:43 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2021/05/04 05:17:29 adam Exp $
+$NetBSD: distinfo,v 1.10 2021/05/20 06:56:43 triaxx Exp $
 
 SHA1 (Python-3.9.5.tar.xz) = edc80e5e33fc3d3fae53e6b95ae4ca9277809b9b
 RMD160 (Python-3.9.5.tar.xz) = 3c7bf2d7bcea98a8a749ef19ce7da429a7ca2c08
@@ -11,6 +11,7 @@ SHA1 (patch-Lib_distutils_unixccompiler.
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
 SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
 SHA1 (patch-Makefile.pre.in) = d42f9f5bca1dd663f64122dc95b49111452fe6e8
+SHA1 (patch-Modules___ssl.c) = f241ba148e4c244a641386be5ac07817b03f04f7
 SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
 SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
 SHA1 (patch-Modules_socketmodule.c) = 02c447f980a08e2185df78d2f13373574f414304

Added files:

Index: pkgsrc/lang/python39/patches/patch-Modules___ssl.c
diff -u /dev/null pkgsrc/lang/python39/patches/patch-Modules___ssl.c:1.1
--- /dev/null   Thu May 20 06:56:44 2021
+++ pkgsrc/lang/python39/patches/patch-Modules___ssl.c  Thu May 20 06:56:43 2021
@@ -0,0 +1,17 @@
+$NetBSD: patch-Modules___ssl.c,v 1.1 2021/05/20 06:56:43 triaxx Exp $
+
+Fix build failure on FreeBSD 12.
+From https://github.com/python/cpython/commit/3309113
+
+--- Modules/_ssl.c.orig        2021-05-14 15:52:07.251636000 +0200
++++ Modules/_ssl.c     2021-05-14 15:52:37.012941000 +0200
+@@ -151,6 +151,9 @@
+  * unless OpenSSL is compiled without the methods. It's the easiest way to
+  * make 1.0.2, 1.1.0, 1.1.1, and 3.0.0 happy without deprecation warnings.
+  */
++#ifndef OPENSSL_NO_SSL3_METHOD
++extern const SSL_METHOD *SSLv3_method(void);
++#endif
+ #ifndef OPENSSL_NO_TLS1_METHOD
+ extern const SSL_METHOD *TLSv1_method(void);
+ #endif



Home | Main Index | Thread Index | Old Index