Fix boost header so that -Werror configure scripts (wesnoth) doesn't
bomb. An update to 1.42 is needed anyway. ok jasper@
This commit is contained in:
parent
3067fbb67a
commit
0a236cfbc3
@ -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}
|
||||
|
15
devel/boost/patches/patch-boost_throw_exception_hpp
Normal file
15
devel/boost/patches/patch-boost_throw_exception_hpp
Normal file
@ -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<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
|
||||
+template<class E> 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.
|
Loading…
Reference in New Issue
Block a user