From f633b8bc932c765b33d047cf84b3e5947f79d4e5 Mon Sep 17 00:00:00 2001
From: Fabian Groffen <grobian@gentoo.org>
Date: Thu, 28 May 2009 17:42:51 +0000
Subject: Merged in Darwin support (backport from Prefix), required get_libname
 here and there (Portage version: 2.1.6.11/cvs/Linux x86_64)

---
 dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 dev-libs/boost/files/boost-1.37.0-darwin-long-double.patch

(limited to 'dev-libs/boost/files')

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 000000000000..06a313873c9e
--- /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)
+ //
-- 
cgit v1.2.3-65-gdbad