summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/centerim/files/centerim-4.22.5-libotr-configure.patch')
-rw-r--r--net-im/centerim/files/centerim-4.22.5-libotr-configure.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-im/centerim/files/centerim-4.22.5-libotr-configure.patch b/net-im/centerim/files/centerim-4.22.5-libotr-configure.patch
new file mode 100644
index 000000000000..1d5cbff83699
--- /dev/null
+++ b/net-im/centerim/files/centerim-4.22.5-libotr-configure.patch
@@ -0,0 +1,32 @@
+commit 42add0132dad8c32ec356d59d0f7daceb9d42ed8
+Author: Sven Wegener <sven.wegener@stealer.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@stealer.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"