24460641 wxwidgets (and its clients) fail to build on 106 nightly
authorVladimir Marek <Vladimir.Marek@oracle.com>
Mon, 19 Sep 2016 15:33:35 +0200
changeset 6965 beaa97be01e8
parent 6964 c3b11711b2b9
child 6966 8894a65803e1
24460641 wxwidgets (and its clients) fail to build on 106 nightly
components/wxwidgets/patches/stdwcsf.patch
--- a/components/wxwidgets/patches/stdwcsf.patch	Fri Sep 23 12:03:45 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-Patch origin: in-house
-Patch status: Solaris-specific; not suitable for upstream
-
-Workaround for:
-
-23234483 - some functions are not exported in default C++ namespace in wchar.h
-
---- wxWidgets-3.0.2/include/wx/wxcrtbase.h
-+++ wxWidgets-3.0.2/include/wx/wxcrtbase.h
[email protected]@ -180,7 +180,7 @@
-         !(defined(__CYGWIN__) || defined(__WX_STRICT_ANSI_GCC__))
-     #define wxCRT_StrdupW _wcsdup
- #elif defined(HAVE_WCSDUP)
--    #define wxCRT_StrdupW wcsdup
-+    #define wxCRT_StrdupW std::wcsdup
- #endif
- 
- #ifdef wxHAVE_TCHAR_SUPPORT
[email protected]@ -238,7 +238,7 @@
- #endif
- 
- #ifdef HAVE_WCSNLEN
--    #define wxCRT_StrnlenW  wcsnlen
-+    #define wxCRT_StrnlenW  std::wcsnlen
- #endif
- 
- /* define wxCRT_StricmpA/W and wxCRT_StrnicmpA/W for various compilers */
[email protected]@ -262,10 +262,10 @@
-     #define wxCRT_StrnicmpW _wcsnicmp
- #elif defined(__UNIX__)
-     #ifdef HAVE_WCSCASECMP
--        #define wxCRT_StricmpW wcscasecmp
-+        #define wxCRT_StricmpW std::wcscasecmp
-     #endif
-     #ifdef HAVE_WCSNCASECMP
--        #define wxCRT_StrnicmpW wcsncasecmp
-+        #define wxCRT_StrnicmpW std::wcsncasecmp
-     #endif
- /* #else -- use wxWidgets implementation */
- #endif