From e021ccee741e406cacba8f30d92c3161e64eb17d Mon Sep 17 00:00:00 2001 From: Jakob Drexel Date: Mon, 13 Jan 2014 19:31:20 +0100 Subject: pidgin: Add libotr recipe and patch to fix QA-issue Signed-off-by: Jakob Drexel Signed-off-by: Martin Jansa --- .../pidgin/libotr/fix_qa-issue_include.patch | 18 ++++++++++++++++++ meta-oe/recipes-support/pidgin/libotr_4.0.0.bb | 14 ++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch create mode 100644 meta-oe/recipes-support/pidgin/libotr_4.0.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch b/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch new file mode 100644 index 0000000000..b78663310a --- /dev/null +++ b/meta-oe/recipes-support/pidgin/libotr/fix_qa-issue_include.patch @@ -0,0 +1,18 @@ +libotr: Fix QA-issue where also files from buildhost would be included + +Warning was: +cc1: warning: include location "/usr/include" is unsafe for +cross-compilation [-Wpoison-system-directories] + +Upstream-Status: Pending + +Signed-off-by: Jakob Drexel + +--- a/toolkit/Makefile.am 2012-05-03 15:52:22.000000000 +0200 ++++ b/toolkit/Makefile.am 2014-01-13 12:12:26.030369357 +0100 +@@ -1,4 +1,4 @@ +-INCLUDES = -I$(includedir) -I../src @LIBGCRYPT_CFLAGS@ ++INCLUDES = -I../src @LIBGCRYPT_CFLAGS@ + + noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h + diff --git a/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb b/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb new file mode 100644 index 0000000000..bb7950174c --- /dev/null +++ b/meta-oe/recipes-support/pidgin/libotr_4.0.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "(OTR) Messaging allows you to have private conversations over instant messaging" +HOMEPAGE = "http://www.cypherpunks.ca/otr/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=92fe174bad6da3763f6e9e9eaff6df24" +DEPENDS = "libgcrypt libgpg-error" + +SRC_URI = "http://www.cypherpunks.ca/otr/${P}.tar.gz \ + file://fix_qa-issue_include.patch \ +" + +SRC_URI[md5sum] = "00979dca82d70383fcd1b01f3974363c" +SRC_URI[sha256sum] = "3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4" + +inherit autotools pkgconfig -- cgit 1.2.3-korg