aboutsummaryrefslogtreecommitdiff
path: root/games/lordsawar/files/patch-src_ucompose.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/lordsawar/files/patch-src_ucompose.hpp')
-rw-r--r--games/lordsawar/files/patch-src_ucompose.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/lordsawar/files/patch-src_ucompose.hpp b/games/lordsawar/files/patch-src_ucompose.hpp
new file mode 100644
index 000000000000..660825131678
--- /dev/null
+++ b/games/lordsawar/files/patch-src_ucompose.hpp
@@ -0,0 +1,14 @@
+Index: src/ucompose.hpp
+@@ -178,9 +178,9 @@
+ inline Composition::Composition(std::string fmt)
+ : arg_no(1)
+ {
+-#if __GNUC__ >= 3
+- os.imbue(std::locale("")); // use the user's locale for the stream
+-#endif
++//#if __GNUC__ >= 3
++// os.imbue(std::locale("")); // use the user's locale for the stream
++//#endif
+ std::string::size_type b = 0, i = 0;
+
+ // fill in output with the strings between the %1 %2 %3 etc. and