From: Felix Fietkau Date: Thu, 3 Sep 2015 13:15:05 +0000 (+0000) Subject: uclibc++: fix build with gcc 5.2 X-Git-Tag: reboot~2148 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3ae9c4fcad944e343946a051cece9a701544f185;p=oweals%2Fopenwrt.git uclibc++: fix build with gcc 5.2 Signed-off-by: Felix Fietkau SVN-Revision: 46777 --- 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 > ++ template + class _UCXXEXPORT basic_ostream::sentry + { + bool ok; +--- a/include/istream ++++ b/include/istream +@@ -340,7 +340,7 @@ namespace std{ + + }; + +- template > class _UCXXEXPORT basic_istream::sentry { ++ template class _UCXXEXPORT basic_istream::sentry { + bool ok; + public: + explicit _UCXXEXPORT sentry(basic_istream& os, bool noskipws = false){