* updated ksmtp (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / x11 / wxwidgets24 / locale.patch
blobfdbbcac3543169c4efad763ef81e13d742bffc73
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../wxwidgets24/locale.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 diff -Naur wxPythonSrc-2.4.2.4_orig/src/common/intl.cpp wxPythonSrc-2.4.2.4/src/common/intl.cpp
17 --- wxPythonSrc-2.4.2.4_orig/src/common/intl.cpp 2003-09-22 21:09:45.000000000 +0200
18 +++ wxPythonSrc-2.4.2.4/src/common/intl.cpp 2005-03-31 17:50:13.032652824 +0200
19 @@ -274,7 +274,7 @@
20 // search first in prefix/fr/LC_MESSAGES, then in prefix/fr and finally in
21 // prefix (assuming the language is 'fr')
22 searchPath << prefix << wxFILE_SEP_PATH << lang << wxFILE_SEP_PATH
23 - << wxT("LC_MESSAGES") << wxPATH_SEP
24 + << wxT("LC_MESSAGES/wx24") << wxPATH_SEP
25 << prefix << wxFILE_SEP_PATH << lang << wxPATH_SEP
26 << prefix << wxPATH_SEP;
28 @@ -303,8 +303,8 @@
29 #ifdef __UNIX__
30 // add some standard ones and the one in the tree where wxWin was installed:
31 searchPath
32 - << GetAllMsgCatalogSubdirs(wxString(wxGetInstallPrefix()) + wxT("/share/locale"), lang)
33 - << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale"), lang)
34 + << GetAllMsgCatalogSubdirs(wxString(wxGetInstallPrefix()) + wxT("/share/locale/wx24"), lang)
35 + << GetAllMsgCatalogSubdirs(wxT("/usr/share/locale/wx24"), lang)
36 << GetAllMsgCatalogSubdirs(wxT("/usr/lib/locale"), lang)
37 << GetAllMsgCatalogSubdirs(wxT("/usr/local/share/locale"), lang);
38 #endif // __UNIX__