[SCM] audacity/master: Remove -Wstrict-prototypes build flag from libnyquist.

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Sat May 31 20:15:33 UTC 2014


The following commit has been merged in the master branch:
commit a7fdfd616e54bbfd9a0e6e8788b89ef8bd23c710
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat May 31 21:25:18 2014 +0200

    Remove -Wstrict-prototypes build flag from libnyquist.

diff --git a/debian/patches/remove-strict-prototype-warnings.patch b/debian/patches/remove-strict-prototype-warnings.patch
new file mode 100644
index 0000000..d5e3847
--- /dev/null
+++ b/debian/patches/remove-strict-prototype-warnings.patch
@@ -0,0 +1,18 @@
+Description: Remove -Wstrict-prototypes build flag from libnyquist.
+ The build flag -Wstrict-prototypes produces many warnings and we do not want to
+ modify the upstream nyquist code to just remove compiler warnings.
+Author: Benjamin Drung <bdrung at debian.org>
+Origin: upstream, r13159
+
+--- a/lib-src/libnyquist/configure.ac
++++ b/lib-src/libnyquist/configure.ac
+@@ -86,9 +86,6 @@
+ dnl should add to the compiler we are using.
+ dnl --------------------------------------------------------------------------
+ 
+-dnl Strict prototypes flags for C (only C because doesn't work for C++)
+-AX_CFLAGS_STRICT_PROTOTYPES(CFLAGS)
+-
+ dnl Sensible warnings for C
+ AX_CFLAGS_WARN_ALL(wall_flags)
+ CFLAGS="${CFLAGS} $wall_flags"
diff --git a/debian/patches/series b/debian/patches/series
index cd2c4ca..ccbbc06 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 distclean.patch
 path-max.patch
 ffmpeg.patch
+remove-strict-prototype-warnings.patch
diff --git a/debian/rules b/debian/rules
index f49830a..f47d79d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,7 @@ configure_flags := \
 	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
+	cd lib-src/libnyquist && autoreconf -i
 	dh_auto_configure -- $(configure_flags)
 
 override_dh_auto_install:

-- 
Audacity debian packaging



More information about the pkg-multimedia-commits mailing list