[SCM] snd packaging branch, master, updated. debian/11.2-1-9-gbf87def

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Thu Jan 28 09:19:01 UTC 2010


The following commit has been merged in the master branch:
commit bf87def25e4af02ef4512b73ae8f110e4298f2d9
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Thu Jan 28 10:18:53 2010 +0100

    Extend configure.ac to fix FTBFS on kfreebsd.

diff --git a/debian/patches/05-kfreebsd.diff b/debian/patches/05-kfreebsd.diff
new file mode 100644
index 0000000..6f70755
--- /dev/null
+++ b/debian/patches/05-kfreebsd.diff
@@ -0,0 +1,39 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1684,6 +1684,36 @@
+ 		;;
+ 	esac
+ 	;;
++    *-*-kfreebsd*)
++        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"

-- 
snd packaging



More information about the pkg-multimedia-commits mailing list