summaryrefslogtreecommitdiff
path: root/user/wxwidgets/disable-xlocale.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-24 21:46:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-24 21:46:53 +0000
commitc6cc5ddde484009c21a5124d09fcbfcfba632d54 (patch)
tree947ebe5f22db0db73fa9a478fac312cd876904c5 /user/wxwidgets/disable-xlocale.patch
parentdd044a7103ce0d5a7c309829e0dbad1e3b863438 (diff)
downloadpackages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.gz
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.bz2
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.tar.xz
packages-c6cc5ddde484009c21a5124d09fcbfcfba632d54.zip
user/wxwidgets: new package
Diffstat (limited to 'user/wxwidgets/disable-xlocale.patch')
-rw-r--r--user/wxwidgets/disable-xlocale.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/wxwidgets/disable-xlocale.patch b/user/wxwidgets/disable-xlocale.patch
new file mode 100644
index 000000000..0b8aa47f9
--- /dev/null
+++ b/user/wxwidgets/disable-xlocale.patch
@@ -0,0 +1,13 @@
+--- wxWidgets-3.1.2/include/wx/features.h.old 2018-12-09 15:40:08.000000000 +0000
++++ wxWidgets-3.1.2/include/wx/features.h 2019-02-24 21:33:30.250000000 +0000
+@@ -76,8 +76,8 @@
+ /* This is defined when the compiler provides some type of extended locale
+ functions. Otherwise, we implement them ourselves to only support the
+ 'C' locale */
+-#if defined(HAVE_LOCALE_T) || \
+- (wxCHECK_VISUALC_VERSION(8))
++#if (!defined(__linux__) || defined(__GLIBC__)) && (defined(HAVE_LOCALE_T) || \
++ (wxCHECK_VISUALC_VERSION(8)))
+ #define wxHAS_XLOCALE_SUPPORT
+ #else
+ #undef wxHAS_XLOCALE_SUPPORT