summaryrefslogtreecommitdiff
path: root/cad/meshlab/files/patch-common_pluginmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/meshlab/files/patch-common_pluginmanager.cpp')
-rw-r--r--cad/meshlab/files/patch-common_pluginmanager.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/cad/meshlab/files/patch-common_pluginmanager.cpp b/cad/meshlab/files/patch-common_pluginmanager.cpp
new file mode 100644
index 000000000000..e6be3aed5663
--- /dev/null
+++ b/cad/meshlab/files/patch-common_pluginmanager.cpp
@@ -0,0 +1,14 @@
+--- common/pluginmanager.cpp.orig 2011-02-07 14:11:51.000000000 +0100
++++ common/pluginmanager.cpp 2011-02-07 14:12:33.000000000 +0100
+@@ -98,7 +98,11 @@
+
+ QString PluginManager::getPluginDirPath()
+ {
++#ifdef __FreeBSD__
++ QDir pluginsDir("%%PREFIX%%/lib/meshlab/");
++#else
+ QDir pluginsDir(getBaseDirPath());
++#endif
+ if(!pluginsDir.exists("plugins"))
+ //QMessageBox::warning(0,"Meshlab Initialization","Serious error. Unable to find the plugins directory.");
+ qDebug("Meshlab Initialization: Serious error. Unable to find the plugins directory.");