summaryrefslogtreecommitdiff
path: root/audio/xmms-ladspa/skip_guitarix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-ladspa/skip_guitarix.diff')
-rw-r--r--audio/xmms-ladspa/skip_guitarix.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/xmms-ladspa/skip_guitarix.diff b/audio/xmms-ladspa/skip_guitarix.diff
new file mode 100644
index 0000000000..6264fab86d
--- /dev/null
+++ b/audio/xmms-ladspa/skip_guitarix.diff
@@ -0,0 +1,11 @@
+diff -Naur xmms_ladspa-1.1/ladspa.c xmms_ladspa-1.1.patched/ladspa.c
+--- xmms_ladspa-1.1/ladspa.c 2005-03-15 21:37:11.000000000 -0500
++++ xmms_ladspa-1.1.patched/ladspa.c 2017-03-15 00:28:15.262723243 -0400
+@@ -500,6 +500,7 @@
+ if (dir == NULL) return;
+
+ while ((dirent= readdir(dir))) {
++ if(strstr(dirent->d_name, "guitarix") != NULL) continue;
+ snprintf(lib_name, PATH_MAX, "%s/%s", path_entry, dirent->d_name);
+ library = dlopen(lib_name, RTLD_LAZY);
+ if (library == NULL) {