[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947576: adplay FTCBFS: misdetects ao support



Source: adplay
Version: 1.8-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

adplay fails to cross build from source, because its configure script
misdetects availability of libao-dev. It's not included in
Build-Depends, yet assumed ok during cross building. An easy solution is
to just --disable-output-ao explicitly. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru adplay-1.8/debian/changelog adplay-1.8/debian/changelog
--- adplay-1.8/debian/changelog	2019-10-17 16:23:04.000000000 +0200
+++ adplay-1.8/debian/changelog	2019-12-28 09:13:30.000000000 +0100
@@ -1,3 +1,9 @@
+adplay (1.8-2) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Explicitly disable ao output. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 28 Dec 2019 09:13:30 +0100
+
 adplay (1.8-1) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru adplay-1.8/debian/rules adplay-1.8/debian/rules
--- adplay-1.8/debian/rules	2019-10-17 16:16:08.000000000 +0200
+++ adplay-1.8/debian/rules	2019-12-28 09:13:29.000000000 +0100
@@ -6,6 +6,9 @@
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- --disable-output-ao
+
 # src/getopt.h conflicts with the one in glibc >= 2.26
 override_dh_clean:
 	dh_clean src/getopt.h

Reply to: