Source: snd Version: 11.7-4 Severity: important Tags: patch Usertags: hurd User: debian-h...@lists.debian.org
Hello, Currently snd FTBFS on GNU/Hurd. This is partly due to a missing condition for the GNU system in configure.ac: *-*-hurd*) should read *-*-gnu*). Additionally the JACK audio system case does also need to be treated. Attached is an updated 06-hurd.diff file enabling a successful build. Thanks!
--- configure.ac | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Index: snd-11.7/configure.ac =================================================================== --- snd-11.7.orig/configure.ac +++ snd-11.7/configure.ac @@ -1684,6 +1684,36 @@ case "$host" in ;; esac ;; + *-*-gnu*) + LDSO_FLAGS="-shared" + LIBS="$LIBS -lm" + if test "$ac_cv_header_dlfcn_h" = yes ; then + LDFLAGS="$LDFLAGS -ldl" + fi + if test "$GCC" = yes ; then + SO_FLAGS="-fPIC $SO_FLAGS" + fi + + AUDIO_SYSTEM=OSS + + if test "$with_jack" = yes ; then + if test "$with_oss" != yes ; then + AUDIO_SYSTEM=JACK + fi + fi + + case $AUDIO_SYSTEM in + JACK) + AC_DEFINE(HAVE_JACK_IN_LINUX) + AC_DEFINE(HAVE_OSS) + AUDIO_LIB="-lsamplerate" + ;; + OSS) + AC_DEFINE(HAVE_OSS) + AUDIO_SYSTEM=OSS + ;; + esac + ;; *-*-sunos4*) AC_DEFINE(MUS_SUN) LIBS="$LIBS -lm"