summaryrefslogtreecommitdiff
path: root/community/kicad/wxgtk3.0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/kicad/wxgtk3.0.patch')
-rw-r--r--community/kicad/wxgtk3.0.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/kicad/wxgtk3.0.patch b/community/kicad/wxgtk3.0.patch
new file mode 100644
index 000000000..532fd5da9
--- /dev/null
+++ b/community/kicad/wxgtk3.0.patch
@@ -0,0 +1,12 @@
+diff -rupN a/common/edaappl.cpp b/common/edaappl.cpp
+--- a/common/edaappl.cpp 2013-03-09 21:07:56.000000000 +0000
++++ b/common/edaappl.cpp 2014-01-07 07:49:38.984938912 +0000
+@@ -451,7 +451,7 @@ bool EDA_APP::SetBinDir()
+
+ // Linux and Unix
+ #elif defined(__UNIX__)
+- m_BinDir = wxStandardPaths().GetExecutablePath();
++ m_BinDir = wxStandardPaths::Get().GetExecutablePath();
+ #else
+ m_BinDir = argv[0];
+ #endif // __UNIX__