summaryrefslogtreecommitdiff
path: root/recipes/openmoko-projects/diversity-daemon/no-xmmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/openmoko-projects/diversity-daemon/no-xmmp.patch')
-rw-r--r--recipes/openmoko-projects/diversity-daemon/no-xmmp.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/openmoko-projects/diversity-daemon/no-xmmp.patch b/recipes/openmoko-projects/diversity-daemon/no-xmmp.patch
new file mode 100644
index 0000000000..2065e97dce
--- /dev/null
+++ b/recipes/openmoko-projects/diversity-daemon/no-xmmp.patch
@@ -0,0 +1,24 @@
+Index: diversity-xmpp-backend/Makefile.am
+===================================================================
+--- a/diversity-xmpp-backend/Makefile.am (revision 276)
++++ a/diversity-xmpp-backend/Makefile.am (working copy)
+@@ -1,3 +1,4 @@
++if HAVE_XMPP
+ INCLUDES = -I${top_srcdir}/include
+
+ AM_CPPFLAGS = \
+@@ -4,9 +5,7 @@
+ $(GLIB_CFLAGS) \
+ $(LM_CFLAGS)
+
+-if HAVE_XMPP
+ noinst_LTLIBRARIES = libdiversity-xmpp-backend.la
+-endif
+
+ noinst_HEADERS = diversity-xmpp-backend.h
+
+@@ -48,3 +47,4 @@
+
+ xmpp-marshal.h: xmpp-marshal.list
+ $(GLIB_GENMARSHAL) --prefix xmpp_marshal --header $< > $@
++endif