slackbuilds_ponce/development/codeblocks/01-codeblocks_plugin_path.patch
Matteo Bernardini 34e8580ab9 development/codeblocks: Added a patch for gcc-4.7.x.
Fixed underlinking.
Moved plugins path to /usr/lib{,64}, noted in README

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-16 19:44:43 -04:00

19 lines
627 B
Diff

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