summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/bluez/files/bluez-4.62-makefile_ipctest.patch')
-rw-r--r--net-wireless/bluez/files/bluez-4.62-makefile_ipctest.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-wireless/bluez/files/bluez-4.62-makefile_ipctest.patch b/net-wireless/bluez/files/bluez-4.62-makefile_ipctest.patch
new file mode 100644
index 000000000000..6304a6f0ac79
--- /dev/null
+++ b/net-wireless/bluez/files/bluez-4.62-makefile_ipctest.patch
@@ -0,0 +1,29 @@
+From f62006a86143f2c8556b4e6f3e74508db6b2aa5d Mon Sep 17 00:00:00 2001
+From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
+Date: Mon, 8 Mar 2010 20:01:32 -0300
+Subject: [PATCH 1/1] Fix compilation when --enable-test is passed
+
+When --enable-test is passed along with --disable-alsa and
+--disable-gstreamer, the SBC lib is not built, which breaks
+compilation of the ipctest test program.
+---
+ acinclude.m4 | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/acinclude.m4 b/acinclude.m4
+index 2e4444d..f7bb047 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -316,7 +316,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
+
+ AM_CONDITIONAL(SNDFILE, test "${sndfile_enable}" = "yes" && test "${sndfile_found}" = "yes")
+ AM_CONDITIONAL(USB, test "${usb_enable}" = "yes" && test "${usb_found}" = "yes")
+- AM_CONDITIONAL(SBC, test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes")
++ AM_CONDITIONAL(SBC, test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes" ||
++ test "${test_enable}" = "yes")
+ AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
+ AM_CONDITIONAL(GSTREAMER, test "${gstreamer_enable}" = "yes" && test "${gstreamer_found}" = "yes")
+ AM_CONDITIONAL(AUDIOPLUGIN, test "${audio_enable}" = "yes")
+--
+1.7.0.2
+