diff options
| author | Michael Truog <mjtruog@protonmail.com> | 2019-12-14 15:55:59 -0800 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-15 08:41:49 +0100 |
| commit | 8f6ad9ab497dc3a6a37214ad681faa00666a947e (patch) | |
| tree | f78cf5dc0c6a82ffe2d9753fde339b5850a1b6b7 /community/cloudi/python-3.7.patch | |
| parent | 49cef7dfff99db964a87c8c39021f799e7a8fafb (diff) | |
| download | aports-8f6ad9ab497dc3a6a37214ad681faa00666a947e.tar.bz2 aports-8f6ad9ab497dc3a6a37214ad681faa00666a947e.tar.xz | |
community/cloudi: Upgrade to 1.8.0
* erlang-otp-ocaml-compattibility.patch is no longer necessary
* python-3.7.patch is no longer necessary
Diffstat (limited to 'community/cloudi/python-3.7.patch')
| -rw-r--r-- | community/cloudi/python-3.7.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/community/cloudi/python-3.7.patch b/community/cloudi/python-3.7.patch deleted file mode 100644 index 189a835131..0000000000 --- a/community/cloudi/python-3.7.patch +++ /dev/null @@ -1,18 +0,0 @@ -based on https://github.com/CloudI/CloudI/commit/a7d593e3aa84b157e9c6c2d49fa072c8756d884a - -diff --git a/src/api/python/cloudi_py.cpp b/src/api/python/cloudi_py.cpp -index ad3124f7..0e38c880 100644 ---- a/src/api/python/cloudi_py.cpp -+++ b/src/api/python/cloudi_py.cpp -@@ -752,8 +752,9 @@ class callback : public CloudI::API::function_object_c - { - Py_ssize_t response_size_tmp = 0; - #ifdef PYTHON_VERSION_3_3_COMPATIBLE -- response = PyUnicode_AsUTF8AndSize(result, -- &response_size_tmp); -+ response = -+ const_cast<char *>(PyUnicode_AsUTF8AndSize( -+ result, &response_size_tmp)); - if (response == NULL) - { - PyErr_Print(); |
