aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-ladspa/skip_guitarix.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-15 15:45:47 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:36 +0700
commit0c50fe31054ea9bef3ffe6881c61f55ffb022e29 (patch)
treedd6fe9882cf3398d475cefab12ce257ab6062fa2 /audio/xmms-ladspa/skip_guitarix.diff
parent85ef10e91e6e004b2ccbda15a40a3a9a34062fb1 (diff)
audio/xmms-ladspa: Added (LADSPA plugin support for XMMS).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 0000000000000..6264fab86d6eb
--- /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) {