Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98267 Details for
Bug 148656
media-gfx/graphviz-2.8-r2 fails to 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]
Fixes on python2.5
graphviz-2.8-python25.patch (text/plain), 1.23 KB, created by
Alex
on 2006-09-27 16:42:29 UTC
(
hide
)
Description:
Fixes on python2.5
Filename:
MIME Type:
Creator:
Alex
Created:
2006-09-27 16:42:29 UTC
Size:
1.23 KB
patch
obsolete
>--- tclpkg/gv/gv_python.cpp 2006-02-03 17:38:24.000000000 -0500 >+++ tclpkg/gv/gv_python.cpp 2006-09-27 19:12:57.000000000 -0400 >@@ -1228,7 +1228,7 @@ > obj = pyobj; > if (PyCFunction_Check(obj)) { > /* 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); > c = doc ? strstr(doc, "swig_ptr: ") : 0; > if (c) { > c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; >@@ -5498,7 +5498,7 @@ > 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; >@@ -5502,7 +5502,7 @@ > 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 148656
:
98003
| 98267 |
100769