gupnp-tools: fix when using latest gupnp-av
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 30 Oct 2016 21:47:33 +0000 (22:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 1 Nov 2016 15:20:50 +0000 (16:20 +0100)
Include gupnp.h ourselves, gupnp-av.h doesn't drag it in anymore

Backported from: e9ec9634207e4c2eea6d268ee29b57e687c1f178
The patch retrieved from the official gnome URL
(https://git.gnome.org/browse/gupnp-tools/patch/?id=e9ec9634207e4c2eea6d268ee29b57e687c1f178)
can not be applied through GUPNP_TOOLS_PATCH as it does not end with the
'.patch*' pattern

Fixes:
  - http://autobuild.buildroot.org/results/329851daa060f23c55f996c1b0f323d41f85ccb2

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gupnp-tools/0001-Fix-compiling-when-using-recent-GUPnP-AV.patch [new file with mode: 0644]

diff --git a/package/gupnp-tools/0001-Fix-compiling-when-using-recent-GUPnP-AV.patch b/package/gupnp-tools/0001-Fix-compiling-when-using-recent-GUPnP-AV.patch
new file mode 100644 (file)
index 0000000..6d3769f
--- /dev/null
@@ -0,0 +1,27 @@
+From e9ec9634207e4c2eea6d268ee29b57e687c1f178 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Sun, 16 Oct 2016 21:51:39 +0200
+Subject: av-cp: Fix compiling when using recent GUPnP-AV
+
+Include gupnp.h ourselves, gupnp-av.h doesn't drag it in anymore
+
+Signed-off-by: Jens Georg <mail@jensge.org>
+---
+ src/av-cp/playlist-treeview.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/av-cp/playlist-treeview.h b/src/av-cp/playlist-treeview.h
+index 8637ae8..16b131e 100644
+--- a/src/av-cp/playlist-treeview.h
++++ b/src/av-cp/playlist-treeview.h
+@@ -23,6 +23,8 @@
+ #include <config.h>
+ #include <gtk/gtk.h>
++
++#include <libgupnp/gupnp.h>
+ #include <libgupnp-av/gupnp-av.h>
+ typedef void (* MetadataFunc) (const char *metadata,
+-- 
+cgit v0.12