libotr: Fix B!=S build failures

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2014-07-18 08:31:53 +00:00 committed by Martin Jansa
parent be9f03c181
commit 09d11d7c38
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Fix builds with ${B} != ${S}
Upstream-Status: Pending
RP 2014/7/17
Index: libotr-4.0.0/toolkit/Makefile.am
===================================================================
--- libotr-4.0.0.orig/toolkit/Makefile.am 2014-07-16 18:09:59.777858022 +0000
+++ libotr-4.0.0/toolkit/Makefile.am 2014-07-17 06:28:51.359066155 +0000
@@ -1,4 +1,4 @@
-INCLUDES = -I../src @LIBGCRYPT_CFLAGS@
+INCLUDES = -I$(top_srcdir)/src @LIBGCRYPT_CFLAGS@
noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h

View File

@ -6,6 +6,7 @@ DEPENDS = "libgcrypt libgpg-error"
SRC_URI = "http://www.cypherpunks.ca/otr/${BP}.tar.gz \
file://fix_qa-issue_include.patch \
file://sepbuild.patch \
"
SRC_URI[md5sum] = "00979dca82d70383fcd1b01f3974363c"