]>
Commit | Line | Data |
---|---|---|
70526a6a JB |
1 | --- cinelerra-4/cinelerra/mwindow.inc.orig 2008-08-07 05:33:08.000000000 +0200 |
2 | +++ cinelerra-4/cinelerra/mwindow.inc 2008-08-29 07:04:50.966113358 +0200 | |
3 | @@ -28,11 +28,11 @@ | |
4 | #define CONFIG_FILE "Cinelerra_rc" | |
5 | #define PRESETS_FILE "Cinelerra_presets" | |
6 | ||
7 | -// #ifdef __x86_64__ | |
8 | -// #define PLUGIN_DIR "/usr/lib64/cinelerra" | |
9 | -// #else | |
10 | -// #define PLUGIN_DIR "/usr/lib/cinelerra" | |
11 | -// #endif | |
12 | +#if defined(__x86_64__) || defined(__arch64__) || defined(__powerpc64__) || defined(__s390x__) | |
13 | +#define PLUGIN_DIR "/usr/lib64/cinelerra" | |
14 | +#else | |
15 | +#define PLUGIN_DIR "/usr/lib/cinelerra" | |
16 | +#endif | |
17 | ||
18 | // What to call silence in the EDL | |
19 | #define SILENCE "SILENCE" | |
20 | --- cinelerra-4/cinelerra/preferences.C.orig 2008-08-07 05:33:08.000000000 +0200 | |
21 | +++ cinelerra-4/cinelerra/preferences.C 2008-08-29 07:08:45.698118386 +0200 | |
22 | @@ -61,7 +61,7 @@ Preferences::Preferences() | |
23 | ||
24 | ||
25 | ||
26 | - get_exe_path(plugin_dir); | |
27 | + sprintf(plugin_dir, PLUGIN_DIR); | |
28 | ||
29 | sprintf(index_directory, BCASTDIR); | |
30 | if(strlen(index_directory)) |