diff options
author | Christian Heim <phreak@gentoo.org> | 2007-09-17 17:06:32 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-09-17 17:06:32 +0000 |
commit | 4aa374753068b883bde0c7d2dbb76887bef872cf (patch) | |
tree | 30400ea5ef7353ecf0ebc352d38a7ef5741baf77 /media-sound/alsa-utils/files | |
parent | New release candidate for alsa-utils. (diff) | |
download | gentoo-2-4aa374753068b883bde0c7d2dbb76887bef872cf.tar.gz gentoo-2-4aa374753068b883bde0c7d2dbb76887bef872cf.tar.bz2 gentoo-2-4aa374753068b883bde0c7d2dbb76887bef872cf.zip |
alsa-utils-1.0.15_rc1 needs some more "convincing".
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-sound/alsa-utils/files')
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch new file mode 100644 index 000000000000..172be7c15729 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch @@ -0,0 +1,39 @@ +diff -Nrup alsa-utils-1.0.15rc1.orig/Makefile.am alsa-utils-1.0.15rc1/Makefile.am +--- alsa-utils-1.0.15rc1.orig/Makefile.am 2007-08-30 10:30:27.000000000 +0200 ++++ alsa-utils-1.0.15rc1/Makefile.am 2007-09-17 19:03:12.000000000 +0200 +@@ -4,7 +4,12 @@ ALSAMIXER_DIR=alsamixer + else + ALSAMIXER_DIR= + endif +-SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po ++ ++if BUILD_SEQ ++SEQ_DIR=seq ++endif ++ ++SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po + EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure hgcompile depcomp + AUTOMAKE_OPTIONS=foreign + ACLOCAL_AMFLAGS = -I m4 +diff -Nrup alsa-utils-1.0.15rc1.orig/configure.in alsa-utils-1.0.15rc1/configure.in +--- alsa-utils-1.0.15rc1.orig/configure.in 2007-08-30 10:30:29.000000000 +0200 ++++ alsa-utils-1.0.15rc1/configure.in 2007-09-17 19:02:27.000000000 +0200 +@@ -82,6 +82,18 @@ AC_ARG_WITH(testsound, + TESTSOUND="$dir/test.wav") + AC_SUBST(TESTSOUND) + ++AC_ARG_ENABLE([sequencer], ++ [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] ) ++ ++if test "x$enable_sequencer" != "xno"; then ++ AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no]) ++fi ++if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then ++ AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support]) ++fi ++ ++AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"]) ++ + AM_CONFIG_HEADER(include/aconfig.h) + + dnl Checks for typedefs, structures, and compiler characteristics. |