kate/kate-4.10.0-python-2.6.patch

12 lines
551 B
Diff
Raw Normal View History

--- kate-4.10.0/kate/plugins/pate/src/engine.cpp.orig 2013-02-16 12:38:38.511115875 +0100
+++ kate-4.10.0/kate/plugins/pate/src/engine.cpp 2013-02-16 12:37:41.919587402 +0100
@@ -195,7 +195,7 @@
bool Pate::Engine::init()
{
kDebug() << "Construct the Python engine for Python" << PY_MAJOR_VERSION << PY_MINOR_VERSION;
- if (0 != PyImport_AppendInittab(Python::PATE_ENGINE, PATE_INIT)) {
+ if (0 != PyImport_AppendInittab((char*)Python::PATE_ENGINE, PATE_INIT)) {
kError() << "Cannot extend inittab";
return false;
}