net-misc/dleyna-server: fix bug #597952

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2868

Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
This commit is contained in:
Christophe Lermytte
2016-11-20 01:57:55 +01:00
committed by Gilles Dartiguelongue
parent d27b5cd9c1
commit dc0181fb9c
2 changed files with 20 additions and 1 deletions

View 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

View File

@@ -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"