summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-04 04:41:41 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-11 21:36:43 +0300
commit87337d2d8562d92e6dbda1edb4508a022cd926d5 (patch)
tree214b274313ec347f59c6dbd286ada96f2edfc4e6
parentcff117081e4c2acf87b06b8ae1722c95dd677369 (diff)
gloox: fix gloox.pc in the staging
As gloox.pc included @CFLAGS@ substitution, it got populated with -isystem CFLAGS, thus breaking staging QA. Fix that by dropping unnecessary @CFLAGS@ substitution. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
-rw-r--r--packages/gloox/gloox/gloox-fix-pc.diff10
-rw-r--r--packages/gloox/gloox_0.8.9.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/packages/gloox/gloox/gloox-fix-pc.diff b/packages/gloox/gloox/gloox-fix-pc.diff
new file mode 100644
index 0000000000..70cb84eb09
--- /dev/null
+++ b/packages/gloox/gloox/gloox-fix-pc.diff
@@ -0,0 +1,10 @@
+Index: gloox-0.8.9/gloox.pc.in
+===================================================================
+--- gloox-0.8.9.orig/gloox.pc.in 2008-11-04 04:20:26.896779618 +0300
++++ gloox-0.8.9/gloox.pc.in 2008-11-04 04:20:32.665427239 +0300
+@@ -7,4 +7,4 @@ Name: gloox
+ Description: A high-level XMPP/Jabber library for C++
+ Version: @VERSION@
+ Libs: -L${libdir} -lgloox @LIBS@
+-Cflags: -I${includedir} @CFLAGS@
++Cflags: -I${includedir}
diff --git a/packages/gloox/gloox_0.8.9.bb b/packages/gloox/gloox_0.8.9.bb
index 09004a8182..562fb90eb3 100644
--- a/packages/gloox/gloox_0.8.9.bb
+++ b/packages/gloox/gloox_0.8.9.bb
@@ -8,7 +8,8 @@ DEPENDS = "iksemel libidn gnutls"
inherit autotools pkgconfig
-SRC_URI = "http://camaya.net/download/${P}.tar.bz2"
+SRC_URI = "http://camaya.net/download/${P}.tar.bz2 \
+ file://gloox-fix-pc.diff;patch=1"
do_stage () {
autotools_stage_all