Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 07:12:17 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d53cfa21c8d0 - main - devel/py-simpleparse: Fix build with Python 3.9
Message-ID:  <202104180712.13I7CHcS011074@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d53cfa21c8d0cd1b1b4d459f469a34df869684f6

commit d53cfa21c8d0cd1b1b4d459f469a34df869684f6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-04-18 05:02:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180712.13I7CHcS011074>