1 |
voyageur 09/06/30 09:43:15 |
2 |
|
3 |
Added: rdesktop-1.6.0-sound_configure.patch |
4 |
Log: |
5 |
Fix automagic dependency on libsamplerate, bug #275851. Also clean ebuild a bit |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rdesktop/files/rdesktop-1.6.0-sound_configure.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: rdesktop-1.6.0-sound_configure.patch |
15 |
=================================================================== |
16 |
--- configure.ac.orig 2009-06-30 10:35:14.000000000 +0200 |
17 |
+++ configure.ac 2009-06-30 11:35:10.000000000 +0200 |
18 |
@@ -228,7 +228,11 @@ |
19 |
if test -n "$PKG_CONFIG"; then |
20 |
PKG_CHECK_MODULES(LIBAO, ao, [HAVE_LIBAO=1], [HAVE_LIBAO=0]) |
21 |
PKG_CHECK_MODULES(ALSA, alsa, [HAVE_ALSA=1], [HAVE_ALSA=0]) |
22 |
- PKG_CHECK_MODULES(LIBSAMPLERATE, samplerate, [HAVE_LIBSAMPLERATE=1], [HAVE_LIBSAMPLERATE=0]) |
23 |
+ AC_ARG_WITH(libsamplerate, |
24 |
+ [ --without-libsamplerate disable libsamplerate support]) |
25 |
+ if test "x$with_libsamplerate" != "xno"; then |
26 |
+ PKG_CHECK_MODULES(LIBSAMPLERATE, samplerate, [HAVE_LIBSAMPLERATE=1], [HAVE_LIBSAMPLERATE=0]) |
27 |
+ fi |
28 |
if test x"$HAVE_LIBSAMPLERATE" = "x1"; then |
29 |
AC_DEFINE(HAVE_LIBSAMPLERATE) |
30 |
if test x"$static_libsamplerate" = "xyes"; then |