Package: bs1770gain Version: 0.4.8-2 Severity: important Tags: patch User: [email protected] Usertags: ffmpeg2.9
Dear Maintainer, your package fails to build with the upcoming version of ffmpeg, which is planned to be released this month (and will be called 2.9 or 3.0). This bug will become release-critical at some point when this ffmpeg transition gets closer. Attached is a patch removing the use of -Werror, which is a good practice for development builds, but just causes unnecessary build failures for release builds. For the change in configure.ac to take effect, autoreconf is enabled, as well. Please apply this patch soon. Best regards, Andreas
diff --git a/debian/patches/no-Werror.patch b/debian/patches/no-Werror.patch new file mode 100644 index 0000000..c814e4b --- /dev/null +++ b/debian/patches/no-Werror.patch @@ -0,0 +1,45 @@ +Description: remove Werror + It is harmful in distributions as it causes unnecessary build failures. + +Author: Andreas Cadhalpun <[email protected]> +Last-Update: <2015-01-09> + +--- bs1770gain-0.4.8.orig/bs1770gain/Makefile.am ++++ bs1770gain-0.4.8/bs1770gain/Makefile.am +@@ -1,4 +1,3 @@ +-CFLAGS+=-Werror + CFLAGS+=-Wall + CFLAGS+=-Wformat + CFLAGS+=-Wpointer-arith +--- bs1770gain-0.4.8.orig/configure.ac ++++ bs1770gain-0.4.8/configure.ac +@@ -27,7 +27,7 @@ + # AC_CHECK_LIB (library, function, [action-if-found], [action-if-not-found], [other-libraries]) + + AC_INIT([bs1770gain], [0.4.8], [[email protected]], [], [http://bs1770gain.sourceforge.net/]) +-AM_INIT_AUTOMAKE([-Wall -Werror foreign]) ++AM_INIT_AUTOMAKE([-Wall foreign]) + AC_PROG_CC + AC_PROG_RANLIB + +--- bs1770gain-0.4.8.orig/lib1770-2/Makefile.am ++++ bs1770gain-0.4.8/lib1770-2/Makefile.am +@@ -1,4 +1,3 @@ +-CFLAGS+=-Werror + CFLAGS+=-Wall + CFLAGS+=-Wformat + CFLAGS+=-Wpointer-arith +--- bs1770gain-0.4.8.orig/libffsox-2/Makefile.am ++++ bs1770gain-0.4.8/libffsox-2/Makefile.am +@@ -1,4 +1,3 @@ +-CFLAGS+=-Werror + CFLAGS+=-Wall + CFLAGS+=-Wformat + CFLAGS+=-Wpointer-arith +--- bs1770gain-0.4.8.orig/libpbutil/Makefile.am ++++ bs1770gain-0.4.8/libpbutil/Makefile.am +@@ -1,4 +1,3 @@ +-CFLAGS+=-Werror + CFLAGS+=-Wall + CFLAGS+=-Wformat + CFLAGS+=-Wpointer-arith diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..cb2e199 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +no-Werror.patch diff --git a/debian/rules b/debian/rules index 3c2a477..73cc9e8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with=autoreconf override_dh_strip: dh_strip --dbg-package=bs1770gain-dbg

