[136413] trunk/dports/devel/boost

mmoll at macports.org mmoll at macports.org
Sat May 16 09:23:30 PDT 2015


Revision: 136413
          https://trac.macports.org/changeset/136413
Author:   mmoll at macports.org
Date:     2015-05-16 09:23:30 -0700 (Sat, 16 May 2015)
Log Message:
-----------
boost: patch for ublas bug (already fixed upstream

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Added Paths:
-----------
    trunk/dports/devel/boost/files/patch-numeric-ublas-storage.hpp.diff

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2015-05-16 14:55:32 UTC (rev 136412)
+++ trunk/dports/devel/boost/Portfile	2015-05-16 16:23:30 UTC (rev 136413)
@@ -7,7 +7,7 @@
 
 name            boost
 version         1.58.0
-revision        1
+revision        2
 license         Boost-1
 categories      devel
 platforms       darwin
@@ -46,7 +46,12 @@
 patchfiles      patch-tools-build-src-engine-build.sh.diff \
                 patch-tools-build-src-engine-build.jam.diff \
                 patch-bootstrap.sh.diff \
+                patch-numeric-ublas-storage.hpp.diff \
                 patch-apple-clang-no-libcxx.diff
+                # patch-numeric-ublas-storage.hpp.diff fixes a rather obscure error
+                # in Boost. Fixed upstream; see:
+                # https://github.com/uBLAS/ublas/pull/30/files
+                #
                 # patch-apple-clang-no-libcxx.diff fixes a clang configuration
                 # error that occurs on OS X 10.7 and 10.8 due to the assumption
                 # that if clang is the compiler in use it must be using libc++.

Added: trunk/dports/devel/boost/files/patch-numeric-ublas-storage.hpp.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-numeric-ublas-storage.hpp.diff	                        (rev 0)
+++ trunk/dports/devel/boost/files/patch-numeric-ublas-storage.hpp.diff	2015-05-16 16:23:30 UTC (rev 136413)
@@ -0,0 +1,28 @@
+--- boost/numeric/ublas/storage.hpp	2015-03-28 05:33:28.000000000 -0500
++++ boost/numeric/ublas/storage.hpp	2015-04-21 15:55:49.000000000 -0500
+@@ -777,8 +777,8 @@
+         BOOST_UBLAS_INLINE
+         shallow_array_adaptor (size_type size, pointer data):
+             size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {}
+-        BOOST_UBLAS_INLINE
+         template <size_t N>
++        BOOST_UBLAS_INLINE
+         shallow_array_adaptor (T (&data)[N]):
+             size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {}
+ 
+@@ -833,13 +833,13 @@
+         void resize (size_type size, pointer data, value_type init) {
+             resize_internal (size, data, init, true);
+         }
+-        BOOST_UBLAS_INLINE
+         template <size_t N>
++        BOOST_UBLAS_INLINE
+         void resize (T (&data)[N]) {
+             resize_internal (N, data, value_type (), false);
+         }
+-        BOOST_UBLAS_INLINE
+         template <size_t N>
++        BOOST_UBLAS_INLINE
+         void resize (T (&data)[N], value_type init) {
+             resize_internal (N, data, init, true);
+         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150516/535c4c60/attachment.html>


More information about the macports-changes mailing list