From 3fc469ec0cb5c73b5e29f496a067877f3146f735 Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Thu, 7 Nov 2013 15:37:32 +0000 Subject: convert to STAGE --- devel/glog/files/patch-stl_logging.h.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 devel/glog/files/patch-stl_logging.h.in (limited to 'devel/glog/files/patch-stl_logging.h.in') diff --git a/devel/glog/files/patch-stl_logging.h.in b/devel/glog/files/patch-stl_logging.h.in new file mode 100644 index 000000000000..d3449a748efe --- /dev/null +++ b/devel/glog/files/patch-stl_logging.h.in @@ -0,0 +1,28 @@ +--- src/glog/stl_logging.h.in.orig 2013-01-09 21:57:36.000000000 +0800 ++++ src/glog/stl_logging.h.in 2013-09-20 19:39:39.000000000 +0800 +@@ -53,8 +53,12 @@ + #ifdef __GNUC__ + # include + # include ++#ifdef _LIBCPP_VERSION ++# include ++#else + # include + #endif ++#endif + + // Forward declare these two, and define them after all the container streams + // operators so that we can recurse from pair -> container -> container -> pair +@@ -81,8 +85,12 @@ OUTPUT_TWO_ARG_CONTAINER(std::vector) + OUTPUT_TWO_ARG_CONTAINER(std::deque) + OUTPUT_TWO_ARG_CONTAINER(std::list) + #ifdef __GNUC__ ++#ifdef _LIBCPP_VERSION ++OUTPUT_TWO_ARG_CONTAINER(std::forward_list) ++#else + OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist) + #endif ++#endif + + #undef OUTPUT_TWO_ARG_CONTAINER + -- cgit v1.2.3