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
swegener    08/08/04 19:10:32

  Added:                centerim-4.22.5-libotr-configure.patch
  Log:
  Add patch to fix error in configure.ac, bug #232312.
  (Portage version: 2.2_rc6/cvs/Linux 2.6.27-rc1-00504-g2b12a4c x86_64)

Revision  Changes    Path
1.1                  net-im/centerim/files/centerim-4.22.5-libotr-configure.patch

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
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

Index: centerim-4.22.5-libotr-configure.patch
===================================================================
commit 42add0132dad8c32ec356d59d0f7daceb9d42ed8
Author: Sven Wegener <sven.wegener@×××××××.net>
Date:   Tue Jul 22 02:18:03 2008 +0200

    Fix configure.ac libotr error
    
    This fixes the following error:
    
    checking for otrl_init in -lotr... yes
    checking libotr/context.h usability... yes
    checking libotr/context.h presence... yes
    checking for libotr/context.h... yes
    ./configure: line 15006: libotr/userstate.h: No such file or directory
    
    Signed-off-by: Sven Wegener <sven.wegener@×××××××.net>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 04ca231..56cf974 100644
--- a/configure.ac
+++ b/configure.ac
@@ -261,7 +261,7 @@ if test "x$with_libotr" != "xno"; then
 
 	AC_CHECK_LIB(otr, otrl_init,
 	[
-		AC_CHECK_HEADERS(libotr/context.h, libotr/userstate.h
+		AC_CHECK_HEADERS(libotr/context.h libotr/userstate.h,
 		[
 			AC_DEFINE(HAVE_LIBOTR, 1, [define if you have libotr])
             OTR_LIBS="-lotr $LIBS"