diff --git a/PyKDE-3.16.6-gcc46.patch b/PyKDE-3.16.6-gcc46.patch index 18eb394..9afc90b 100644 --- a/PyKDE-3.16.6-gcc46.patch +++ b/PyKDE-3.16.6-gcc46.patch @@ -39,6 +39,19 @@ diff -ur PyKDE-3.16.6/sip/kio/kservicegroup.sip PyKDE-3.16.6-gcc46/sip/kio/kserv inst = sipConvertFromType(svcGroupType, sipType_KSycocaEntry_Ptr, sipTransferObj); if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) +diff -ur PyKDE-3.16.6/sip/kio/kservice.sip PyKDE-3.16.6-gcc46/sip/kio/kservice.sip +--- PyKDE-3.16.6/sip/kio/kservice.sip 2009-06-10 22:59:28.000000000 +0200 ++++ PyKDE-3.16.6-gcc46/sip/kio/kservice.sip 2011-02-13 14:36:44.000000000 +0100 +@@ -235,7 +235,8 @@ + KService::List::Iterator it; + for( it = cList->begin(); it != cList->end(); ++it ) + { +- svc = &(KService::Ptr)(*it); ++ KService::Ptr p = *it; ++ svc = &p; + inst = sipConvertFromType(svc, sipType_KService_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