Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113564 Details for
Bug 148728
>=media-libs/lcms-1.15 doesn't compile with python 2.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for invalid conversion.
lcms-1.16-invalid-conversion.patch (text/plain), 1.28 KB, created by
David Watzke
on 2007-03-17 13:19:44 UTC
(
hide
)
Description:
Fix for invalid conversion.
Filename:
MIME Type:
Creator:
David Watzke
Created:
2007-03-17 13:19:44 UTC
Size:
1.28 KB
patch
obsolete
>--- python/lcms_wrap.cxx~ 2007-03-17 13:48:44.000000000 +0100 >+++ python/lcms_wrap.cxx 2007-03-17 13:52:26.000000000 +0100 >@@ -2048,7 +2048,7 @@ > void *vptr = 0; > > /* here we get the method pointer for callbacks */ >- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); >+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); > const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; > if (desc) { > desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; >@@ -2916,7 +2916,7 @@ > SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) > { > if (PyString_Check(obj)) { >- char *cstr; int len; >+ char *cstr; Py_ssize_t len; > PyString_AsStringAndSize(obj, &cstr, &len); > if (cptr) { > if (alloc) { >@@ -33904,11 +33904,11 @@ > swig_type_info **types_initial) { > size_t i; > for (i = 0; methods[i].ml_name; ++i) { >- char *c = methods[i].ml_doc; >+ const char *c = methods[i].ml_doc; > if (c && (c = strstr(c, "swig_ptr: "))) { > int j; > swig_const_info *ci = 0; >- char *name = c + 10; >+ const char *name = c + 10; > for (j = 0; const_table[j].type; ++j) { > if (strncmp(const_table[j].name, name, > strlen(const_table[j].name)) == 0) {
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 148728
: 113564