diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-06 01:39:44 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-06 01:39:44 +0000 |
commit | 92f528ac6f7403bed5afc6008f951872766ef24a (patch) | |
tree | f2130cff4065da4eafe5a1ccc817767500b2968d | |
parent | 627aa4a08ef1285003c63a0ad8ebe6e2a82064f1 (diff) |
Notes
-rw-r--r-- | x11-toolkits/wxgtk-devel/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/wxgtk-devel/files/patch-src_common_intl.cpp | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk-devel/Makefile b/x11-toolkits/wxgtk-devel/Makefile index 177c18999a64..2faeef556aae 100644 --- a/x11-toolkits/wxgtk-devel/Makefile +++ b/x11-toolkits/wxgtk-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= wxgtk PORTVERSION= 2.4.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/ diff --git a/x11-toolkits/wxgtk-devel/files/patch-src_common_intl.cpp b/x11-toolkits/wxgtk-devel/files/patch-src_common_intl.cpp new file mode 100644 index 000000000000..f8e465e4cbc3 --- /dev/null +++ b/x11-toolkits/wxgtk-devel/files/patch-src_common_intl.cpp @@ -0,0 +1,22 @@ +--- src/common/intl.cpp.orig Sat Oct 4 23:10:24 2003 ++++ src/common/intl.cpp Sun Oct 5 21:35:30 2003 +@@ -743,8 +742,18 @@ + } + if ( !retloc ) + { ++ wxString langFull; ++ if (wxGetEnv(wxT("LC_ALL"), &langFull)|| ++ wxGetEnv(wxT("LC_MESSAGES"), &langFull) || ++ wxGetEnv(wxT("LANG"), &langFull)) ++ { ++ retloc = wxSetlocale(LC_ALL, langFull); ++ } ++ } ++ if ( !retloc ) ++ { + wxLogError(wxT("Cannot set locale to '%s'."), locale.c_str()); +- return FALSE; ++ //return FALSE; + } + #elif defined(__WIN32__) + |