Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125717 Details for
Bug 185819
games-arcade/bub-n-bros does not build with python-2.5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python2.5 compile fix
bubbob-python25.patch (text/plain), 970 bytes, created by
Luis Medinas (RETIRED)
on 2007-07-23 03:35:13 UTC
(
hide
)
Description:
python2.5 compile fix
Filename:
MIME Type:
Creator:
Luis Medinas (RETIRED)
Created:
2007-07-23 03:35:13 UTC
Size:
970 bytes
patch
obsolete
>--- statesaver.c 2006-02-04 18:56:12.000000000 +0000 >+++ statesaver.c.orig 2007-07-23 04:31:01.000000000 +0000 >@@ -44,7 +44,7 @@ > Py_INCREF(g); /* exhausted -- can return 'g' itself */ > return g; > } >- if (f->f_nfreevars || f->f_ncells) { >+ if (PySequence_Length(co->co_freevars) || PySequence_Length(co->co_cellvars)) { > PyErr_SetString(PyExc_ValueError, "generator has cell or free vars"); > return NULL; > } >@@ -67,6 +67,8 @@ > PyFrameObject* f; > PyFrameObject* f2; > PyCodeObject* co; >+ PyCodeObject* code; >+ PyCodeObject* code2; > int i, res; > > if (g != g2) >@@ -94,8 +96,8 @@ > PyErr_SetString(PyExc_TypeError, "returned gi_frame"); > return -1; > } >- f2 = (PyFrameObject*) x; >- if (f2->f_stacksize != f->f_stacksize) { >+ code2 = (PyFrameObject*) x; >+ if (code2->co_stacksize != code->co_stacksize) { > PyErr_SetString(PyExc_TypeError, "stack size mismatch"); > return -1; > }
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 185819
: 125717