-
Notifications
You must be signed in to change notification settings - Fork 1
/
Boost-fennel.patch
executable file
·42 lines (36 loc) · 1.51 KB
/
Boost-fennel.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -Naur boost_1_43_0/boost/functional/hash/detail/float_functions.hpp boost/boost/functional/hash/detail/float_functions.hpp
--- boost_1_43_0/boost/functional/hash/detail/float_functions.hpp 2011-05-12 15:56:06.428082003 -0700
+++ boost/boost/functional/hash/detail/float_functions.hpp 2011-05-12 15:57:33.768081999 -0700
@@ -210,6 +210,12 @@
#undef BOOST_HASH_CALL_FLOAT_FUNC
+#ifdef __APPLE__
+# define BOOST_HASH_USE_C99_FLOAT_FUNCS
+# undef BOOST_HASH_USE_OVERLOAD_FLOAT_FUNCS
+#endif
+
+
namespace boost
{
namespace hash_detail
diff -Naur boost_1_43_0/boost/functional/hash/detail/hash_float.hpp boost/boost/functional/hash/detail/hash_float.hpp
--- boost_1_43_0/boost/functional/hash/detail/hash_float.hpp 2009-07-26 13:11:03.000000000 -0700
+++ boost/boost/functional/hash/detail/hash_float.hpp 2011-05-12 15:43:47.348082001 -0700
@@ -19,6 +19,10 @@
// Include hash implementation for the current platform.
+#ifdef __APPLE__
+# define BOOST_HASH_USE_x86_BINARY_HASH
+#endif
+
// Cygwn
#if defined(__CYGWIN__)
# if defined(__i386__) || defined(_M_IX86)
diff -Naur boost_1_43_0/boost/test/unit_test_suite_impl.hpp boost/boost/test/unit_test_suite_impl.hpp
--- boost_1_43_0/boost/test/unit_test_suite_impl.hpp 2009-07-03 23:36:59.000000000 -0700
+++ boost/boost/test/unit_test_suite_impl.hpp 2011-05-12 16:08:58.078082003 -0700
@@ -77,7 +77,7 @@
void increase_exp_fail( unsigned num );
protected:
- ~test_unit();
+ virtual ~test_unit();
private:
// Data members