diff options
Diffstat (limited to 'meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch')
-rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch deleted file mode 100644 index e4ca6579f8..0000000000 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | these macro'd away functions don't exist in musl (yet) | ||
4 | diff --git a/include/wx/xlocale.h b/include/wx/xlocale.h | ||
5 | index c433d25..3ab9d84 100644 | ||
6 | --- a/include/wx/xlocale.h | ||
7 | +++ b/include/wx/xlocale.h | ||
8 | @@ -33,6 +33,26 @@ | ||
9 | #include "wx/crt.h" // Includes wx/chartype.h, wx/wxcrt.h(wx/string.h) | ||
10 | #include "wx/intl.h" // wxLanguage | ||
11 | |||
12 | +#ifndef strtol_l | ||
13 | +#define strtol_l(s, p, base, l) strtol(s, p, base) | ||
14 | +#endif | ||
15 | + | ||
16 | +#ifndef strtoul_l | ||
17 | +#define strtoul_l(s, p, base, l) strtoul(s, p, base) | ||
18 | +#endif | ||
19 | + | ||
20 | +#ifndef wcstod_l | ||
21 | +#define wcstod_l(s, p, l) wcstod(s, p) | ||
22 | +#endif | ||
23 | + | ||
24 | +#ifndef wcstol_l | ||
25 | +#define wcstol_l(s, p, base, l) wcstol(s, p, base) | ||
26 | +#endif | ||
27 | + | ||
28 | +#ifndef wcstoul_l | ||
29 | +#define wcstoul_l(s, p, base, l) wcstoul(s, p, base) | ||
30 | +#endif | ||
31 | + | ||
32 | // The platform-specific locale type | ||
33 | // If wxXLocale_t is not defined, then only "C" locale support is provided | ||
34 | #ifdef wxHAS_XLOCALE_SUPPORT | ||