git: d53cfa21c8d0 - main - devel/py-simpleparse: Fix build with Python 3.9
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 18 07:12:23 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d53cfa21c8d0cd1b1b4d459f469a34df869684f6
commit d53cfa21c8d0cd1b1b4d459f469a34df869684f6
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 05:02:41 +0000
Commit: Po-Chuan Hsieh <sunpoet at 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;
+
More information about the dev-commits-ports-all
mailing list