diff --git a/devel/boost/Makefile b/devel/boost/Makefile index 1c65e955e1d..0a41fd7de3d 100644 --- a/devel/boost/Makefile +++ b/devel/boost/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.19 2010/03/30 11:00:15 robert Exp $ +# $OpenBSD: Makefile,v 1.20 2010/04/08 11:33:35 landry Exp $ COMMENT= free peer-reviewed portable C++ source libraries -PKGNAME= boost-${VERSION} +PKGNAME= boost-${VERSION}p0 VERSION= 1.41.0 DISTNAME= boost_${VERSION:S/./_/g} diff --git a/devel/boost/patches/patch-boost_throw_exception_hpp b/devel/boost/patches/patch-boost_throw_exception_hpp new file mode 100644 index 00000000000..d4a83a55ff5 --- /dev/null +++ b/devel/boost/patches/patch-boost_throw_exception_hpp @@ -0,0 +1,15 @@ +$OpenBSD: patch-boost_throw_exception_hpp,v 1.1 2010/04/08 11:33:35 landry Exp $ +Fix for /usr/local/include/boost/throw_exception.hpp:57: warning: +`inline' is not at beginning of declaration which makes -Werror +configure scripts bomb +--- boost/throw_exception.hpp.orig Thu Apr 8 11:26:22 2010 ++++ boost/throw_exception.hpp Thu Apr 8 11:26:36 2010 +@@ -54,7 +54,7 @@ void throw_exception( std::exception const & e ); // u + + inline void throw_exception_assert_compatibility( std::exception const & ) { } + +-template BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e ) ++template inline BOOST_ATTRIBUTE_NORETURN void throw_exception( E const & e ) + { + //All boost exceptions are required to derive from std::exception, + //to ensure compatibility with BOOST_NO_EXCEPTIONS.