diff options
author | Felix Golatofski | 2020-02-09 21:01:14 +0100 |
---|---|---|
committer | Felix Golatofski | 2020-02-09 21:01:14 +0100 |
commit | e384c917e9d44bda0ff156bd9e64c4e894245cea (patch) | |
tree | eb83b7d25e80672327a2c05b8e73f999325b1b63 /plugin_dir.patch | |
parent | 06f080df4529be2cbac57d32d280094dd5e77bba (diff) | |
download | aur-cinelerra-heroine.tar.gz |
Updated to 7.2
Diffstat (limited to 'plugin_dir.patch')
-rw-r--r-- | plugin_dir.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugin_dir.patch b/plugin_dir.patch deleted file mode 100644 index 3157c91d2845..000000000000 --- a/plugin_dir.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -ur cinelerra-4.4.orig/cinelerra/mwindow.C cinelerra-4.4.new/cinelerra/mwindow.C ---- cinelerra-4.4.orig/cinelerra/mwindow.C 2012-09-09 15:56:45.003303505 -0700 -+++ cinelerra-4.4.new/cinelerra/mwindow.C 2012-09-09 18:15:33.360657582 -0700 -@@ -107,6 +107,7 @@ - #include "zoombar.h" - - #include <string.h> -+#include <sys/stat.h> - - - -@@ -376,7 +377,7 @@ - char index_path[BCTEXTLEN]; - FILE *index_fd = 0; - -- sprintf(index_path, "%s/%s", path, PLUGIN_FILE); -+ sprintf(index_path, "%s/%s", preferences->index_directory, PLUGIN_FILE); - //printf("MWindow::init_plugin_path %d %s plugindb=%p\n", __LINE__, index_path, plugindb); - - -@@ -401,8 +402,10 @@ - // Create plugin server from index entry - PluginServer *new_plugin = new PluginServer(path); - result = new_plugin->read_table(index_line); -+ struct stat buffer; -+ int exists = stat(new_plugin->path, &buffer); - //printf("%p new_plugin=%p %s", result2, new_plugin, index_line); -- if(!result) -+ if(!result && !exists) - { - plugindb->append(new_plugin); - } |