diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2017-03-16 03:17:57 (GMT) |
---|---|---|
committer | Boris Pek <tehnick-8@yandex.ru> | 2017-03-20 14:35:18 (GMT) |
commit | 3893ad71f5ae8bbec6364d9306af0b5912aee06e (patch) | |
tree | 463358f21a95141087b9d7ca52d000349964d522 /src/libotr-1-fixes.patch | |
parent | 31bb6af0b995cfbc97b3f79966e3b0a3ce25d00e (diff) | |
download | mxe-3893ad71f5ae8bbec6364d9306af0b5912aee06e.zip mxe-3893ad71f5ae8bbec6364d9306af0b5912aee06e.tar.gz mxe-3893ad71f5ae8bbec6364d9306af0b5912aee06e.tar.bz2 |
libotr: build out-of-tree
Diffstat (limited to 'src/libotr-1-fixes.patch')
-rw-r--r-- | src/libotr-1-fixes.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libotr-1-fixes.patch b/src/libotr-1-fixes.patch new file mode 100644 index 0000000..8eb0daf --- /dev/null +++ b/src/libotr-1-fixes.patch @@ -0,0 +1,23 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +Contains ad hoc patches for cross building. + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Boris Nagaev <bnagaev@gmail.com> +Date: Thu, 16 Mar 2017 04:09:42 +0100 +Subject: [PATCH] fix out-of-tree build + +Fix the error: +libotr-4.1.1/toolkit/otr_parse.c:26:19: fatal error: proto.h: + No such file or directory + +diff --git a/toolkit/Makefile.am b/toolkit/Makefile.am +index 1111111..2222222 100644 +--- a/toolkit/Makefile.am ++++ b/toolkit/Makefile.am +@@ -1,4 +1,4 @@ +-AM_CPPFLAGS = -I$(includedir) -I../src @LIBGCRYPT_CFLAGS@ ++AM_CPPFLAGS = -I$(includedir) -I$(top_srcdir)/src @LIBGCRYPT_CFLAGS@ + + noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h + |