summaryrefslogtreecommitdiff
path: root/devel/glog/files/patch-src-glog-stl_logging.h.in
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-21 19:20:33 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-21 19:20:33 +0000
commit25593399fc0a494a543620f1046cfdb427d6c2a2 (patch)
treeb1879d741fe36e672987486c29d74f57e6c81257 /devel/glog/files/patch-src-glog-stl_logging.h.in
parent- Update to 2.1.1 (diff)
- Update to 0.3.4
- Update WWW Changes: https://github.com/google/glog/releases
Diffstat (limited to 'devel/glog/files/patch-src-glog-stl_logging.h.in')
-rw-r--r--devel/glog/files/patch-src-glog-stl_logging.h.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/glog/files/patch-src-glog-stl_logging.h.in b/devel/glog/files/patch-src-glog-stl_logging.h.in
new file mode 100644
index 000000000000..9807edb350cc
--- /dev/null
+++ b/devel/glog/files/patch-src-glog-stl_logging.h.in
@@ -0,0 +1,26 @@
+--- src/glog/stl_logging.h.in.orig 2015-03-11 12:02:27.000000000 +0800
++++ src/glog/stl_logging.h.in 2015-03-22 01:13:41.132580961 +0800
+@@ -76,6 +76,9 @@
+ #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST
+ # include <ext/slist>
+ #endif
++#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST
++# include <forward_list>
++#endif
+
+ // Forward declare these two, and define them after all the container streams
+ // operators so that we can recurse from pair -> container -> container -> pair
+@@ -101,9 +104,13 @@
+ OUTPUT_TWO_ARG_CONTAINER(std::vector)
+ OUTPUT_TWO_ARG_CONTAINER(std::deque)
+ OUTPUT_TWO_ARG_CONTAINER(std::list)
++
+ #ifdef GLOG_STL_LOGGING_FOR_EXT_SLIST
+ OUTPUT_TWO_ARG_CONTAINER(__gnu_cxx::slist)
+ #endif
++#ifdef GLOG_STL_LOGGING_FOR_FORWARD_LIST
++OUTPUT_TWO_ARG_CONTAINER(std::forward_list)
++#endif
+
+ #undef OUTPUT_TWO_ARG_CONTAINER
+