Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98003 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]
SWIG patch for python-2.5
swig-python-2.5.patch (text/plain), 6.73 KB, created by
Helmut Jarausch
on 2006-09-25 02:02:21 UTC
(
hide
)
Description:
SWIG patch for python-2.5
Filename:
MIME Type:
Creator:
Helmut Jarausch
Created:
2006-09-25 02:02:21 UTC
Size:
6.73 KB
patch
obsolete
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> ><html> ><head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > <title>SOURCES: swig-python25.patch (NEW) - fix for compiling wrappers wi...</title> > <link rel="stylesheet" href="main.css" media="screen"> > <link rel="contents" href="thrd15.html#63851"> > <link rel="index" href="mail15.html#63851"> > <link rel="prev" href="msg63850.html"> > <link rel="next" href="msg63852.html"> > <link rel="alternate" title="pld-cvs-commit RSS" href="//www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/maillist.xml" TYPE="application/rss+xml"> ></head> ><body id="msg"> ><!--X-Body-Begin--> ><!--X-User-Header--> ><!--X-User-Header-End--> ><!--X-TopPNI--> ><!--htdig_noindex--> ><div id="msgcontainer"> > <a id="mail-archive-logo" href="/"></a> ><h1> > <span id="listlink">pld-cvs-commit</span> ></h1> > <form action="/search" method=get> > <ul id="topLinks"> > <li><span class="msglink"><a href="msg63850.html" accesskey="p" title="Earlier messages"><--</a></span> <span class="threadlink"><a href="thrd15.html#63851" title="Messages by Thread" accesskey="c">Thread</a></span> <span class="msglink"><a href="msg63852.html" accesskey="n" title="Later messages">--></a></span></li> > <li><span class="msglink"><a href="msg63850.html" accesskey="b" title="Earlier messages"><--</a></span> <span class="chronologicallink"><a href="mail15.html#63851" title="Messages by Date" accesskey="i">Date</a></span> <span class="msglink"><a href="msg63852.html" accesskey="f" title="Later messages">--></a></span></li> > <li> > <input type="hidden" name="l" value="pld-cvs-commit@lists.pld-linux.org"> ><label> >Find ><input type=text name="q" value="" size=15> ></label> > </li> > </ul> > </form> ></div> > ><div id="msgcontainer2"> > <div id="corner1"></div> > <div id="corner2"></div> > <div id="msgcontent"> ><!--/htdig_noindex--> > ><!--X-TopPNI-End--> ><!--X-MsgBody--> ><!--X-Subject-Header-Begin--> > <div class="msgHead"> > <h1><span class="subject">SOURCES: swig-python25.patch (NEW) - fix for compiling wrappers wi...</span></h1> > <p><span class="sender">grzegol</span><br> > <span class="date">Mon, 28 Aug 2006 12:50:38 -0700</span></p> > </div> ><!--X-Subject-Header-End--> ><!--X-Head-of-Message--> ><!--X-Head-of-Message-End--> ><!--X-Head-Body-Sep-Begin--> ><div class="msgBody"> ><!--X-Head-Body-Sep-End--> ><!--X-Body-of-Message--> ><pre>Author: grzegol Date: Mon Aug 28 19:50:23 2006 GMT >Module: SOURCES Tag: HEAD >---- Log message: >- fix for compiling wrappers with python-2.5 > >---- Files affected: >SOURCES: > swig-python25.patch (NONE -> 1.1) (NEW) > >---- Diffs: > >================================================================ >Index: SOURCES/swig-python25.patch >diff -u /dev/null SOURCES/swig-python25.patch:1.1 >--- /dev/null Mon Aug 28 21:50:23 2006 >+++ SOURCES/swig-python25.patch Mon Aug 28 21:50:18 2006 >@@ -0,0 +1,29 @@ >+diff -urN aaa/swig-1.3.29/Lib/python/pyinit.swg >swig-1.3.29/Lib/python/pyinit.swg >+--- aaa/swig-1.3.29/Lib/python/pyinit.swg 2006-02-03 00:48:56.000000000 >+0100 >++++ swig-1.3.29/Lib/python/pyinit.swg 2006-08-28 21:12:16.214456216 +0200 >+@@ -226,11 +226,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) { >+diff -urN aaa/swig-1.3.29/Lib/python/pyrun.swg swig-1.3.29/Lib/python/pyrun.swg >+--- aaa/swig-1.3.29/Lib/python/pyrun.swg 2006-03-07 01:35:17.000000000 >+0100 >++++ swig-1.3.29/Lib/python/pyrun.swg 2006-08-28 21:38:24.963970040 +0200 >+@@ -1075,7 +1075,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; >================================================================ >_______________________________________________ >pld-cvs-commit mailing list >pld-cvs-commit@lists.pld-linux.org ><a rel="nofollow" href="http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit">http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit</a> ></pre> ><!--X-Body-of-Message-End--> ><!--X-MsgBody-End--> ><!--X-Follow-Ups--> ></div> <!-- end of msgBody class --> > ><!--htdig_noindex--> > ><div id="adbox"> ><script type="text/javascript"><!-- >google_ad_client = "pub-7266757337600734"; >google_alternate_ad_url = "http://www.mail-archive.com/blank.html" >google_ad_width = 160; >google_ad_height = 600; >google_ad_format = "160x600_as"; >google_ad_channel = "8427791634"; >google_color_border = "FFFFFF"; >google_color_bg = "FFFFFF"; >google_color_link = "006792"; >google_color_url = "006792"; >google_color_text = "000000"; >//--></script> ><script type="text/javascript" > src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> ></script> ></div> > ><div class="tSliceList"> ><ul> ><li> ><div class="tSliceCur"> ><span class="subject">SOURCES: swig-python25.patch (NEW) - fix for compiling wrappers wi...</span> ><span class="sender">grzegol</span> ></div> <!-- end of tSliceCur class --> ></ul> > ></div> <!-- end of tSliceList class --> ><!--/htdig_noindex--> ><!--X-Follow-Ups-End--> ><!--X-References--> ><!--X-References-End--> ><!--X-BotPNI--> ><!--htdig_noindex--> > <ul id="botLinks"> > <li><div class="reply"> ><FORM METHOD="POST" ACTION="/cgi-bin/Nomailto.pl"> ><INPUT TYPE="HIDDEN" NAME="user" VALUE="grzegol"> ><INPUT TYPE="HIDDEN" NAME="host" VALUE="pld-linux.org"> ><INPUT TYPE="HIDDEN" NAME="subject" VALUE="SOURCES: swig-python25.patch (NEW) - fix for compiling wrappers wi..."> ><INPUT TYPE="HIDDEN" NAME="msgid" VALUE="SOURCES_swig_python25.patch.1.1@pld-linux.org"> >Reply via email to<br> ><INPUT TYPE="SUBMIT" VALUE=" grzegol "> ></FORM> ></div> > </li> > </ul> ><!--/htdig_noindex--> > ><!--X-BotPNI-End--> ><!--X-User-Footer--> ><!--X-User-Footer-End--> ></div> <!-- end of msgcontent class --> ></div> <!-- end of msgcontainer2 class --> > ><!-- These extra divs/spans may be used as catch-alls to add extra imagery. --> ><div id="extraDiv1"><span></span></div><div id="extraDiv2"><span></span></div><div id="extraDiv3"><span></span></div> ><div id="extraDiv4"><span></span></div><div id="extraDiv5"><span></span></div><div id="extraDiv6"><span></span></div> > ></body> ></html>
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