[SCM] pd-iemmatrix/master: Fixing FTBFS with clang (Closes: #741688) - thanks to Nicolas Sévelin-Radiguet

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Mar 17 09:05:31 UTC 2014


The following commit has been merged in the master branch:
commit d291fab448f618365e0b8294e0306dea7bf53b4c
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Mon Mar 17 10:05:21 2014 +0100

    Fixing FTBFS with clang (Closes: #741688) - thanks to Nicolas Sévelin-Radiguet
    
    some functions were missing (void) return types...
    the fix applied has been taken from upstream, rather than Nicolas' original patch which
    returns a value (int) instead...

diff --git a/debian/patches/clang_FTBFS_Wreturn-type.patch b/debian/patches/clang_FTBFS_Wreturn-type.patch
new file mode 100644
index 0000000..1230e03
--- /dev/null
+++ b/debian/patches/clang_FTBFS_Wreturn-type.patch
@@ -0,0 +1,24 @@
+Description: fix FTBFS with clang instead of gcc
+Author: IOhannes m zmölnig
+Oritin: http://sourceforge.net/p/pure-data/svn/16023/
+Last-Update: 2014-03-17
+--- pd-iemmatrix.orig/src/mtx_dispersive_dline.c
++++ pd-iemmatrix/src/mtx_dispersive_dline.c
+@@ -141,7 +141,7 @@
+    }
+ }
+ 
+-static allpass_chain_cycle (t_float x, t_float *y, t_float *z, int n, t_float a) {
++static void allpass_chain_cycle (t_float x, t_float *y, t_float *z, int n, t_float a) {
+ 	t_float w, in;
+         int c;
+ 	in = y[0] = x;
+@@ -153,7 +153,7 @@
+ 	}
+ }
+ 
+-static mtx_dispersive_dline_matrix(t_mtx_dispersive_dline *x, t_symbol *s,
++static void mtx_dispersive_dline_matrix(t_mtx_dispersive_dline *x, t_symbol *s,
+       int argc, t_atom *argv)
+ {
+   int channels=(int)atom_getfloat(argv);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4c3abe8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+clang_FTBFS_Wreturn-type.patch

-- 
pd-iemmatrix packaging



More information about the pkg-multimedia-commits mailing list