Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/wxmozilla/files: wxmozilla-0.5.7-python-2.5.patch
Date: Sun, 16 Sep 2007 05:14:46
Message-Id: E1IWmLj-0005hU-0Y@stork.gentoo.org
1 dirtyepic 07/09/16 05:07:15
2
3 Added: wxmozilla-0.5.7-python-2.5.patch
4 Log:
5 Fix build error with python-2.5. Bug #190812 by Anton Romanov.
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.1 x11-libs/wxmozilla/files/wxmozilla-0.5.7-python-2.5.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxmozilla/files/wxmozilla-0.5.7-python-2.5.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxmozilla/files/wxmozilla-0.5.7-python-2.5.patch?rev=1.1&content-type=text/plain
13
14 Index: wxmozilla-0.5.7-python-2.5.patch
15 ===================================================================
16 diff -Naur wxMozilla-orig/wxPython/contrib/mozilla25/gtk/mozilla_wrap.cpp wxMozilla/wxPython/contrib/mozilla25/gtk/mozilla_wrap.cpp
17 --- wxMozilla-orig/wxPython/contrib/mozilla25/gtk/mozilla_wrap.cpp 2006-04-23 09:15:15.000000000 -0600
18 +++ wxMozilla/wxPython/contrib/mozilla25/gtk/mozilla_wrap.cpp 2007-09-15 23:01:01.000000000 -0600
19 @@ -1228,7 +1228,7 @@
20 obj = pyobj;
21 if (PyCFunction_Check(obj)) {
22 /* here we get the method pointer for callbacks */
23 - char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
24 + const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
25 c = doc ? strstr(doc, "swig_ptr: ") : 0;
26 if (c) {
27 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
28 @@ -8120,11 +8120,11 @@
29 swig_type_info **types_initial) {
30 size_t i;
31 for (i = 0; methods[i].ml_name; ++i) {
32 - char *c = methods[i].ml_doc;
33 + const char *c = methods[i].ml_doc;
34 if (c && (c = strstr(c, "swig_ptr: "))) {
35 int j;
36 swig_const_info *ci = 0;
37 - char *name = c + 10;
38 + const char *name = c + 10;
39 for (j = 0; const_table[j].type; ++j) {
40 if (strncmp(const_table[j].name, name,
41 strlen(const_table[j].name)) == 0) {
42
43
44
45 --
46 gentoo-commits@g.o mailing list