summaryrefslogtreecommitdiff
path: root/development/codeblocks/01-codeblocks_plugin_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/codeblocks/01-codeblocks_plugin_path.patch')
-rw-r--r--development/codeblocks/01-codeblocks_plugin_path.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/development/codeblocks/01-codeblocks_plugin_path.patch b/development/codeblocks/01-codeblocks_plugin_path.patch
new file mode 100644
index 0000000000..a5e5c0fc3d
--- /dev/null
+++ b/development/codeblocks/01-codeblocks_plugin_path.patch
@@ -0,0 +1,19 @@
+From: Michael Casadevall <sonicmctails@gmail.com>
+Subject: hardcode the proper plugins folder to /usr/lib/codeblocks/plugins
+Forwarded: no
+
+---
+ src/sdk/configmanager.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- codeblocks.orig/src/sdk/configmanager.cpp
++++ codeblocks/src/sdk/configmanager.cpp
+@@ -514,7 +514,7 @@ wxString ConfigManager::GetFolder(Search
+
+ case sdPluginsGlobal:
+ #ifndef CB_AUTOCONF
+- return ConfigManager::data_path_global + _T("/plugins");
++ return _T("/usr/lib/codeblocks/plugins");
+ #else
+ return ConfigManager::plugin_path_global;
+ #endif