diff -Nru alsa-lib-1.0.27.2/debian/changelog alsa-lib-1.0.27.2/debian/changelog --- alsa-lib-1.0.27.2/debian/changelog 2014-02-25 12:09:47.000000000 +0000 +++ alsa-lib-1.0.27.2/debian/changelog 2014-02-25 16:52:38.000000000 +0000 @@ -1,3 +1,11 @@ +alsa-lib (1.0.27.2-3ubuntu4) trusty; urgency=medium + + * debian/tests/build_seq: Drop check of snd_seq_open() return value; it's + not relevant for a compile/link test, and it fails in containers and other + environments which don't actually have /dev/snd/. + + -- Martin Pitt Tue, 25 Feb 2014 17:52:27 +0100 + alsa-lib (1.0.27.2-3ubuntu3) trusty; urgency=medium * debian/patches/0005-Add-UCM-config-files-for-Nexus-5.patch: diff -Nru alsa-lib-1.0.27.2/debian/tests/build_seq alsa-lib-1.0.27.2/debian/tests/build_seq --- alsa-lib-1.0.27.2/debian/tests/build_seq 2014-02-07 07:34:20.000000000 +0000 +++ alsa-lib-1.0.27.2/debian/tests/build_seq 2014-02-25 16:52:25.000000000 +0000 @@ -14,10 +14,7 @@ { //Simple test that opens MIDI seq. That will work regardless of hardware factors. snd_seq_t *seq_handle; - if (snd_seq_open(&seq_handle, "default", SND_SEQ_OPEN_INPUT, 0) < 0){ - //unable to open it? - return 1; - } + snd_seq_open(&seq_handle, "default", SND_SEQ_OPEN_INPUT, 0); return 0; } EOF