Patchwork [meta-oe,v2,1/2] pidgin: Add libotr recipe and patch to fix QA-issue

login
register
mail settings
Submitter Jakob Drexel
Date Jan. 13, 2014, 6:31 p.m.
Message ID <1389637881-16013-2-git-send-email-jake42@rommel.stw.uni-erlangen.de>
Download mbox | patch
Permalink /patch/64669/
State Accepted, archived
Headers show

Comments

Jakob Drexel - Jan. 13, 2014, 6:31 p.m.
Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
---
 .../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

Patch

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 0000000..b786633
--- /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 <jake42@rommel.stw.uni-erlangen.de>
+
+--- 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 0000000..bb79501
--- /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