diff --git a/PyKDE-3.16.6-gcc46.patch b/PyKDE-3.16.6-gcc46.patch index da8d38e..f035c06 100644 --- a/PyKDE-3.16.6-gcc46.patch +++ b/PyKDE-3.16.6-gcc46.patch @@ -101,3 +101,16 @@ diff -ur PyKDE-3.16.6/sip/kio/ksycocaentry.sip PyKDE-3.16.6-gcc46/sip/kio/ksycoc if (svc->data ()->sycocaType () == KST_KService) { svcType = (KSharedPtr *)svc; +diff -ur PyKDE-3.16.6/sip/kmdi/kmdichildfrm.sip PyKDE-3.16.6-gcc46/sip/kmdi/kmdichildfrm.sip +--- PyKDE-3.16.6/sip/kmdi/kmdichildfrm.sip 2009-06-10 23:49:47.000000000 +0200 ++++ PyKDE-3.16.6-gcc46/sip/kmdi/kmdichildfrm.sip 2011-02-13 15:20:32.000000000 +0100 +@@ -218,7 +218,8 @@ + + while (it.current ()) + { +- PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QString, sipTransferObj); ++ QString key = it.currentKey (); ++ PyObject *a0 = sipConvertFromInstance (&key, sipClass_QString, sipTransferObj); + PyObject *a1 = PyInt_FromLong ((long) it.current ()); + + if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0))