summaryrefslogtreecommitdiffstats
path: root/dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2026-02-20 16:46:46 +0300
committerAlexander Golubev <fatzer2@gmail.com>2026-02-20 18:08:59 +0300
commitcb3fd2229883f3688f1a91c2def37ba90324a27a (patch)
treeb66ec03ae0a5f7a8aed18298b17cbebfde082702 /dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch
parentddbb105599e4bdc9ae8cfbbb16b9a6e07b406f9a (diff)
downloadtde-packaging-gentoo-r14.1.x.tar.gz
tde-packaging-gentoo-r14.1.x.zip
*/*: tree-clean unused patchesr14.1.x
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 3881e851fa1f8baddfe76fee30b7dc5a40c8b7e3)
Diffstat (limited to 'dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch')
-rw-r--r--dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch b/dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch
deleted file mode 100644
index f23b1b5d..00000000
--- a/dev-python/pytqt/files/pytqt-14.1.2-Fix-FTBFS-with-Python-3.13.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 5afb6e8ec49253cda4285b4a0ca76a37f0d30689 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <albator78@libertysurf.fr>
-Date: Wed, 25 Sep 2024 21:01:39 +0200
-Subject: [PATCH 1/3] Fix FTBFS with Python 3.13. This solves issue #32.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: François Andriot <albator78@libertysurf.fr>
-(cherry picked from commit d0ab12dc39963aa28698943bf4ad88d3fd3d4c51)
----
- sip/tqt/tqstring.sip | 11 +++++++++--
- 1 file changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/sip/tqt/tqstring.sip b/sip/tqt/tqstring.sip
-index 8ef101f..6e09d0f 100644
---- a/sip/tqt/tqstring.sip
-+++ b/sip/tqt/tqstring.sip
-@@ -890,9 +890,16 @@ const char *PyTQt_tqt_encode(PyObject **s, TQApplication::Encoding encoding)
- es = PyBytes_AS_STRING(obj);
- Py_INCREF(obj);
- }
-- else if (PyObject_AsCharBuffer(obj, &es, &sz) >= 0)
-+ else
- {
-- Py_INCREF(obj);
-+ Py_buffer view;
-+
-+ if (PyObject_GetBuffer(obj, &view, PyBUF_SIMPLE) == 0) {
-+ es = (const char*)view.buf;
-+ sz = view.len;
-+ PyBuffer_Release(&view);
-+ Py_INCREF(obj);
-+ }
- }
-
- if (es)
---
-2.49.1
-