Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258068 Details for
Bug 349707
kde-base/pykde4-4.5.4 emerge fails: %MappedType template for this type has already been defined
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Makes pykde4-4.5.4 build
pykde4-typedefs-fix.patch (text/plain), 2.06 KB, created by
Alessandro Diaferia
on 2010-12-25 23:45:01 UTC
(
hide
)
Description:
Makes pykde4-4.5.4 build
Filename:
MIME Type:
Creator:
Alessandro Diaferia
Created:
2010-12-25 23:45:01 UTC
Size:
2.06 KB
patch
obsolete
>--- pykde4-4.5.4/python/pykde4/sip/kdecore/typedefs.sip 2010-12-26 00:33:58.884995287 +0100 >+++ pykde4-4.5.4/python/pykde4/sip/kdecore/typedefs.sip 2010-12-26 00:34:36.146000281 +0100 >@@ -582,90 +582,6 @@ template <TYPE1,TYPE2*> > %End > }; > >-template <TYPE> >-%MappedType QSet<TYPE> >-{ >-%TypeHeaderCode >-#include <qset.h> >-%End >- >-%ConvertFromTypeCode >- // Create the list. >- PyObject *l; >- >- if ((l = PyList_New(sipCpp->size())) == NULL) >- return NULL; >- >- // Set the list elements. >- QSet<TYPE> set = *sipCpp; >- int i = 0; >- foreach (TYPE value, set) >- { >- PyObject *obj = sipConvertFromNewType(&value, sipType_TYPE, sipTransferObj); >- if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0) >- { >- Py_DECREF(l); >- >- if (obj) >- Py_DECREF(obj); >- >- return NULL; >- } >- >- Py_DECREF(obj); >- i++; >- } >- >- return l; >-%End >- >-%ConvertToTypeCode >- // Check the type if that is all that is required. >- if (sipIsErr == NULL) >- { >- if (!PyList_Check(sipPy)) >- return 0; >- } >- >- // Check the type if that is all that is required. >- if (sipIsErr == NULL) >- { >- if (!PyList_Check(sipPy)) >- return 0; >- >- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) >- if (!sipCanConvertToType(PyList_GET_ITEM (sipPy, i), sipType_TYPE, SIP_NOT_NONE)) >- return 0; >- } >- >- QSet<TYPE> *qs = new QSet<TYPE>; >- >- for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) >- { >- int state; >- >- TYPE *t = reinterpret_cast<TYPE *>(sipConvertToType(PyList_GET_ITEM (sipPy, i), sipType_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); >- >- if (*sipIsErr) >- { >- sipReleaseType(t, sipType_TYPE, state); >- >- delete qs; >- return 0; >- } >- >- *qs << *t; >- >- sipReleaseType(t, sipType_TYPE, state); >- } >- >- *sipCppPtr = qs; >- >- return sipGetState(sipTransferObj); >-%End >-}; >- >- > template <TYPE1,TYPE2> > %MappedType QPair<TYPE1,TYPE2> > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 349707
:
258051
|
258053
| 258068 |
258914
|
259333