]> git.pld-linux.org Git - packages/kicad.git/blame - 3d_plugindir.patch
- release 2 (by relup.sh)
[packages/kicad.git] / 3d_plugindir.patch
CommitLineData
26c94a74
BS
1--- kicad-5.0.0/3d-viewer/3d_plugin_dir.h.in.orig 2018-08-15 21:40:42.199391486 +0200
2+++ kicad-5.0.0/3d-viewer/3d_plugin_dir.h.in 2018-08-15 21:40:57.405953832 +0200
3@@ -1 +1 @@
4-#define PLUGINDIR "@CMAKE_INSTALL_LIBDIR@"
5+#define PLUGINDIR "@CMAKE_INSTALL_FULL_LIBDIR@"
6--- kicad-5.0.0/3d-viewer/3d_cache/3d_plugin_manager.cpp.orig 2018-07-13 21:53:52.000000000 +0200
7+++ kicad-5.0.0/3d-viewer/3d_cache/3d_plugin_manager.cpp 2018-08-15 21:44:37.981095083 +0200
8@@ -149,15 +149,7 @@
9 #endif
10
11 #ifndef _WIN32
12- // multiarch friendly determination of the plugin directory: the executable dir
13- // is first determined via wxStandardPaths::Get().GetExecutablePath() and then
14- // the CMAKE_INSTALL_LIBDIR path is appended relative to the executable dir.
15-
16- fn.Assign( wxStandardPaths::Get().GetExecutablePath() );
17- fn.RemoveLastDir();
18- wxString tfname = fn.GetPathWithSep();
19- tfname.Append( wxString::FromUTF8Unchecked( PLUGINDIR ) );
20- fn.Assign( tfname, "");
21+ fn.Assign( wxString::FromUTF8Unchecked( PLUGINDIR ), "");
22 fn.AppendDir( "kicad" );
23 #else
24 // on windows the plugins directory is within the executable's directory
This page took 0.125378 seconds and 4 git commands to generate.