commit:     8a43db4fbe9a6e76a94bb306e59dc5f372df1d64
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  6 10:01:27 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 10:02:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a43db4f

x11-libs/wxGTK: Re-add wxGTK-3.0-gtk3-translation-domain.patch

Closes: https://bugs.gentoo.org/940929
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch     | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch 
b/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch
new file mode 100644
index 000000000000..3b449baedb47
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch
@@ -0,0 +1,13 @@
+Modify AddStdCatalog to use the versioned wxstd30-gtk3.mo.
+
+--- a/src/common/translation.cpp
++++ b/src/common/translation.cpp
+@@ -1458,7 +1458,7 @@ wxArrayString 
wxTranslations::GetAvailableTranslations(const wxString& domain) c
+ 
+ bool wxTranslations::AddStdCatalog()
+ {
+-    if ( !AddCatalog(wxS("wxstd")) )
++    if ( !AddCatalog(wxS("wxstd30-gtk3")) )
+         return false;
+ 
+     // there may be a catalog with toolkit specific overrides, it is not

Reply via email to