summaryrefslogtreecommitdiff
path: root/kde-apps/kig/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /kde-apps/kig/files
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'kde-apps/kig/files')
-rw-r--r--kde-apps/kig/files/kig-19.08.3-scripter-python3.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/kde-apps/kig/files/kig-19.08.3-scripter-python3.patch b/kde-apps/kig/files/kig-19.08.3-scripter-python3.patch
deleted file mode 100644
index 19c5f9535a1c..000000000000
--- a/kde-apps/kig/files/kig-19.08.3-scripter-python3.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e0dae6b9938963c8f3c30ac7b8182452645e2dbf Mon Sep 17 00:00:00 2001
-From: Yuri Chornoivan <yurchor@ukr.net>
-Date: Tue, 22 Oct 2019 20:42:51 +0300
-Subject: Try to fix Python 3 build
-
----
- scripting/python_scripter.cc | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/scripting/python_scripter.cc b/scripting/python_scripter.cc
-index e60a90c..62a7409 100644
---- a/scripting/python_scripter.cc
-+++ b/scripting/python_scripter.cc
-@@ -390,7 +390,11 @@ PythonScripter::PythonScripter()
- // the newstring stuff is to prevent warnings about conversion from
- // const char* to char*..
- char* s = newstring( "kig" );
-+#if PY_VERSION_HEX >= 0x03000000
-+ PyImport_AppendInittab( s, PyInit_kig );
-+#else
- PyImport_AppendInittab( s, initkig );
-+#endif
- // we can't delete this yet, since python keeps a pointer to it..
- // This means we have a small but harmless memory leak here, but it
- // doesn't hurt at all, since it could only be freed at the end of
---
-cgit v1.1