diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-25 05:21:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-03-25 05:21:17 +0000 |
commit | 1e467be38fbc17c8dbd3baf0e3fdb6460b3ac9de (patch) | |
tree | 8b48adf476b83cbd3398cdd55176ac0319494d7f /games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch | |
parent | Fixed xorg-x11 OpenGL switch over during upgrade. Bug #127489. (diff) | |
download | historical-1e467be38fbc17c8dbd3baf0e3fdb6460b3ac9de.tar.gz historical-1e467be38fbc17c8dbd3baf0e3fdb6460b3ac9de.tar.bz2 historical-1e467be38fbc17c8dbd3baf0e3fdb6460b3ac9de.zip |
version bump - patch from Karol Szumski via bug #120712 included
Package-Manager: portage-2.1_pre6-r6
Diffstat (limited to 'games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch')
-rw-r--r-- | games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch b/games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch new file mode 100644 index 000000000000..de0af21f2fc0 --- /dev/null +++ b/games-emulation/advancemenu/files/advancemenu-2.4.13-alsa-pkg-config.patch @@ -0,0 +1,44 @@ +Make sure we ask alsa what libraries it needs rather than assuming. + +http://bugs.gentoo.org/97628 + +Changes for configure.ac: + -------------------------------------- + [snd_pcm_open], + [ac_lib_alsa=yes], + [ac_lib_alsa=no], + - [-lm] + + [`pkg-config alsa --libs`] + ) + if test $ac_lib_alsa = yes; then + AC_MSG_CHECKING([for ALSA]) + -------------------------------------- + [snd_pcm_open], + [], + [AC_MSG_ERROR([the ALSA library is missing])], + - [-lm] + + [`pkg-config alsa --libs`] + ) + AC_MSG_CHECKING([for ALSA version]) + AC_TRY_COMPILE([ + +--- configure ++++ configure +@@ -8298,7 +8298,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lasound -lm ++LIBS="-lasound `pkg-config alsa --libs` + $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ +@@ -8428,7 +8428,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lasound -lm ++LIBS="-lasound `pkg-config alsa --libs` + $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ |