pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python312
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Oct 4 13:19:49 UTC 2023
Modified Files:
pkgsrc/lang/python312: distinfo
pkgsrc/lang/python312/patches: patch-Modules_socketmodule.c
Log Message:
python312: Fix socket module on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/python312/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/lang/python312/patches/patch-Modules_socketmodule.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/python312/distinfo
diff -u pkgsrc/lang/python312/distinfo:1.1 pkgsrc/lang/python312/distinfo:1.2
--- pkgsrc/lang/python312/distinfo:1.1 Mon Oct 2 20:07:14 2023
+++ pkgsrc/lang/python312/distinfo Wed Oct 4 13:19:49 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2023/10/02 20:07:14 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/10/04 13:19:49 jperkin Exp $
BLAKE2s (Python-3.12.0.tar.xz) = d99d0b678e02814643fcf2977b1a85992441e78c88c5624b7d5ed9d50e72c82c
SHA512 (Python-3.12.0.tar.xz) = 4d5353151fd1dad80fe96bd2a668cec27287a0dad85086239597166f8189d4edf6c4800ed14f39c8e54816076fec13ba405d6bfa1123ad2dada8cf85c60025e6
@@ -8,5 +8,5 @@ SHA1 (patch-Lib_ctypes_util.py) = 3dec1b
SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
SHA1 (patch-Lib_sysconfig.py) = bc6d91bf8f7121456b26ea7f080f588c96f2596f
SHA1 (patch-Makefile.pre.in) = 03403a42fc77e4d244fe22335563927f97be6980
-SHA1 (patch-Modules_socketmodule.c) = dcf93806374bb8d983b7c8cefd7a3360a90064d7
+SHA1 (patch-Modules_socketmodule.c) = 87e02460d54a6879e1e5a3029ad1068909f63961
SHA1 (patch-configure) = dee9b26930232c58f0edff884a94031c014387e5
Index: pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c
diff -u pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c:1.1 pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c:1.2
--- pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c:1.1 Mon Oct 2 20:07:15 2023
+++ pkgsrc/lang/python312/patches/patch-Modules_socketmodule.c Wed Oct 4 13:19:49 2023
@@ -1,8 +1,20 @@
-$NetBSD: patch-Modules_socketmodule.c,v 1.1 2023/10/02 20:07:15 adam Exp $
+$NetBSD: patch-Modules_socketmodule.c,v 1.2 2023/10/04 13:19:49 jperkin Exp $
---- Modules/socketmodule.c.orig 2022-01-13 18:52:14.000000000 +0000
+SunOS needs _XOPEN_SOURCE for sendmsg bits that are now required.
+
+--- Modules/socketmodule.c.orig 2023-10-02 11:48:14.000000000 +0000
+++ Modules/socketmodule.c
-@@ -5440,7 +5440,7 @@ socket_sethostname(PyObject *self, PyObj
+@@ -89,6 +89,9 @@ Local naming conventions:
+ # define Py_BUILD_CORE_MODULE 1
+ #endif
+
++#ifdef __sun
++#define _XOPEN_SOURCE 600
++#endif
+ #ifdef __APPLE__
+ // Issue #35569: Expose RFC 3542 socket options.
+ #define __APPLE_USE_RFC_3542 1
+@@ -5655,7 +5658,7 @@ socket_sethostname(PyObject *self, PyObj
Py_buffer buf;
int res, flag = 0;
Home |
Main Index |
Thread Index |
Old Index