Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils/files: alsa-utils-1.0.17-seq.patch
Date: Sat, 02 Aug 2008 21:00:36
Message-Id: E1KPODJ-0004Bp-C6@stork.gentoo.org
1 betelgeuse 08/08/02 21:00:33
2
3 Added: alsa-utils-1.0.17-seq.patch
4 Log:
5 Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
6 (Portage version: 2.2_rc4/cvs/Linux 2.6.26-gentoo i686)
7
8 Revision Changes Path
9 1.1 media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.17-seq.patch?rev=1.1&content-type=text/plain
13
14 Index: alsa-utils-1.0.17-seq.patch
15 ===================================================================
16 diff -ur alsa-utils-1.0.17.orig/configure.in alsa-utils-1.0.17/configure.in
17 --- alsa-utils-1.0.17.orig/configure.in 2008-07-30 21:44:32.000000000 -0400
18 +++ alsa-utils-1.0.17/configure.in 2008-07-30 21:45:45.000000000 -0400
19 @@ -102,6 +102,18 @@
20 TESTSOUND="$dir/test.wav")
21 AC_SUBST(TESTSOUND)
22
23 +AC_ARG_ENABLE([sequencer],
24 + [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] )
25 +
26 +if test "x$enable_sequencer" != "xno"; then
27 + AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no])
28 +fi
29 +if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then
30 + AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support])
31 +fi
32 +
33 +AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"])
34 +
35 AM_CONFIG_HEADER(include/aconfig.h)
36
37 dnl Checks for typedefs, structures, and compiler characteristics.
38 Only in alsa-utils-1.0.17: configure.in.orig
39 diff -ur alsa-utils-1.0.17.orig/Makefile.am alsa-utils-1.0.17/Makefile.am
40 --- alsa-utils-1.0.17.orig/Makefile.am 2008-07-30 21:44:32.000000000 -0400
41 +++ alsa-utils-1.0.17/Makefile.am 2008-07-30 21:47:04.000000000 -0400
42 @@ -4,7 +4,12 @@
43 else
44 ALSAMIXER_DIR=
45 endif
46 -SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po
47 +
48 +if BUILD_SEQ
49 +SEQ_DIR=seq
50 +endif
51 +
52 +SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po
53 EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure gitcompile depcomp
54 AUTOMAKE_OPTIONS=foreign
55 ACLOCAL_AMFLAGS = -I m4