lirc/lirc-0.8.3pre1-disable_portaudio.patch

24 lines
911 B
Diff

--- lirc-0.8.3pre1/configure 2008-01-29 13:31:04.000000000 +0100
+++ lirc-0.8.3pre1.orig/configure 2008-01-29 13:27:13.000000000 +0100
@@ -24129,7 +24129,7 @@
fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_portaudio_Pa_Initialize" >&5
echo "${ECHO_T}$ac_cv_lib_portaudio_Pa_Initialize" >&6; }
-if test $ac_cv_lib_portaudio_Pa_Initialize = yes; then
+if test $ac_cv_lib_portaudio_Pa_Initialize = yesDISABLED; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBPORTAUDIO 1
@@ -25063,8 +25063,9 @@
CFLAGS="$CFLAGS `${LIBUSB_CONFIG} --cflags`"
;;
audio)
- hw_module="${hw_module} hw_audio.o receive.o"
- portaudio_lib="-lportaudio ${portaudio_lib_other}"
+ # hw_audio.c is incompatible with current PortAudio snapshot
+ #hw_module="${hw_module} hw_audio.o receive.o"
+ #portaudio_lib="-lportaudio ${portaudio_lib_other}"
;;
audio_alsa)
hw_module="${hw_module} hw_audio_alsa.o receive.o"