Patchwork [meta-oe,meta-efl,meta-gpe,4/5] loudmouth: fix build with glib-2.32

login
register
mail settings
Submitter Martin Jansa
Date May 7, 2012, 7:05 p.m.
Message ID <fd0343f3b67ae3c4917b18a394bc4361a5599735.1336417488.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/27229/
State Accepted
Commit fd0343f3b67ae3c4917b18a394bc4361a5599735
Headers show

Comments

Martin Jansa - May 7, 2012, 7:05 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../loudmouth/loudmouth-1.4.3/glib-2.32.patch      |   10 ++++++++++
 .../loudmouth/loudmouth_1.4.3.bb                   |    5 ++++-
 2 files changed, 14 insertions(+), 1 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch

Patch

diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch
new file mode 100644
index 0000000..b6c9422
--- /dev/null
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth-1.4.3/glib-2.32.patch
@@ -0,0 +1,10 @@ 
+--- loudmouth-1.4.3.orig/loudmouth/lm-error.c	2008-10-29 21:48:15.000000000 +0100
++++ loudmouth-1.4.3/loudmouth/lm-error.c	2012-05-06 08:27:07.455739440 +0200
+@@ -19,7 +19,6 @@
+  */
+ 
+ #include <config.h>
+-#include <glib/gerror.h>
+ #include "lm-error.h"
+ 
+ /**
diff --git a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
index f91fdff..87852ee 100644
--- a/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
+++ b/meta-oe/recipes-connectivity/loudmouth/loudmouth_1.4.3.bb
@@ -8,7 +8,10 @@  DEPENDS = "glib-2.0 check openssl"
 
 inherit gnomebase
 
-SRC_URI += "file://04-use-pkg-config-for-gnutls.patch"
+PR = "r1"
+
+SRC_URI += "file://04-use-pkg-config-for-gnutls.patch \
+            file://glib-2.32.patch"
 
 SRC_URI[archive.md5sum] = "55339ca42494690c3942ee1465a96937"
 SRC_URI[archive.sha256sum] = "95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3"