summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files/patch-boost_regex_config.hpp
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-12-12 00:15:49 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-12-12 00:15:49 +0000
commit7c879267dc47bb7723011ce7fd8f8cb518739c8c (patch)
treed48522d464e1ff041584b2a31f9ed94d0a22776f /devel/boost-libs/files/patch-boost_regex_config.hpp
parentUnbreak (diff)
devel/boost-*: update to 1.69.0
Changes: http://www.boost.org/users/history/version_1_69_0.html PR: 232525 Exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17645
Diffstat (limited to 'devel/boost-libs/files/patch-boost_regex_config.hpp')
-rw-r--r--devel/boost-libs/files/patch-boost_regex_config.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/boost-libs/files/patch-boost_regex_config.hpp b/devel/boost-libs/files/patch-boost_regex_config.hpp
new file mode 100644
index 000000000000..635aa122f449
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost_regex_config.hpp
@@ -0,0 +1,13 @@
+https://github.com/boostorg/regex/issues/72
+
+--- boost/regex/config.hpp.orig 2018-10-30 22:45:30 UTC
++++ boost/regex/config.hpp
+@@ -117,7 +117,7 @@
+ * Clang fails to export template instances with -fvisibility=hidden, see
+ * https://github.com/boostorg/regex/issues/49
+ */
+-#ifdef __clang__
++#if defined(__clang__) || defined(_LIBCPP_VERSION)
+ # define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
+ #endif
+