about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/icewm/musl.patch
blob: e7d18e3128742a3693a26665a22258b8071e786a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- src/ylocale.cc	2017-07-30 10:59:06.000000000 +0200
+++ src/ylocale.cc	2017-08-09 08:15:50.938841549 +0200
@@ -55,6 +55,8 @@
     int const codesetItems[] = {
 #ifdef CONFIG_NL_CODESETS
 	CONFIG_NL_CODESETS
+#elif !defined(__GLIBC__)
+	CODESET, 0
 #else
 	CODESET, _NL_CTYPE_CODESET_NAME, 0
 #endif
--- src/globit.c	2017-07-30 10:59:06.000000000 +0200
+++ src/globit.c	2017-08-09 08:17:18.691824584 +0200
@@ -143,7 +143,9 @@
 	} else if (*pattern == '~') {
 		/* yes, tilde */
 		is_absolute = 2;
+#if defined(__GLIBC__)
 		glob_flags |= GLOB_TILDE;
+#endif
 		/* any slash in the pattern? */
 		while (*cp && *cp != '/')
 			++cp;