View | Details | Raw Unified | Return to bug 181044 | Differences between
and this patch

Collapse All | Expand All

(-)boost-libs/files/patch-include-next (+30 lines)
Line 0 Link Here
1
--- boost/tr1/detail/config.hpp.orig	2010-06-12 04:30:03.000000000 -0500
2
+++ boost/tr1/detail/config.hpp	2013-07-30 14:26:57.000000000 -0500
3
@@ -9,6 +9,7 @@
4
 #include <cstddef>
5
 
6
 #if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \
7
+   || (!defined(__FreeBSD__)) \
8
    || (!defined(_AIX) && defined(__IBMCPP__)  && (__IBMCPP__ >= 800)) 
9
    // Disable use of #include_next on Linux as typically we are installed in a 
10
    // directory that is searched *after* the std lib include path.
11
--- boost/tr1/detail/config_all.hpp.orig	2011-07-25 04:28:58.000000000 -0500
12
+++ boost/tr1/detail/config_all.hpp	2013-07-30 15:31:10.000000000 -0500
13
@@ -85,6 +85,8 @@
14
 #  elif defined(__GNUC__) && __GNUC__ >= 3
15
 #    if defined(BOOST_TR1_GCC_INCLUDE_PATH)
16
 #      define BOOST_TR1_STD_HEADER(name) <../BOOST_TR1_GCC_INCLUDE_PATH/name>
17
+#    elif (defined(__FreeBSD__))
18
+#      define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__/name>
19
 #    elif ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__))))
20
 #      define BOOST_TR1_STD_HEADER(name) <../g++-v3/name>
21
 #    else
22
@@ -107,7 +109,7 @@
23
 #    endif
24
 
25
 #      if !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) && !defined(__ICC) \
26
-            && (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__))
27
+            && (defined(__FreeBSD__) || defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__))
28
          // Disable use of #include_next on Linux as typically we are installed in a directory that is searched
29
          // *after* the std lib include path:
30
 #        define BOOST_TR1_DISABLE_INCLUDE_NEXT

Return to bug 181044