Received: by mail.netbsd.org (Postfix, from userid 605) id EBF9684DC2; Sat, 14 Jan 2023 17:23:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 28F8484D5E for ; Sat, 14 Jan 2023 17:23:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id idAk2Liuzk5l for ; Sat, 14 Jan 2023 17:23:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 76AF484C86 for ; Sat, 14 Jan 2023 17:23:26 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 742F7FA90; Sat, 14 Jan 2023 17:23:26 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_167371700680660" MIME-Version: 1.0 Date: Sat, 14 Jan 2023 17:23:26 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/lang/python311/patches To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230114172326.742F7FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_167371700680660 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_167371700680660 Content-Disposition: inline Content-Length: 1209 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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; --_----------=_167371700680660--