diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-12 06:11:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-12 06:11:19 +0000 |
| commit | f3095ffbe2ede5197a4912aef9d03c2ea284376f (patch) | |
| tree | e56928a2c61b150195732622b76a96cd40eeb109 /dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch | |
| parent | 9b5301bb92ad94bdc782f8c22b794320dd9f8b5e (diff) | |
| download | baldeagleos-repo-f3095ffbe2ede5197a4912aef9d03c2ea284376f.tar.gz baldeagleos-repo-f3095ffbe2ede5197a4912aef9d03c2ea284376f.tar.xz baldeagleos-repo-f3095ffbe2ede5197a4912aef9d03c2ea284376f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch')
| -rw-r--r-- | dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch b/dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch deleted file mode 100644 index 7e760187de56..000000000000 --- a/dev-python/pykerberos/files/pykerberos-1.3.1-python3.10.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://bugs.gentoo.org/867421 -https://github.com/apple/ccs-pykerberos/pull/89 - -From 1e1666af51bb11ea5c6dd442415ce765073737c3 Mon Sep 17 00:00:00 2001 -From: stevenpackardblp <77253966+stevenpackardblp@users.noreply.github.com> -Date: Sun, 24 Oct 2021 23:03:41 -0400 -Subject: [PATCH] Use Py_ssize_t type - -Python 3.10 requires that the `Py_ssize_t` type is used for string lengths instead of `int`. ---- a/src/kerberos.c -+++ b/src/kerberos.c -@@ -14,6 +14,7 @@ - * limitations under the License. - **/ - -+#define PY_SSIZE_T_CLEAN - #include <Python.h> - - #include "kerberosbasic.h" -@@ -244,9 +245,9 @@ static PyObject *channelBindings(PyObject *self, PyObject *args, PyObject* keywd - char *initiator_address = NULL; - char *acceptor_address = NULL; - char *application_data = NULL; -- int initiator_length = 0; -- int acceptor_length = 0; -- int application_length = 0; -+ Py_ssize_t initiator_length = 0; -+ Py_ssize_t acceptor_length = 0; -+ Py_ssize_t application_length = 0; - - PyObject *pychan_bindings = NULL; - struct gss_channel_bindings_struct *input_chan_bindings; - |
