pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost boost: fix build on NetBSD HEAD-llvm
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b79b9c6ff10
branches: trunk
changeset: 400134:2b79b9c6ff10
user: tnn <tnn%pkgsrc.org@localhost>
date: Thu Aug 22 21:05:27 2019 +0000
description:
boost: fix build on NetBSD HEAD-llvm
diffstat:
meta-pkgs/boost/distinfo | 3 +-
meta-pkgs/boost/patches/patch-boost_core_uncaught__exceptions.hpp | 19 ++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 27ec7f557494 -r 2b79b9c6ff10 meta-pkgs/boost/distinfo
--- a/meta-pkgs/boost/distinfo Thu Aug 22 20:24:01 2019 +0000
+++ b/meta-pkgs/boost/distinfo Thu Aug 22 21:05:27 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.126 2019/08/22 12:17:52 ryoon Exp $
+$NetBSD: distinfo,v 1.127 2019/08/22 21:05:27 tnn Exp $
SHA1 (boost_1_71_0.tar.bz2) = 5b0a3cef23f0c124dde5bbb64324f615ac843ace
RMD160 (boost_1_71_0.tar.bz2) = a46b886ca26993610c84615fca4340ad3f955f81
@@ -14,6 +14,7 @@
SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d57ee228c9dfa43665d261e7423fd10122dfd1a7
SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 52ebedd5e80b3a8c257eccb28cd2db76cb1ca01e
SHA1 (patch-boost_core_noncopyable.hpp) = 63a3c2fc0bc85af77ff8bc17ad3a21ef0bc398c1
+SHA1 (patch-boost_core_uncaught__exceptions.hpp) = eba82062750f4e09bcef467476e8c4abd125f7b6
SHA1 (patch-boost_math_special__functions_expm1.hpp) = 724fbd40b3780da8af6ce10bbf50a354eb19031a
SHA1 (patch-boost_math_special__functions_log1p.hpp) = df6fd088da736a4640663b64841383432f1a1201
SHA1 (patch-boost_math_tools_config.hpp) = 9d7ef331414526057a6ac1a0ba1af815f017dfc3
diff -r 27ec7f557494 -r 2b79b9c6ff10 meta-pkgs/boost/patches/patch-boost_core_uncaught__exceptions.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-boost_core_uncaught__exceptions.hpp Thu Aug 22 21:05:27 2019 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-boost_core_uncaught__exceptions.hpp,v 1.1 2019/08/22 21:05:27 tnn Exp $
+
+match prototype for __cxa_get_globals() from libc++
+
+./boost/core/uncaught_exceptions.hpp:75:30: error: exception specification in declaration does not match previous declaration
+/usr/include/c++/cxxabi.h:190:19: note: previous declaration is here
+__cxa_eh_globals *__cxa_get_globals(void);
+
+--- boost/core/uncaught_exceptions.hpp.orig 2019-08-22 20:44:08.783902992 +0000
++++ boost/core/uncaught_exceptions.hpp
+@@ -69,7 +69,7 @@
+ )
+ namespace __cxxabiv1 {
+ struct __cxa_eh_globals;
+-#if defined(__OpenBSD__)
++#if defined(__OpenBSD__) || (defined(__NetBSD__) && defined(_LIBCPP_VERSION))
+ extern "C" __cxa_eh_globals* __cxa_get_globals();
+ #else
+ extern "C" __cxa_eh_globals* __cxa_get_globals() BOOST_NOEXCEPT_OR_NOTHROW __attribute__((__const__));
Home |
Main Index |
Thread Index |
Old Index