[123880] trunk/dports/devel/boost

mmoll at macports.org mmoll at macports.org
Fri Aug 15 09:17:49 PDT 2014


Revision: 123880
          https://trac.macports.org/changeset/123880
Author:   mmoll at macports.org
Date:     2014-08-15 09:17:48 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
devel/boost: add patch for boost::numeric::odeint (fixed upstream)

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

Added Paths:
-----------
    trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2014-08-15 13:49:11 UTC (rev 123879)
+++ trunk/dports/devel/boost/Portfile	2014-08-15 16:17:48 UTC (rev 123880)
@@ -7,6 +7,7 @@
 
 name            boost
 version         1.56.0
+revision        1
 license         Boost-1
 categories      devel
 platforms       darwin
@@ -39,7 +40,8 @@
 patchfiles      patch-tools-build-src-engine-build.sh.diff \
                 patch-tools-build-src-engine-build.jam.diff \
                 patch-bootstrap.sh.diff \
-                patch-apple-clang-no-libcxx.diff
+                patch-apple-clang-no-libcxx.diff \
+                patch-boost-numeric-odeint-util-bind.hpp.diff
                 # 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++.
@@ -51,7 +53,10 @@
                 # are only available in libc++.  Fixes build of libcdr on these
                 # OS versions without effecting build on 10.6 and less (where clang is not
                 # the default compiler) and 10.9 and up where libc++ is the default.
-
+                #
+                # patch-boost-numeric-odeint-util-bind.hpp.diff fixes an issue
+                # that has been fixed upstream and can be removed with the next
+                # release of boost.
 post-patch {
     reinplace "s|%%CONFIGURE.CC%%|${configure.cc}|g" ${worksrcpath}/tools/build/src/engine/build.jam \
                                                      ${worksrcpath}/tools/build/src/engine/build.sh

Added: trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff	                        (rev 0)
+++ trunk/dports/devel/boost/files/patch-boost-numeric-odeint-util-bind.hpp.diff	2014-08-15 16:17:48 UTC (rev 123880)
@@ -0,0 +1,15 @@
+--- boost/numeric/odeint/util/bind.hpp	2014-07-11 15:00:39.000000000 -0500
++++ boost/numeric/odeint/util/bind.hpp	2014-08-15 06:50:41.000000000 -0500
+@@ -41,9 +41,12 @@
+ 
+ #else
+ 
++// unnamed namespace to avoid multiple declarations (#138)
++namespace {
+ using ::boost::bind;
+ boost::arg<1> _1;
+ boost::arg<2> _2;
++}
+ // using ::boost::bind;
+ // using ::_1;
+ // using ::_2;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/8f1f4906/attachment.html>


More information about the macports-changes mailing list