aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/uclibc++/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-03 13:15:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-03 13:15:05 +0000
commit0f373b56d760cc18db242b47d35b7b259199859e (patch)
treebfb2a041b79b94ef738d2326211408109189d7a9 /package/libs/uclibc++/patches
parentae8f87b74aee8fb000b8b8808a5a180f7a19a43c (diff)
downloadmaster-187ad058-0f373b56d760cc18db242b47d35b7b259199859e.tar.gz
master-187ad058-0f373b56d760cc18db242b47d35b7b259199859e.tar.bz2
master-187ad058-0f373b56d760cc18db242b47d35b7b259199859e.zip
uclibc++: fix build with gcc 5.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46777 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/uclibc++/patches')
-rw-r--r--package/libs/uclibc++/patches/020-template-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libs/uclibc++/patches/020-template-fix.patch b/package/libs/uclibc++/patches/020-template-fix.patch
new file mode 100644
index 0000000000..f7cc09e140
--- /dev/null
+++ b/package/libs/uclibc++/patches/020-template-fix.patch
@@ -0,0 +1,22 @@
+--- a/include/ostream
++++ b/include/ostream
+@@ -294,7 +294,7 @@ namespace std {
+ #endif
+ #endif
+
+- template <class charT,class traits = char_traits<charT> >
++ template <class charT,class traits>
+ class _UCXXEXPORT basic_ostream<charT,traits>::sentry
+ {
+ bool ok;
+--- a/include/istream
++++ b/include/istream
+@@ -340,7 +340,7 @@ namespace std{
+
+ };
+
+- template <class charT,class traits = char_traits<charT> > class _UCXXEXPORT basic_istream<charT,traits>::sentry {
++ template <class charT,class traits> class _UCXXEXPORT basic_istream<charT,traits>::sentry {
+ bool ok;
+ public:
+ explicit _UCXXEXPORT sentry(basic_istream<charT,traits>& os, bool noskipws = false){