Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 150821 Details for
Bug 233523
libboost_python needs rebuild against python 2.5
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
PATCH fixing boost compilation on x86_64 with python 2.5
boost-python_2_5-minimal.patch (text/plain), 1.26 KB, created by
Hans de Goede
on 2007-03-24 10:16:52 UTC
(
hide
)
Description:
PATCH fixing boost compilation on x86_64 with python 2.5
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-03-24 10:16:52 UTC
Size:
1.26 KB
patch
obsolete
>--- boost/python/detail/wrap_python.hpp 4 Nov 2005 21:38:29 -0000 1.22 >+++ boost/python/detail/wrap_python.hpp 12 Apr 2006 15:55:11 -0000 >@@ -141,6 +141,12 @@ > # include <Python.h> > #endif > >+#if PY_VERSION_HEX < 0x02050000 >+typedef int Py_ssize_t; >+#define PY_SSIZE_T_MIN INT_MIN >+#define PY_SSIZE_T_MAX INT_MAX >+#endif >+ > #ifdef BOOST_PYTHON_ULONG_MAX_UNDEFINED > # undef ULONG_MAX > # undef BOOST_PYTHON_ULONG_MAX_UNDEFINED > >diff -u -r1.7 object_protocol.cpp >--- libs/python/src/object_protocol.cpp 26 Jul 2004 00:32:11 -0000 1.7 >+++ libs/python/src/object_protocol.cpp 12 Apr 2006 15:55:31 -0000 >@@ -106,7 +106,7 @@ > PySequenceMethods *sq = tp->tp_as_sequence; > > if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { >- int ilow = 0, ihigh = INT_MAX; >+ Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; > if (!_PyEval_SliceIndex(v, &ilow)) > return NULL; > if (!_PyEval_SliceIndex(w, &ihigh)) >@@ -133,7 +133,7 @@ > PySequenceMethods *sq = tp->tp_as_sequence; > > if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) { >- int ilow = 0, ihigh = INT_MAX; >+ Py_ssize_t ilow = 0, ihigh = PY_SSIZE_T_MAX; > if (!_PyEval_SliceIndex(v, &ilow)) > return -1; > if (!_PyEval_SliceIndex(w, &ihigh))
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 233523
: 150821