net-misc/dleyna-server: fix bug #597952
authorChristophe Lermytte <gentoo@lermytte.be>
Sun, 20 Nov 2016 00:57:55 +0000 (01:57 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Wed, 23 Nov 2016 07:49:28 +0000 (08:49 +0100)
Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2868

Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
net-misc/dleyna-server/dleyna-server-0.5.0.ebuild
net-misc/dleyna-server/files/dleyna-server-0.5.0-fix-references-to-GUPnPContextManager.patch [new file with mode: 0644]

index 1490e084d6952c9bb30805f0325ae46afb5c69f0..fa4a5748ab65d8da2f55dc6b373697f18c0ac12c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,6 +29,12 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
 "
 
+src_prepare() {
+       # Fix build with recent gupnp, bug #597952
+       epatch "${FILESDIR}"/${P}-fix-references-to-GUPnPContextManager.patch
+       default
+}
+
 src_install() {
        default
        prune_libtool_files
diff --git a/net-misc/dleyna-server/files/dleyna-server-0.5.0-fix-references-to-GUPnPContextManager.patch b/net-misc/dleyna-server/files/dleyna-server-0.5.0-fix-references-to-GUPnPContextManager.patch
new file mode 100644 (file)
index 0000000..9efb1fe
--- /dev/null
@@ -0,0 +1,13 @@
+Fix build with recent gupnp version
+
+Gentoo-Bug: 597952
+--- a/libdleyna/server/upnp.h
++++ b/libdleyna/server/upnp.h
+@@ -24,6 +24,7 @@
+ #define DLS_UPNP_H__
+ #include <libdleyna/core/connector.h>
++#include <libgupnp/gupnp-context-manager.h>
+ #include "client.h"
+ #include "async.h"