SOURCES: boost-python25-64bit.patch (NEW) - fix 64-bits build with...
pluto
pluto at pld-linux.org
Wed Sep 6 00:48:40 CEST 2006
Author: pluto Date: Tue Sep 5 22:48:40 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix 64-bits build with python-2.5.
---- Files affected:
SOURCES:
boost-python25-64bit.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/boost-python25-64bit.patch
diff -u /dev/null SOURCES/boost-python25-64bit.patch:1.1
--- /dev/null Wed Sep 6 00:48:40 2006
+++ SOURCES/boost-python25-64bit.patch Wed Sep 6 00:48:35 2006
@@ -0,0 +1,20 @@
+--- boost_1_33_1/libs/python/src/object_protocol.cpp.orig 2004-07-26 02:32:11.000000000 +0200
++++ boost_1_33_1/libs/python/src/object_protocol.cpp 2006-09-06 00:46:35.567981500 +0200
+@@ -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 = INT_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 = INT_MAX;
+ if (!_PyEval_SliceIndex(v, &ilow))
+ return -1;
+ if (!_PyEval_SliceIndex(w, &ihigh))
================================================================
More information about the pld-cvs-commit
mailing list