git: 63f69f8fb57a - main - lang/python311: fix recvfrom() and sendto() on divert(4) socket

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Tue, 13 Oct 2026 19:55:04 UTC
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63f69f8fb57ab3255392c09354d66c001ad4071d

commit 63f69f8fb57ab3255392c09354d66c001ad4071d
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-10-13 19:38:12 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-10-13 19:53:07 +0000

    lang/python311: fix recvfrom() and sendto() on divert(4) socket
    
    Backport of:
    https://github.com/python/cpython/pull/142993
    https://github.com/python/cpython/pull/143514
    
    PR: 298106
---
 lang/python311/Makefile | 3 +++
 lang/python311/distinfo | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/lang/python311/Makefile b/lang/python311/Makefile
index 0f04823e1e01..30e88be732f6 100644
--- a/lang/python311/Makefile
+++ b/lang/python311/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
@@ -7,6 +8,8 @@ DISTNAME=	Python-${DISTVERSION}
 DIST_SUBDIR=	python
 
 PATCH_SITES=	https://github.com/python/cpython/commit/
+PATCHFILES=	7f936694dbc0dc0dbb07d98fa668776c4e4ca595.patch:-p1 \
+		43e495d6f4e0efe6e7a54625d559f2f656f36916.patch:-p1
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Interpreted object-oriented programming language
diff --git a/lang/python311/distinfo b/lang/python311/distinfo
index 26d37a0906e9..763d7e41745a 100644
--- a/lang/python311/distinfo
+++ b/lang/python311/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1786762680
+TIMESTAMP = 1791919996
 SHA256 (python/Python-3.11.16.tar.xz) = 91bcdebfdde239a003ae93738a7fce0f9230fee5c4bc2b86f6e6e8c6f98aabe8
 SIZE (python/Python-3.11.16.tar.xz) = 20328716
+SHA256 (python/7f936694dbc0dc0dbb07d98fa668776c4e4ca595.patch) = 489dcef57f3a208c4f5767bd5703b625f9f79248f69d207e101f31cb47b6cdbe
+SIZE (python/7f936694dbc0dc0dbb07d98fa668776c4e4ca595.patch) = 1757
+SHA256 (python/43e495d6f4e0efe6e7a54625d559f2f656f36916.patch) = 733978a65d2ef56ae0ec953a4f6130665090a266ec63b4c52ee9b3bd5263839f
+SIZE (python/43e495d6f4e0efe6e7a54625d559f2f656f36916.patch) = 876