tags 754718 - help + patch thanks Hi,
On 22:04, Petter Reinholdtsen wrote: > I had a look in the source history, and the use of ESTRPIPE seem to > have been present for a long time. I have no idea why it is missing > on kFreeBSD. Anyone got a clue? ESTRPIPE ("Streams pipe error") refers to an optional POSIX extension called Streams and FreeBSD doesn't implement it. I'm surprised if even Linux ALSA uses it. Even if we defined it, we'd never return that value... Come to think of it, why build the lmms ALSA output module on kFreeBSD? W supports OSS, PulseAuio and JACK but our ALSA library is just a wrapper around OSS. Tested patch follows :) --- debian/rules.orig 2014-10-01 20:13:22.000000000 +0100 +++ debian/rules 2014-10-01 22:55:19.415683658 +0100 @@ -4,9 +4,15 @@ DH_CMAKE_BUILD_DIR=obj -${DEB_BUILD_GNU_TYPE} DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +CMAKE_OPTS= +ifneq ($(DEB_BUILD_ARCH_OS),linux) +CMAKE_OPTS+= -DWANT_ALSA=0 +endif %: dh $@ --buildsystem cmake override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) + dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) $(CMAKE_OPTS) Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org