summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch')
-rw-r--r--dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch b/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch
new file mode 100644
index 0000000..06a3138
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch
@@ -0,0 +1,14 @@
+Numerous sources suggest just to do this, boost devs only seem to "know"
+it is "bad". Without this, boost simply dies compiling (joy).
+
+--- boost/math/tools/config.hpp
++++ boost/math/tools/config.hpp
+@@ -43,7 +43,7 @@
+ // Darwin's rather strange "double double" is rather hard to
+ // support, it should be possible given enough effort though...
+ //
+-# define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
++// fsck it! # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ #endif
+ #if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
+ //