summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-06 12:01:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-06 12:02:16 +0200
commit8a43db4fbe9a6e76a94bb306e59dc5f372df1d64 (patch)
treedbfa9d93a036b4bd358e0257e5a3ff5f68f5ee01 /x11-libs/wxGTK
parentprofiles: plasma: Fix package.use comment (diff)
downloadgentoo-8a43db4fbe9a6e76a94bb306e59dc5f372df1d64.tar.gz
gentoo-8a43db4fbe9a6e76a94bb306e59dc5f372df1d64.tar.bz2
gentoo-8a43db4fbe9a6e76a94bb306e59dc5f372df1d64.zip
x11-libs/wxGTK: Re-add wxGTK-3.0-gtk3-translation-domain.patch
Closes: https://bugs.gentoo.org/940929 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-libs/wxGTK')
-rw-r--r--x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch13
1 files changed, 13 insertions, 0 deletions
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