aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-11 07:24:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-11 07:24:08 +0000
commitedb52418c95eb8157f055ee4da2821fb18662b1d (patch)
treeb54f7afd3fb945181127b33c66ae84a205249a22 /x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
parent40fee58c1fce2f51644dcfa4c1ca89aaf5e9f365 (diff)
downloadports-edb52418c95eb8157f055ee4da2821fb18662b1d.tar.gz
ports-edb52418c95eb8157f055ee4da2821fb18662b1d.zip
New port: x11-toolkits/wxgtk31: GUI toolkit (wxWidgets) with GTK+ bindings
Repo-copy of x11-toolkits/wxgtk30.
Notes
Notes: svn path=/head/; revision=472169
Diffstat (limited to 'x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp')
-rw-r--r--x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp b/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
new file mode 100644
index 000000000000..5002755f8545
--- /dev/null
+++ b/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
@@ -0,0 +1,11 @@
+--- src/common/translation.cpp.orig 2011-02-18 15:12:53.000000000 +0600
++++ src/common/translation.cpp 2011-02-18 15:15:10.000000000 +0600
+@@ -1302,7 +1302,7 @@
+
+ bool wxTranslations::AddStdCatalog()
+ {
+- if ( !AddCatalog(wxS("wxstd")) )
++ if ( !AddCatalog(wxS("wxstd") wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION)) )
+ return false;
+
+ // there may be a catalog with toolkit specific overrides, it is not