[120882] trunk/dports/devel/boost
devans at macports.org
devans at macports.org
Tue Jun 10 14:15:19 PDT 2014
Revision: 120882
https://trac.macports.org/changeset/120882
Author: devans at macports.org
Date: 2014-06-10 14:15:19 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
boost: fix builds using transform_width.hpp together with libc++ on Mavericks, see comments for details.
Modified Paths:
--------------
trunk/dports/devel/boost/Portfile
Added Paths:
-----------
trunk/dports/devel/boost/files/patch-boost-archive-interactors-transform_width.hpp.diff
Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile 2014-06-10 20:27:17 UTC (rev 120881)
+++ trunk/dports/devel/boost/Portfile 2014-06-10 21:15:19 UTC (rev 120882)
@@ -10,7 +10,7 @@
name boost
version 1.55.0
-revision 3
+revision 4
license Boost-1
categories devel
platforms darwin
@@ -41,7 +41,20 @@
patch-tools_build_v2_engine_src_build.jam.diff \
patch-libs-context-130308-0.diff \
patch-bootstrap.sh.diff \
+ patch-boost-archive-interactors-transform_width.hpp.diff \
patch-atomic.diff
+ # patch-boost-archive-interactors-transform_width.hpp.diff
+ # fixes builds using transform_width.hpp with libc++
+ # (e.g. Mavericks, librevenge-0.0.1, wip, not yet committed).
+ # fix has been committed to upstream trunk but not included
+ # in tarball as of 1.55.0
+ # See upstream tickets:
+ # https://svn.boost.org/trac/boost/ticket/9196
+ # https://svn.boost.org/trac/boost/ticket/9279
+ # https://svn.boost.org/trac/boost/ticket/9421
+ # https://svn.boost.org/trac/boost/ticket/9670
+ # https://svn.boost.org/trac/boost/ticket/9727
+ #
# patch-atomic.diff can be removed once 1.55.1 or 1.56.0 is released.
post-patch {
Added: trunk/dports/devel/boost/files/patch-boost-archive-interactors-transform_width.hpp.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-boost-archive-interactors-transform_width.hpp.diff (rev 0)
+++ trunk/dports/devel/boost/files/patch-boost-archive-interactors-transform_width.hpp.diff 2014-06-10 21:15:19 UTC (rev 120882)
@@ -0,0 +1,11 @@
+--- boost/archive/iterators/transform_width.hpp.orig 2014-06-06 15:45:17.000000000 -0700
++++ boost/archive/iterators/transform_width.hpp 2014-06-06 15:46:48.000000000 -0700
+@@ -30,6 +30,8 @@
+ #include <boost/iterator/iterator_adaptor.hpp>
+ #include <boost/iterator/iterator_traits.hpp>
+
++#include <algorithm> // std::min
++
+ namespace boost {
+ namespace archive {
+ namespace iterators {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/e72f2b3b/attachment.html>
More information about the macports-changes
mailing list