summaryrefslogtreecommitdiff
path: root/www/libstdc++4.7-clang11.patch
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-04-17 01:04:22 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-04-17 01:04:22 +0000
commit07d2f56717ba90a3d52d9f0de560435b495d99b6 (patch)
tree3e167991deea909fbc6649f9e296f00c953633c1 /www/libstdc++4.7-clang11.patch
parente6975e9b0985ad7f7ff9187e38d95bfe9ac4181b (diff)
downloadclang-07d2f56717ba90a3d52d9f0de560435b495d99b6.tar.gz
Link to a tiny patch to libstdc++-4.7 to work around the <chrono> issues
from the C++ status page. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/libstdc++4.7-clang11.patch')
-rw-r--r--www/libstdc++4.7-clang11.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/libstdc++4.7-clang11.patch b/www/libstdc++4.7-clang11.patch
new file mode 100644
index 0000000000..3f0300725d
--- /dev/null
+++ b/www/libstdc++4.7-clang11.patch
@@ -0,0 +1,13 @@
+Index: include/std/type_traits
+===================================================================
+--- include/std/type_traits (revision 185724)
++++ include/std/type_traits (working copy)
+@@ -1746,7 +1746,7 @@
+
+ template<typename _Tp, typename _Up>
+ struct common_type<_Tp, _Up>
+- { typedef decltype(true ? declval<_Tp>() : declval<_Up>()) type; };
++ { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
+
+ template<typename _Tp, typename _Up, typename... _Vp>
+ struct common_type<_Tp, _Up, _Vp...>