pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python311/patches



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jan 14 17:23:26 UTC 2023

Modified Files:
        pkgsrc/lang/python311/patches: patch-Modules_socketmodule.c

Log Message:
python311: remove superfluous chunk


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/python311/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/python311/patches/patch-Modules_socketmodule.c
diff -u pkgsrc/lang/python311/patches/patch-Modules_socketmodule.c:1.1 pkgsrc/lang/python311/patches/patch-Modules_socketmodule.c:1.2
--- pkgsrc/lang/python311/patches/patch-Modules_socketmodule.c:1.1      Mon Oct 31 09:50:40 2022
+++ pkgsrc/lang/python311/patches/patch-Modules_socketmodule.c  Sat Jan 14 17:23:26 2023
@@ -1,18 +1,7 @@
-$NetBSD: patch-Modules_socketmodule.c,v 1.1 2022/10/31 09:50:40 adam Exp $
-
-Support NetBSD's socketcan implementation
+$NetBSD: patch-Modules_socketmodule.c,v 1.2 2023/01/14 17:23:26 wiz Exp $
 
 --- Modules/socketmodule.c.orig        2022-01-13 18:52:14.000000000 +0000
 +++ Modules/socketmodule.c
-@@ -2112,7 +2112,7 @@ getsockaddrarg(PySocketSockObject *s, Py
-             PyObject *interfaceName;
-             struct ifreq ifr;
-             Py_ssize_t len;
--            struct sockaddr_can *addr = &addrbuf->can;
-+            struct sockaddr_can *addr = (struct sockaddr_can *)addrbuf;
- 
-             if (!PyTuple_Check(args)) {
-                 PyErr_Format(PyExc_TypeError,
 @@ -5440,7 +5440,7 @@ socket_sethostname(PyObject *self, PyObj
      Py_buffer buf;
      int res, flag = 0;



Home | Main Index | Thread Index | Old Index