summaryrefslogblamecommitdiff
path: root/user/icewm/portable-ylocale.patch
blob: b9a2b243cfa77782a80b94d91dace99ac02fe6b9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
     };