diff --git a/PyKDE-3.16.6-gcc46.patch b/PyKDE-3.16.6-gcc46.patch index 82fae71..f07e077 100644 --- a/PyKDE-3.16.6-gcc46.patch +++ b/PyKDE-3.16.6-gcc46.patch @@ -26,3 +26,29 @@ diff -ur PyKDE-3.16.6/sip/kdeui/kkeydialog.sip PyKDE-3.16.6-gcc46/sip/kdeui/kkey PyObject *a1 = PyInt_FromLong ((long) it.current ()); if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0)) +diff -ur PyKDE-3.16.6/sip/kio/kservicegroup.sip PyKDE-3.16.6-gcc46/sip/kio/kservicegroup.sip +--- PyKDE-3.16.6/sip/kio/kservicegroup.sip 2009-06-10 22:58:33.000000000 +0200 ++++ PyKDE-3.16.6-gcc46/sip/kio/kservicegroup.sip 2011-02-13 13:06:46.000000000 +0100 +@@ -235,7 +235,8 @@ + KServiceGroup::List::Iterator it; + for( it = cList->begin(); it != cList->end(); ++it ) + { +- svcGroupType = &(KServiceGroup::SPtr)(*it); ++ KServiceGroup::SPtr p = *it; ++ svcGroupType = &p; + inst = sipConvertFromType(svcGroupType, sipType_KSycocaEntry_Ptr, sipTransferObj); + + if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) +diff -ur PyKDE-3.16.6/sip/kio/kservicetype.sip PyKDE-3.16.6-gcc46/sip/kio/kservicetype.sip +--- PyKDE-3.16.6/sip/kio/kservicetype.sip 2009-06-10 23:48:24.000000000 +0200 ++++ PyKDE-3.16.6-gcc46/sip/kio/kservicetype.sip 2011-02-13 13:06:13.000000000 +0100 +@@ -240,7 +240,8 @@ + QValueList::Iterator it; + for( it = cList->begin(); it != cList->end(); ++it ) + { +- svc = &(KServiceType::Ptr)(*it); ++ KServiceType::Ptr p = *it; ++ svc = &p; + inst = sipConvertFromType(svc, sipType_KServiceType_Ptr, sipTransferObj); + + if ((inst == NULL) || (PyList_Append (plist, inst) < 0))