SOURCES: cinelerra-plugindir.patch (NEW) - revert plugindir braindamage

qboosh qboosh at pld-linux.org
Fri Aug 29 16:34:53 CEST 2008


Author: qboosh                       Date: Fri Aug 29 14:34:53 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- revert plugindir braindamage

---- Files affected:
SOURCES:
   cinelerra-plugindir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cinelerra-plugindir.patch
diff -u /dev/null SOURCES/cinelerra-plugindir.patch:1.1
--- /dev/null	Fri Aug 29 16:34:54 2008
+++ SOURCES/cinelerra-plugindir.patch	Fri Aug 29 16:34:48 2008
@@ -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))
================================================================


More information about the pld-cvs-commit mailing list