diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-02-14 07:44:02 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-02-14 07:44:02 +0000 |
commit | 8b3ffd5b62f18c81a37f1522ff22e9c766a4d6f5 (patch) | |
tree | e56d4be4accc2b2efad664c5cfd4d8ee59e1e1b0 /cad/meshlab/files/patch-common_pluginmanager.cpp | |
parent | - Fix pkg-plist for PORTDOCS (ffplay and ffserver) (diff) |
- New port: cad/meshlab
MeshLab is an open source, portable, and extensible system for the processing
and editing of unstructured 3D triangular meshes.
WWW: http://meshlab.sourceforge.net/
Diffstat (limited to 'cad/meshlab/files/patch-common_pluginmanager.cpp')
-rw-r--r-- | cad/meshlab/files/patch-common_pluginmanager.cpp | 14 |
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."); |