aboutsummaryrefslogtreecommitdiff
path: root/lang/python38/files/patch-Modules__socketmodule.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2025-03-31 15:33:41 +0000
committerRene Ladan <rene@FreeBSD.org>2025-03-31 15:34:49 +0000
commitca15850a2b13f4fede0294d724e1d4a8edec8407 (patch)
tree9a8f4e945d66f7d11cdeb15349aded371e612770 /lang/python38/files/patch-Modules__socketmodule.c
parentb5cf4bab957679ecfaf534545243f60923ea9013 (diff)
lang/python38: remove and unregister, it reached end-of-life in October 2024
This has to be done in one commit to avoid breaking INDEX
Diffstat (limited to 'lang/python38/files/patch-Modules__socketmodule.c')
-rw-r--r--lang/python38/files/patch-Modules__socketmodule.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/lang/python38/files/patch-Modules__socketmodule.c b/lang/python38/files/patch-Modules__socketmodule.c
deleted file mode 100644
index 93ef3b785ab9..000000000000
--- a/lang/python38/files/patch-Modules__socketmodule.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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