diff -Nru xcfa-5.0.1/debian/changelog xcfa-5.0.1/debian/changelog --- xcfa-5.0.1/debian/changelog 2015-04-26 20:54:38.000000000 +0000 +++ xcfa-5.0.1/debian/changelog 2015-05-10 20:42:00.000000000 +0000 @@ -1,3 +1,11 @@ +xcfa (5.0.1-1ubuntu1) wily; urgency=medium + + * debian/patches/link-libm.patch: Link xcfa_cli against -lm to fix FTBFS with + ld --as-needed. + * debian/{control,rules}: Use dh-autoreconf to apply the above change. + + -- Logan Rosen Sun, 10 May 2015 21:29:28 +0100 + xcfa (5.0.1-1) unstable; urgency=medium * New upstream release. diff -Nru xcfa-5.0.1/debian/control xcfa-5.0.1/debian/control --- xcfa-5.0.1/debian/control 2015-04-26 20:57:24.000000000 +0000 +++ xcfa-5.0.1/debian/control 2015-05-10 20:30:53.000000000 +0000 @@ -1,12 +1,13 @@ Source: xcfa Section: sound Priority: optional -Maintainer: Debian Multimedia Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Multimedia Maintainers Uploaders: Alessio Treglia Build-Depends: - autotools-dev (>= 20100122.1~), debhelper (>= 9~), + dh-autoreconf, libasound2-dev, libcurl4-gnutls-dev, libgtk-3-dev, diff -Nru xcfa-5.0.1/debian/patches/link-libm.patch xcfa-5.0.1/debian/patches/link-libm.patch --- xcfa-5.0.1/debian/patches/link-libm.patch 1970-01-01 00:00:00.000000000 +0000 +++ xcfa-5.0.1/debian/patches/link-libm.patch 2015-05-10 20:32:22.000000000 +0000 @@ -0,0 +1,11 @@ +--- a/src_cli/Makefile.am ++++ b/src_cli/Makefile.am +@@ -32,6 +32,8 @@ + wav.c \ + global.h + ++xcfa_cli_LDADD=-lm ++ + datadir = @datadir@ + localedir = $(datadir)/locale + DEFS = -DLOCALEDIR="$(localedir)" @DEFS@ diff -Nru xcfa-5.0.1/debian/patches/series xcfa-5.0.1/debian/patches/series --- xcfa-5.0.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ xcfa-5.0.1/debian/patches/series 2015-05-10 20:41:14.000000000 +0000 @@ -0,0 +1 @@ +link-libm.patch diff -Nru xcfa-5.0.1/debian/rules xcfa-5.0.1/debian/rules --- xcfa-5.0.1/debian/rules 2015-04-26 20:47:25.000000000 +0000 +++ xcfa-5.0.1/debian/rules 2015-05-10 20:30:41.000000000 +0000 @@ -3,7 +3,7 @@ export LDFLAGS+=-Wl,--as-needed %: - dh $@ --parallel --with autotools_dev + dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- --enable-debug