From owner-dev-commits-ports-all@freebsd.org Sun Apr 18 07:12:23 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 572985F4B0C; Sun, 18 Apr 2021 07:12:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FNLjx2Nlnz4c5d; Sun, 18 Apr 2021 07:12:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36FFE274BC; Sun, 18 Apr 2021 07:12:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13I7CHhp011075; Sun, 18 Apr 2021 07:12:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13I7CHcS011074; Sun, 18 Apr 2021 07:12:17 GMT (envelope-from git) Date: Sun, 18 Apr 2021 07:12:17 GMT Message-Id: <202104180712.13I7CHcS011074@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d53cfa21c8d0 - main - devel/py-simpleparse: Fix build with Python 3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d53cfa21c8d0cd1b1b4d459f469a34df869684f6 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2021 07:12:23 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d53cfa21c8d0cd1b1b4d459f469a34df869684f6 commit d53cfa21c8d0cd1b1b4d459f469a34df869684f6 Author: Po-Chuan Hsieh AuthorDate: 2021-04-18 05:02:41 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-04-18 05:43:38 +0000 devel/py-simpleparse: Fix build with Python 3.9 Obtained from: https://github.com/mcfletch/simpleparse/commit/dc6dc546f03397fe9a906500cf7560e223b1b8ee --- ...leparse-stt-TextTools-mxTextTools-mxTextTools.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/devel/py-simpleparse/files/patch-simpleparse-stt-TextTools-mxTextTools-mxTextTools.c b/devel/py-simpleparse/files/patch-simpleparse-stt-TextTools-mxTextTools-mxTextTools.c new file mode 100644 index 000000000000..80f4ffc2b35e --- /dev/null +++ b/devel/py-simpleparse/files/patch-simpleparse-stt-TextTools-mxTextTools-mxTextTools.c @@ -0,0 +1,22 @@ +Obtained from: https://github.com/mcfletch/simpleparse/commit/dc6dc546f03397fe9a906500cf7560e223b1b8ee + +--- simpleparse/stt/TextTools/mxTextTools/mxTextTools.c.orig 2020-02-17 16:02:36 UTC ++++ simpleparse/stt/TextTools/mxTextTools/mxTextTools.c +@@ -2835,7 +2835,7 @@ PyObject *mxTextTools_UnicodeJoin(PyObject *seq, + + o = PySequence_GetItem(seq, i); + +- if PyTuple_Check(o) { ++ if (PyTuple_Check(o)) { + /* Tuple entry: (string,l,r,[...]) */ + register Py_ssize_t l,r; + +@@ -2980,7 +2980,7 @@ PyObject *mxTextTools_Join(PyObject *seq, + + o = PySequence_GetItem(seq, i); + +- if PyTuple_Check(o) { ++ if (PyTuple_Check(o)) { + /* Tuple entry: (string,l,r,[...]) */ + register Py_ssize_t l,r; +