[SCM] alsaequal/master: Add 06_fix-caps-error.patch to fix a spurious error with newer caps versions
ghedo at users.alioth.debian.org
ghedo at users.alioth.debian.org
Fri Aug 30 17:25:45 UTC 2013
The following commit has been merged in the master branch:
commit b369dbd20f3d71ba037739a828c8efe069eefdba
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date: Fri Aug 30 19:03:01 2013 +0200
Add 06_fix-caps-error.patch to fix a spurious error with newer caps versions
diff --git a/debian/patches/06_fix-caps-error.patch b/debian/patches/06_fix-caps-error.patch
new file mode 100644
index 0000000..85e205f
--- /dev/null
+++ b/debian/patches/06_fix-caps-error.patch
@@ -0,0 +1,20 @@
+Description: Fix a spurious error with newer caps versions
+Origin: vendor, https://aur.archlinux.org/packages/alsaequal/?comments=all
+Forwarded: no
+Author: Alessandro Ghedini <ghedo at debian.org>
+Last-Update: 2013-08-30
+Applied-Upstream: *** FIXME ***
+
+--- a/ctl_equal.c
++++ b/ctl_equal.c
+@@ -263,8 +263,8 @@
+ for(i = 0; i < equal->num_input_controls; i++) {
+ if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) {
+ index = equal->control_data->control[i].index;
+- if(equal->klass->PortDescriptors[index] !=
+- (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) {
++ if((equal->klass->PortDescriptors[index] &
++ (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) == 0) {
+ SNDERR("Problem with control file %s, %d.", controls, index);
+ return -1;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index adea98d..57a7e06 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
03_multiarch-dirs.patch
04_dpkg-buildflags.patch
05_fix-eq-name.patch
+06_fix-caps-error.patch
--
alsaequal packaging
More information about the pkg-multimedia-commits
mailing list