[pkg-boost-commits] r14766 - in boost/branches/1.49.0/debian: . patches

Steven Michael Robbins smr at alioth.debian.org
Tue May 14 06:06:14 UTC 2013


Author: smr
Date: 2013-05-14 06:06:13 +0000 (Tue, 14 May 2013)
New Revision: 14766

Added:
   boost/branches/1.49.0/debian/patches/fix-ftbfs-python-3.3.patch
Modified:
   boost/branches/1.49.0/debian/changelog
   boost/branches/1.49.0/debian/patches/series
Log:
Add patch for building with python 3.3.

Modified: boost/branches/1.49.0/debian/changelog
===================================================================
--- boost/branches/1.49.0/debian/changelog	2013-05-14 05:33:00 UTC (rev 14765)
+++ boost/branches/1.49.0/debian/changelog	2013-05-14 06:06:13 UTC (rev 14766)
@@ -6,8 +6,10 @@
     Closes: #689600.
   * patches/unordered_multimap.patch: New.  Fix boost::unordered_multimap.
     Closes: #692868
+  * patches/fix-ftbfs-python-3.3.patch: New.  Allow building with
+    multiarch python3.3 (thanks, Dmitrijs Ledkovs).  Closes: #691378.
 
- -- Steve M. Robbins <smr at debian.org>  Tue, 14 May 2013 00:32:42 -0500
+ -- Steve M. Robbins <smr at debian.org>  Tue, 14 May 2013 01:05:39 -0500
 
 boost1.49 (1.49.0-3.2) unstable; urgency=high
 

Added: boost/branches/1.49.0/debian/patches/fix-ftbfs-python-3.3.patch
===================================================================
--- boost/branches/1.49.0/debian/patches/fix-ftbfs-python-3.3.patch	                        (rev 0)
+++ boost/branches/1.49.0/debian/patches/fix-ftbfs-python-3.3.patch	2013-05-14 06:06:13 UTC (rev 14766)
@@ -0,0 +1,19 @@
+Description: python3.3 has an extra multiarch include location
+Author: Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>
+Last-Update: 2012-10-26
+
+Index: b/tools/build/v2/tools/python.jam
+===================================================================
+--- a/tools/build/v2/tools/python.jam
++++ b/tools/build/v2/tools/python.jam
+@@ -548,7 +548,9 @@
+     }
+     else
+     {
+-        includes ?= $(prefix)/include/python$(version) ;
++        python_includes = [ shell-cmd "printf `python$(version) -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc());'`" ] ;
++        python_platincludes = [ shell-cmd "printf `python$(version) -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc(plat_specific=1));'`" ] ;
++        includes ?= $(python_includes) $(python_platincludes) ;
+ 
+         local lib = $(exec-prefix)/lib ;
+         libraries ?= $(lib)/python$(version)/config $(lib) ;

Modified: boost/branches/1.49.0/debian/patches/series
===================================================================
--- boost/branches/1.49.0/debian/patches/series	2013-05-14 05:33:00 UTC (rev 14765)
+++ boost/branches/1.49.0/debian/patches/series	2013-05-14 06:06:13 UTC (rev 14766)
@@ -3,6 +3,7 @@
 unordered_multimap.patch
 boost-python-examples.patch
 endian.patch
+fix-ftbfs-python-3.3.patch
 boost-1.44-py3.1.patch
 pythonid.patch
 mpi-allocator-c++0x.patch




More information about the pkg-boost-commits mailing list