diff options
author | markd <markd@pkgsrc.org> | 2014-08-17 00:10:11 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2014-08-17 00:10:11 +0000 |
commit | 8155b6215ba90c775555075dd0a575786d1b8ce2 (patch) | |
tree | 4c047acd8fb730d6ce8c7fa4b2a576a37c9c6f6c /meta-pkgs | |
parent | c5b8386bd4571976f9b4fa19057f94e20f61bce4 (diff) | |
download | pkgsrc-8155b6215ba90c775555075dd0a575786d1b8ce2.tar.gz |
Fix build with gcc 4.5.X
https://github.com/boostorg/variant/commit/8f111d3126c5a706f0eca0b90f5e01c9a4601178
Diffstat (limited to 'meta-pkgs')
-rw-r--r-- | meta-pkgs/boost/distinfo | 3 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_variant_static_visitor.hpp | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo index 893b0d29bf7..1971e387988 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.68 2014/08/13 10:56:35 adam Exp $ +$NetBSD: distinfo,v 1.69 2014/08/17 00:10:11 markd Exp $ SHA1 (boost_1_56_0.tar.bz2) = f94bb008900ed5ba1994a1072140590784b9b5df RMD160 (boost_1_56_0.tar.bz2) = cef8907987b4187ff913cbf266fd5d99b40137c4 @@ -18,6 +18,7 @@ SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 173271c60b3e2ba7bb1fe9390dcd86 SHA1 (patch-boost_core_noncopyable.hpp) = a693e5eda7fc303e1bd86ecfab40321d771af6fe SHA1 (patch-boost_math_tools_config.hpp) = 81402bc38dc858d0818ed91e204966c8382be4ff SHA1 (patch-boost_regex_config.hpp) = 6b752c7c23168c591cd391739c7a4539bef44c12 +SHA1 (patch-boost_variant_static_visitor.hpp) = fe496c504720d305f868a38fa6309517427c351a SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711 SHA1 (patch-libs_filesystem_src_unique_path.cpp) = 4693ea11cf464d82168cecaa143b48affa94563b SHA1 (patch-libs_log_src_timestamp.cpp) = f80981762e17ba7d6742f8cf5d8d6d4b494aa54e diff --git a/meta-pkgs/boost/patches/patch-boost_variant_static_visitor.hpp b/meta-pkgs/boost/patches/patch-boost_variant_static_visitor.hpp new file mode 100644 index 00000000000..bbee007bfde --- /dev/null +++ b/meta-pkgs/boost/patches/patch-boost_variant_static_visitor.hpp @@ -0,0 +1,16 @@ +$NetBSD: patch-boost_variant_static_visitor.hpp,v 1.1 2014/08/17 00:10:11 markd Exp $ + +Fix build with gcc 4.5.X +https://github.com/boostorg/variant/commit/8f111d3126c5a706f0eca0b90f5e01c9a4601178 + +--- boost/variant/static_visitor.hpp.orig 2014-08-16 23:31:01.000000000 +0000 ++++ boost/variant/static_visitor.hpp +@@ -48,7 +48,7 @@ public: // typedefs + typedef R result_type; + + protected: // for use as base class only +-#ifndef BOOST_NO_DEFAULTED_FUNCTIONS ++#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) && !defined(BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS) + static_visitor() = default; + ~static_visitor() = default; + #else |