summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files/patch-boost_regex_config.hpp
diff options
context:
space:
mode:
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
+