Gentoo Archives: gentoo-commits

From: "Sven Wegener (swegener)" <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/centerim/files: centerim-4.22.5-libotr-configure.patch
Date: Mon, 04 Aug 2008 19:10:34
Message-Id: E1KQ5Rw-0005yv-6t@stork.gentoo.org
1 swegener 08/08/04 19:10:32
2
3 Added: centerim-4.22.5-libotr-configure.patch
4 Log:
5 Add patch to fix error in configure.ac, bug #232312.
6 (Portage version: 2.2_rc6/cvs/Linux 2.6.27-rc1-00504-g2b12a4c x86_64)
7
8 Revision Changes Path
9 1.1 net-im/centerim/files/centerim-4.22.5-libotr-configure.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/centerim/files/centerim-4.22.5-libotr-configure.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/centerim/files/centerim-4.22.5-libotr-configure.patch?rev=1.1&content-type=text/plain
13
14 Index: centerim-4.22.5-libotr-configure.patch
15 ===================================================================
16 commit 42add0132dad8c32ec356d59d0f7daceb9d42ed8
17 Author: Sven Wegener <sven.wegener@×××××××.net>
18 Date: Tue Jul 22 02:18:03 2008 +0200
19
20 Fix configure.ac libotr error
21
22 This fixes the following error:
23
24 checking for otrl_init in -lotr... yes
25 checking libotr/context.h usability... yes
26 checking libotr/context.h presence... yes
27 checking for libotr/context.h... yes
28 ./configure: line 15006: libotr/userstate.h: No such file or directory
29
30 Signed-off-by: Sven Wegener <sven.wegener@×××××××.net>
31 ---
32 configure.ac | 2 +-
33 1 files changed, 1 insertions(+), 1 deletions(-)
34
35 diff --git a/configure.ac b/configure.ac
36 index 04ca231..56cf974 100644
37 --- a/configure.ac
38 +++ b/configure.ac
39 @@ -261,7 +261,7 @@ if test "x$with_libotr" != "xno"; then
40
41 AC_CHECK_LIB(otr, otrl_init,
42 [
43 - AC_CHECK_HEADERS(libotr/context.h, libotr/userstate.h
44 + AC_CHECK_HEADERS(libotr/context.h libotr/userstate.h,
45 [
46 AC_DEFINE(HAVE_LIBOTR, 1, [define if you have libotr])
47 OTR_LIBS="-lotr $LIBS"