]> git.pld-linux.org Git - packages/boost.git/blame - boost-python.patch
- release 4.1.
[packages/boost.git] / boost-python.patch
CommitLineData
ac90094f
JB
1--- boost_1_31_0/libs/python/build/Jamfile.orig 2003-11-04 19:30:37.000000000 +0100
2+++ boost_1_31_0/libs/python/build/Jamfile 2004-02-19 00:07:10.072772224 +0100
10fc06f2 3@@ -60,6 +60,8 @@
60f6ab0a
JB
4 : ../src/$(sources)
5 : $(BOOST_PYTHON_V2_PROPERTIES)
6 <define>BOOST_PYTHON_SOURCE
b19db4a5 7+ <cxxflags>-fno-strict-aliasing
60f6ab0a
JB
8+ <find-library>python$(PYTHON_VERSION)
9 $(bpl-linkflags)
10 <msvc-stlport><release>$(msvc-stlport-workarounds)
ac90094f 11 <darwin><*><linkflags>-bind_at_load
10fc06f2
PS
12@@ -79,6 +81,7 @@
13 $(BOOST_PYTHON_V2_PROPERTIES)
14 <define>BOOST_PYTHON_SOURCE
15 <define>BOOST_STATIC_LIB
16+ <cxxflags>-fno-strict-aliasing
17 $(bpl-linkflags)
18 <msvc-stlport><release>$(msvc-stlport-workarounds)
19 ;
20--- boost_1_33_1/libs/python/src/object_protocol.cpp.orig 2004-07-26 02:32:11.000000000 +0200
21+++ boost_1_33_1/libs/python/src/object_protocol.cpp 2006-09-06 00:46:35.567981500 +0200
22@@ -106,7 +106,7 @@
23 PySequenceMethods *sq = tp->tp_as_sequence;
24
25 if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) {
26- int ilow = 0, ihigh = INT_MAX;
27+ Py_ssize_t ilow = 0, ihigh = INT_MAX;
28 if (!_PyEval_SliceIndex(v, &ilow))
29 return NULL;
30 if (!_PyEval_SliceIndex(w, &ihigh))
31@@ -133,7 +133,7 @@
32 PySequenceMethods *sq = tp->tp_as_sequence;
33
34 if (sq && sq->sq_slice && ISINT(v) && ISINT(w)) {
35- int ilow = 0, ihigh = INT_MAX;
36+ Py_ssize_t ilow = 0, ihigh = INT_MAX;
37 if (!_PyEval_SliceIndex(v, &ilow))
38 return -1;
39 if (!_PyEval_SliceIndex(w, &ihigh))
This page took 0.093117 seconds and 4 git commands to generate.