bring back a diff from boost svn to support code compilation

with libreoffice and boost

tested in a bulk by jasper and ok jasper@
This commit is contained in:
robert 2012-10-15 20:31:59 +00:00
parent 9ed79cbc48
commit d11f09d747
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2012/09/29 07:08:38 landry Exp $
# $OpenBSD: Makefile,v 1.40 2012/10/15 20:31:59 robert Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
BROKEN-hppa = ICE on src/tr1/assoc_laguerre.cpp
@ -6,7 +6,7 @@ BROKEN-hppa = ICE on src/tr1/assoc_laguerre.cpp
COMMENT= free peer-reviewed portable C++ source libraries
PKGNAME= boost-${VERSION}
REVISION= 14
REVISION= 15
VERSION= 1.42.0
DISTNAME= boost_${VERSION:S/./_/g}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-boost_interprocess_detail_transform_iterator_hpp,v 1.1 2012/10/15 20:31:59 robert Exp $
--- boost/interprocess/detail/transform_iterator.hpp.orig Sat Oct 13 12:35:34 2012
+++ boost/interprocess/detail/transform_iterator.hpp Sat Oct 13 12:35:40 2012
@@ -54,7 +54,7 @@ struct operator_arrow_proxy<T&>
// This function is needed for MWCW and BCC, which won't call operator->
// again automatically per 13.3.1.2 para 8
// operator T*() const { return &m_value; }
- mutable T &m_value;
+ T &m_value;
};
template <class Iterator, class UnaryFunction>