Author: nbd
Date: 2015-09-03 15:15:05 +0200 (Thu, 03 Sep 2015)
New Revision: 46777

Added:
   trunk/package/libs/uclibc++/patches/020-template-fix.patch
Log:
uclibc++: fix build with gcc 5.2

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/libs/uclibc++/patches/020-template-fix.patch
===================================================================
--- trunk/package/libs/uclibc++/patches/020-template-fix.patch                  
        (rev 0)
+++ trunk/package/libs/uclibc++/patches/020-template-fix.patch  2015-09-03 
13:15:05 UTC (rev 46777)
@@ -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){
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to