Author: pluto                        Date: Tue Sep  5 23:19:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated.

---- Files affected:
SOURCES:
   boost-python.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/boost-python.patch
diff -u SOURCES/boost-python.patch:1.2 SOURCES/boost-python.patch:1.3
--- SOURCES/boost-python.patch:1.2      Thu Feb 19 00:11:19 2004
+++ SOURCES/boost-python.patch  Wed Sep  6 01:19:39 2006
@@ -1,10 +1,39 @@
 --- boost_1_31_0/libs/python/build/Jamfile.orig        2003-11-04 
19:30:37.000000000 +0100
 +++ boost_1_31_0/libs/python/build/Jamfile     2004-02-19 00:07:10.072772224 
+0100
-@@ -58,6 +58,7 @@
+@@ -60,6 +60,8 @@
      : ../src/$(sources)
      : $(BOOST_PYTHON_V2_PROPERTIES)
        <define>BOOST_PYTHON_SOURCE
++      <cxxflags>-fno-strict-aliaising
 +      <find-library>python$(PYTHON_VERSION)
        $(bpl-linkflags)
          <msvc-stlport><release>$(msvc-stlport-workarounds)
          <darwin><*><linkflags>-bind_at_load
+@@ -79,6 +81,7 @@
+       $(BOOST_PYTHON_V2_PROPERTIES)
+       <define>BOOST_PYTHON_SOURCE
+       <define>BOOST_STATIC_LIB
++      <cxxflags>-fno-strict-aliasing
+       $(bpl-linkflags)
+         <msvc-stlport><release>$(msvc-stlport-workarounds)
+       ;
+--- 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))
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/boost-python.patch?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to