summaryrefslogtreecommitdiff
path: root/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch')
-rw-r--r--media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch b/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch
new file mode 100644
index 000000000000..9f6d7487817f
--- /dev/null
+++ b/media-gfx/meshlab/files/2016.12/0001-update-1.3.3-pluginmanager.patch.patch
@@ -0,0 +1,29 @@
+From 6310a419f2a0e0f11f59a60fee850a1b64c2f41e Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour <www.sobhan.mohammadpour@gmail.com>
+Date: Fri, 24 Nov 2017 17:47:43 +0330
+Subject: [PATCH] update 1.3.3/pluginmanager.patch
+
+---
+ common/pluginmanager.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/common/pluginmanager.cpp b/common/pluginmanager.cpp
+index 5354055..551e73f 100644
+--- a/common/pluginmanager.cpp
++++ b/common/pluginmanager.cpp
+@@ -189,8 +189,11 @@ QString PluginManager::osDependentFileBaseName(const QString &plname)
+
+ QString PluginManager::getBaseDirPath()
+ {
++ #if defined(Q_OS_LINUX)
++ QDir baseDir("/usr/lib/meshlab");
++ #else
+ QDir baseDir(qApp->applicationDirPath());
+-
++ #endif
+ #if defined(Q_OS_WIN)
+ // Windows:
+ // during development with visual studio binary could be in the debug/release subdir.
+--
+2.15.0
+