diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-20 17:13:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-20 17:13:51 +0000 |
commit | be675f929577458bd306c90ed78b62054197c0b1 (patch) | |
tree | 5eabf108becbac5f9628fb677b1a0eb93fab07a3 /dev-python/pivy/files | |
parent | c72af498eade96364bed882cf8ab30fc3da7d772 (diff) |
gentoo auto-resync : 20:11:2023 - 17:13:50
Diffstat (limited to 'dev-python/pivy/files')
-rw-r--r-- | dev-python/pivy/files/pivy-0.6.8-python312.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/pivy/files/pivy-0.6.8-python312.patch b/dev-python/pivy/files/pivy-0.6.8-python312.patch new file mode 100644 index 000000000000..6742d7579521 --- /dev/null +++ b/dev-python/pivy/files/pivy-0.6.8-python312.patch @@ -0,0 +1,23 @@ +From d3faf04b8770c60ca9b2186059ee82201e3620ad Mon Sep 17 00:00:00 2001 +From: lorenz <looooo@users.noreply.github.com> +Date: Thu, 13 Jul 2023 23:59:17 +0200 +Subject: [PATCH] python 3.12 support + +PyUnicode_GET_SIZE -> PyUnicode_GET_LENGTH +--- + Inventor/SoInput.i | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Inventor/SoInput.i b/Inventor/SoInput.i +index 0925ab50..f0be6383 100644 +--- a/Inventor/SoInput.i ++++ b/Inventor/SoInput.i +@@ -10,7 +10,7 @@ + if (PyUnicode_Check($input)) + { + $1 = (void *) PyUnicode_AsUTF8($input); +- $2 = PyUnicode_GET_SIZE($input); ++ $2 = PyUnicode_GET_LENGTH($input); + } + else if (PyBytes_Check($input)) + { |