summaryrefslogtreecommitdiff
path: root/package/uclibc++/patches/patch-include_locale
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/uclibc++/patches/patch-include_locale
Initial import
Diffstat (limited to 'package/uclibc++/patches/patch-include_locale')
-rw-r--r--package/uclibc++/patches/patch-include_locale19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/uclibc++/patches/patch-include_locale b/package/uclibc++/patches/patch-include_locale
new file mode 100644
index 000000000..2ecee1c11
--- /dev/null
+++ b/package/uclibc++/patches/patch-include_locale
@@ -0,0 +1,19 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- uClibc++-0.2.1.orig/include/locale 2006-09-04 04:28:07.000000000 +0200
++++ uClibc++-0.2.1/include/locale 2009-04-29 19:48:20.096785868 +0200
+@@ -19,6 +19,7 @@
+
+ #include <basic_definitions>
+ #include <cstddef>
++#include <string>
+
+ #ifndef __HEADER_STD_LOCALE
+ #define __HEADER_STD_LOCALE 1
+@@ -56,6 +57,7 @@ namespace std{
+ const locale& operator=(const locale&) throw(){
+ return *this;
+ }
++ std::string name() const { return "C"; }
+ };
+
+ class _UCXXEXPORT locale::facet {