mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-14 12:31:18 +02:00
updated
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= python
|
||||
PORTVERSION= 3.9.14
|
||||
PORTVERSION= 3.9.21
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= PYTHON
|
||||
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1664556235
|
||||
SHA256 (python/Python-3.9.14.tar.xz) = 651304d216c8203fe0adf1a80af472d8e92c3b0e0a7892222ae4d9f3ae4debcf
|
||||
SIZE (python/Python-3.9.14.tar.xz) = 19750176
|
||||
TIMESTAMP = 1756387827
|
||||
SHA256 (python/Python-3.9.21.tar.xz) = 3126f59592c9b0d798584755f2bf7b081fa1ca35ce7a6fea980108d752a05bb1
|
||||
SIZE (python/Python-3.9.21.tar.xz) = 19647056
|
||||
|
||||
29
lang/python39/files/patch-Modules__socketmodule.c
Normal file
29
lang/python39/files/patch-Modules__socketmodule.c
Normal file
@@ -0,0 +1,29 @@
|
||||
--- Modules/socketmodule.c
|
||||
+++ Modules/socketmodule.c
|
||||
@@ -1850,6 +1850,11 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
||||
/* RDS sockets use sockaddr_in: fall-through */
|
||||
#endif /* AF_RDS */
|
||||
|
||||
+#ifdef AF_DIVERT
|
||||
+ case AF_DIVERT:
|
||||
+ /* FreeBSD divert(4) sockets use sockaddr_in: fall-through */
|
||||
+#endif /* AF_DIVERT */
|
||||
+
|
||||
case AF_INET:
|
||||
{
|
||||
struct maybe_idna host = {NULL, NULL};
|
||||
@@ -7628,6 +7633,14 @@ PyInit__socket(void)
|
||||
PyModule_AddIntMacro(m, AF_SYSTEM);
|
||||
#endif
|
||||
|
||||
+/* FreeBSD divert(4) */
|
||||
+#ifdef PF_DIVERT
|
||||
+ PyModule_AddIntMacro(m, PF_DIVERT);
|
||||
+#endif
|
||||
+#ifdef AF_DIVERT
|
||||
+ PyModule_AddIntMacro(m, AF_DIVERT);
|
||||
+#endif
|
||||
+
|
||||
#ifdef AF_PACKET
|
||||
PyModule_AddIntMacro(m, AF_PACKET);
|
||||
#endif
|
||||
@@ -1,11 +0,0 @@
|
||||
--- setup.py.orig 2021-02-17 17:43:29 UTC
|
||||
+++ setup.py
|
||||
@@ -2196,7 +2196,7 @@ class PyBuildExt(build_ext):
|
||||
undef_macros = []
|
||||
if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"):
|
||||
include_dirs = []
|
||||
- libraries = [':libmpdec.so.2']
|
||||
+ libraries = ['mpdec']
|
||||
sources = ['_decimal/_decimal.c']
|
||||
depends = ['_decimal/docstrings.h']
|
||||
else:
|
||||
@@ -162,6 +162,7 @@ include/python3.9/warnings.h
|
||||
include/python3.9/weakrefobject.h
|
||||
lib/libpython3.9.so
|
||||
lib/libpython3.9.so.1
|
||||
lib/libpython3.so
|
||||
lib/pkgconfig/python-3.9-embed.pc
|
||||
lib/pkgconfig/python-3.9.pc
|
||||
lib/python3.9/__future__.py
|
||||
@@ -2187,7 +2188,7 @@ lib/python3.9/ensurepip/_bundled/__init__.py
|
||||
lib/python3.9/ensurepip/_bundled/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
lib/python3.9/ensurepip/_bundled/__pycache__/__init__.cpython-39.opt-2.pyc
|
||||
lib/python3.9/ensurepip/_bundled/__pycache__/__init__.cpython-39.pyc
|
||||
lib/python3.9/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl
|
||||
lib/python3.9/ensurepip/_bundled/pip-23.0.1-py3-none-any.whl
|
||||
lib/python3.9/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
|
||||
lib/python3.9/ensurepip/_uninstall.py
|
||||
lib/python3.9/enum.py
|
||||
@@ -3155,11 +3156,11 @@ lib/python3.9/lib2to3/fixes/fix_xrange.py
|
||||
lib/python3.9/lib2to3/fixes/fix_xreadlines.py
|
||||
lib/python3.9/lib2to3/fixes/fix_zip.py
|
||||
lib/python3.9/lib2to3/Grammar.txt
|
||||
lib/python3.9/lib2to3/Grammar3.9.14.final.0.pickle
|
||||
lib/python3.9/lib2to3/Grammar3.9.21.final.0.pickle
|
||||
lib/python3.9/lib2to3/main.py
|
||||
lib/python3.9/lib2to3/patcomp.py
|
||||
lib/python3.9/lib2to3/PatternGrammar.txt
|
||||
lib/python3.9/lib2to3/PatternGrammar3.9.14.final.0.pickle
|
||||
lib/python3.9/lib2to3/PatternGrammar3.9.21.final.0.pickle
|
||||
lib/python3.9/lib2to3/pgen2/__init__.py
|
||||
lib/python3.9/lib2to3/pgen2/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
lib/python3.9/lib2to3/pgen2/__pycache__/__init__.cpython-39.opt-2.pyc
|
||||
|
||||
Reference in New Issue
Block a user