[Buildroot] [PATCH 1/1] gupnp-tools: fix when using latest gupnp-av

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Oct 30 21:47:33 UTC 2016


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 at orange.com>
---
 ...-Fix-compiling-when-using-recent-GUPnP-AV.patch | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/gupnp-tools/0001-Fix-compiling-when-using-recent-GUPnP-AV.patch

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
index 0000000..1830ebe
--- /dev/null
+++ b/package/gupnp-tools/0001-Fix-compiling-when-using-recent-GUPnP-AV.patch
@@ -0,0 +1,27 @@
+From e9ec9634207e4c2eea6d268ee29b57e687c1f178 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail at jensge.org>
+Date: Sun, 16 Oct 2016 21:51:39 +0200
+Subject: av-cp: Fix compiling when using recent GUPnP-AV
+
+Inlcude gupnp.h ourselves, gupnp-av.h doesn't drag it in anymore
+
+Signed-off-by: Jens Georg <mail at 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
-- 
2.5.0



More information about the buildroot mailing list