pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python39 python39: Fix PR pkg/56167
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba3a4d10d5a0
branches: trunk
changeset: 452907:ba3a4d10d5a0
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Thu May 20 06:56:43 2021 +0000
description:
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.
diffstat:
lang/python39/Makefile | 3 ++-
lang/python39/distinfo | 3 ++-
lang/python39/patches/patch-Modules___ssl.c | 17 +++++++++++++++++
3 files changed, 21 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r cfcfec7d099d -r ba3a4d10d5a0 lang/python39/Makefile
--- a/lang/python39/Makefile Thu May 20 06:45:07 2021 +0000
+++ b/lang/python39/Makefile Thu May 20 06:56:43 2021 +0000
@@ -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
diff -r cfcfec7d099d -r ba3a4d10d5a0 lang/python39/distinfo
--- a/lang/python39/distinfo Thu May 20 06:45:07 2021 +0000
+++ b/lang/python39/distinfo Thu May 20 06:56:43 2021 +0000
@@ -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_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
diff -r cfcfec7d099d -r ba3a4d10d5a0 lang/python39/patches/patch-Modules___ssl.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python39/patches/patch-Modules___ssl.c Thu May 20 06:56:43 2021 +0000
@@ -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