Source: libsamplerate Version: 0.1.8-8 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libsamplerate fails to cross build from source, because it runs tests during build despite being passed DEB_BUILD_OPTIONS=nocheck. The attached patch adds support for DEB_BUILD_OPTIONS=nocheck and makes cross builds succeed. Please consider applying it. Helmut
diff --minimal -Nru libsamplerate-0.1.8/debian/changelog libsamplerate-0.1.8/debian/changelog --- libsamplerate-0.1.8/debian/changelog 2014-07-04 04:55:38.000000000 +0200 +++ libsamplerate-0.1.8/debian/changelog 2016-08-30 08:57:12.000000000 +0200 @@ -1,3 +1,10 @@ +libsamplerate (0.1.8-8.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Support DEB_BUILD_OPTIONS=nocheck (Closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Tue, 30 Aug 2016 08:56:45 +0200 + libsamplerate (0.1.8-8) unstable; urgency=low * debian/rules: Regenerate configure if needed. Patch from Svante Signell. diff --minimal -Nru libsamplerate-0.1.8/debian/rules libsamplerate-0.1.8/debian/rules --- libsamplerate-0.1.8/debian/rules 2014-07-04 04:55:38.000000000 +0200 +++ libsamplerate-0.1.8/debian/rules 2016-08-30 08:56:43.000000000 +0200 @@ -32,7 +32,9 @@ dh_testdir $(MAKE) +ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) $(MAKE) check +endif touch build-stamp