فهرست منبع

uclibc++: fix build with gcc 5.2

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

SVN-Revision: 46777
Felix Fietkau 10 سال پیش
والد
کامیت
3ae9c4fcad
1فایلهای تغییر یافته به همراه22 افزوده شده و 0 حذف شده
  1. 22 0
      package/libs/uclibc++/patches/020-template-fix.patch

+ 22 - 0
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){