TypeTraits patch

This commit is contained in:
Adrián Arroyo Calle
2013-12-19 01:10:38 +00:00
parent 4a486704d8
commit 1cc9bfe6f6
2 changed files with 30 additions and 1 deletions

View File

@@ -15,7 +15,10 @@ COPYRIGHT="1998-2013 Beman Dawes, David Abrahams, Rene Rivera, et al."
ARCHITECTURES="?x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
SOURCE_DIR="boost_1_55_0"
PATCHES="boost-1.55.0.patch"
PATCHES="
boost-1.55.0.patch
type_traits.patch
"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="

View File

@@ -0,0 +1,26 @@
diff --git a/boost/config/platform/haiku.hpp b/boost/config/platform/haiku.hpp
index 1b15c7e..e953f00 100644
--- a/boost/config/platform/haiku.hpp
+++ b/boost/config/platform/haiku.hpp
@@ -10,13 +10,21 @@
#define BOOST_PLATFORM "Haiku"
#define BOOST_NO_INTRINSIC_WCHAR_T
+#define BOOST_NO_STD_WSTRING
#define BOOST_HAS_UNISTD_H
+#define BOOST_EXCEPTION_DISABLE
+#define BOOST_NO_EXCEPTIONS
+#define BOOST_NO_AUTO_PTR
+#define GLIBC_HAVE_LONG_LONG
#define BOOST_HAS_BETHREADS
#ifndef BOOST_DISABLE_THREADS
# define BOOST_HAS_THREADS
#endif
+#define BOOST_NO_CXX11_HDR_TYPE_TRAITS
+#define BOOST_NO_CXX11_ATOMIC_SMART_PTR
+
//
// thread API's not auto detected: