]> git.pld-linux.org Git - packages/cinelerra.git/commitdiff
- revert plugindir braindamage
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Aug 2008 14:34:48 +0000 (14:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cinelerra-plugindir.patch -> 1.1

cinelerra-plugindir.patch [new file with mode: 0644]

diff --git a/cinelerra-plugindir.patch b/cinelerra-plugindir.patch
new file mode 100644 (file)
index 0000000..bd25435
--- /dev/null
@@ -0,0 +1,30 @@
+--- cinelerra-4/cinelerra/mwindow.inc.orig     2008-08-07 05:33:08.000000000 +0200
++++ cinelerra-4/cinelerra/mwindow.inc  2008-08-29 07:04:50.966113358 +0200
+@@ -28,11 +28,11 @@
+ #define CONFIG_FILE "Cinelerra_rc"
+ #define PRESETS_FILE "Cinelerra_presets"
+-// #ifdef __x86_64__
+-// #define PLUGIN_DIR "/usr/lib64/cinelerra"
+-// #else
+-// #define PLUGIN_DIR "/usr/lib/cinelerra"
+-// #endif
++#if defined(__x86_64__) || defined(__arch64__) || defined(__powerpc64__) || defined(__s390x__)
++#define PLUGIN_DIR "/usr/lib64/cinelerra"
++#else
++#define PLUGIN_DIR "/usr/lib/cinelerra"
++#endif
+ // What to call silence in the EDL
+ #define SILENCE "SILENCE"
+--- cinelerra-4/cinelerra/preferences.C.orig   2008-08-07 05:33:08.000000000 +0200
++++ cinelerra-4/cinelerra/preferences.C        2008-08-29 07:08:45.698118386 +0200
+@@ -61,7 +61,7 @@ Preferences::Preferences()
+-      get_exe_path(plugin_dir);
++      sprintf(plugin_dir, PLUGIN_DIR);
+       sprintf(index_directory, BCASTDIR);
+       if(strlen(index_directory))
This page took 0.037902 seconds and 4 git commands to generate.