summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-02-19 18:56:19 +0000
committerPacho Ramos <pacho@gentoo.org>2010-02-19 18:56:19 +0000
commitf91b616404627f95060f035246588cdee52b6cb1 (patch)
tree74a886f1dc555a818419ed6745f45f89f29f9606 /app-mobilephone/obexd/files
parentia64/sparc stable (diff)
downloadgentoo-2-f91b616404627f95060f035246588cdee52b6cb1.tar.gz
gentoo-2-f91b616404627f95060f035246588cdee52b6cb1.tar.bz2
gentoo-2-f91b616404627f95060f035246588cdee52b6cb1.zip
Fix bug 305063
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'app-mobilephone/obexd/files')
-rw-r--r--app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch b/app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch
new file mode 100644
index 000000000000..2f26bb0baa81
--- /dev/null
+++ b/app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch
@@ -0,0 +1,39 @@
+From a35b4a2330ff042f362c8af69e6bbd3909a128d3 Mon Sep 17 00:00:00 2001
+From: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
+Date: Fri, 19 Feb 2010 11:34:55 -0300
+Subject: [PATCH 1/1] Fix compilation when passing the --without-<driver> option
+
+When we pass the --without-* option, the {withval} variable
+was being set to "no".
+---
+ configure.ac | 5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ba0f8a1..cca5ce9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -105,10 +105,9 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
+ CFLAGS="$CFLAGS -g"
+ fi
+ ])
+-
+ phonebook_driver=dummy
+ AC_ARG_WITH(phonebook, AC_HELP_STRING([--with-phonebook=DRIVER], [select phonebook driver]), [
+- phonebook_driver=${withval}
++ phonebook_driver=${withval}, phonebook_driver=dummy
+ ])
+
+ if (test "${phonebook_driver}" = "ebook"); then
+@@ -129,7 +128,7 @@ AC_SUBST([PHONEBOOK_DRIVER], [phonebook-${phonebook_driver}.c])
+
+ telephony_driver=dummy
+ AC_ARG_WITH(telephony, AC_HELP_STRING([--with-telephony=DRIVER], [select telephony driver]), [
+- telephony_driver=${withval}
++ telephony_driver=${withval}, telephony_driver=dummy
+ ])
+
+ AC_SUBST([TELEPHONY_DRIVER], [telephony-${telephony_driver}.c])
+--
+1.6.2.5
+