]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra-plugindir.patch
- started to work on plugin dir
[packages/cinelerra.git] / cinelerra-plugindir.patch
1 --- cinelerra/preferences.inc.orig      2012-09-22 13:38:33.839435794 +0100
2 +++ cinelerra/preferences.inc   2012-09-22 13:38:36.049436001 +0100
3 @@ -27,6 +27,12 @@
4  #define BACKUP_PATH BCASTDIR "backup.xml"
5  #define DEAMON_PORT 400
6  
7 +#if defined(__x86_64__) || defined(__arch64__) || defined(__powerpc64__) || defined(__s390x__)
8 +#define PLUGIN_DIR "/usr/lib64/cinelerra"
9 +#else
10 +#define PLUGIN_DIR "/usr/lib/cinelerra"
11 +#endif
12 +
13  class Preferences;
14  class PlaybackConfig;
15  class AudioOutConfig;
16 --- cinelerra/preferences.C.orig        2012-01-07 23:02:41.000000000 +0000
17 +++ cinelerra/preferences.C     2012-09-22 13:37:35.149430302 +0100
18 @@ -62,7 +62,7 @@
19  
20  
21  
22 -       get_exe_path(plugin_dir);
23 +       sprintf(plugin_dir, PLUGIN_DIR);
24  
25         sprintf(index_directory, BCASTDIR);
26         if(strlen(index_directory))
This page took 0.090073 seconds and 4 git commands to generate.