summaryrefslogtreecommitdiff
path: root/user/icewm/portable-ylocale.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/icewm/portable-ylocale.patch')
-rw-r--r--user/icewm/portable-ylocale.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/icewm/portable-ylocale.patch b/user/icewm/portable-ylocale.patch
new file mode 100644
index 000000000..b9a2b243c
--- /dev/null
+++ b/user/icewm/portable-ylocale.patch
@@ -0,0 +1,16 @@
+diff -Nurd icewm-1.4.2/src/ylocale.cc icewm-1.4.2.new/src/ylocale.cc
+--- icewm-1.4.2/src/ylocale.cc 2017-07-30 03:53:35.524267864 -0500
++++ icewm-1.4.2.new/src/ylocale.cc 2018-06-27 08:29:55.967038048 -0500
+@@ -56,7 +56,11 @@
+ #ifdef CONFIG_NL_CODESETS
+ CONFIG_NL_CODESETS
+ #else
+- CODESET, _NL_CTYPE_CODESET_NAME, 0
++ CODESET,
++#ifdef _NL_CTYPE_CODESET_NAME
++ _NL_CTYPE_CODESET_NAME,
++#endif
++ 0
+ #endif
+ };
+