From 0f373b56d760cc18db242b47d35b7b259199859e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Sep 2015 13:15:05 +0000 Subject: uclibc++: fix build with gcc 5.2 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46777 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../libs/uclibc++/patches/020-template-fix.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/libs/uclibc++/patches/020-template-fix.patch (limited to 'package/libs') 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){ -- cgit v1.2.3