1 |
pacho 10/02/19 18:56:19 |
2 |
|
3 |
Added: obexd-0.21-fix_configure.patch |
4 |
Log: |
5 |
Fix bug 305063 |
6 |
(Portage version: 2.1.7.17/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/obexd/files/obexd-0.21-fix_configure.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: obexd-0.21-fix_configure.patch |
15 |
=================================================================== |
16 |
From a35b4a2330ff042f362c8af69e6bbd3909a128d3 Mon Sep 17 00:00:00 2001 |
17 |
From: Vinicius Costa Gomes <vinicius.gomes@×××××××××.org> |
18 |
Date: Fri, 19 Feb 2010 11:34:55 -0300 |
19 |
Subject: [PATCH 1/1] Fix compilation when passing the --without-<driver> option |
20 |
|
21 |
When we pass the --without-* option, the {withval} variable |
22 |
was being set to "no". |
23 |
--- |
24 |
configure.ac | 5 ++--- |
25 |
1 files changed, 2 insertions(+), 3 deletions(-) |
26 |
|
27 |
diff --git a/configure.ac b/configure.ac |
28 |
index ba0f8a1..cca5ce9 100644 |
29 |
--- a/configure.ac |
30 |
+++ b/configure.ac |
31 |
@@ -105,10 +105,9 @@ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], |
32 |
CFLAGS="$CFLAGS -g" |
33 |
fi |
34 |
]) |
35 |
- |
36 |
phonebook_driver=dummy |
37 |
AC_ARG_WITH(phonebook, AC_HELP_STRING([--with-phonebook=DRIVER], [select phonebook driver]), [ |
38 |
- phonebook_driver=${withval} |
39 |
+ phonebook_driver=${withval}, phonebook_driver=dummy |
40 |
]) |
41 |
|
42 |
if (test "${phonebook_driver}" = "ebook"); then |
43 |
@@ -129,7 +128,7 @@ AC_SUBST([PHONEBOOK_DRIVER], [phonebook-${phonebook_driver}.c]) |
44 |
|
45 |
telephony_driver=dummy |
46 |
AC_ARG_WITH(telephony, AC_HELP_STRING([--with-telephony=DRIVER], [select telephony driver]), [ |
47 |
- telephony_driver=${withval} |
48 |
+ telephony_driver=${withval}, telephony_driver=dummy |
49 |
]) |
50 |
|
51 |
AC_SUBST([TELEPHONY_DRIVER], [telephony-${telephony_driver}.c]) |
52 |
-- |
53 |
1.6.2.5 |