summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2016-11-20 01:57:55 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2016-11-23 08:49:28 +0100
commitdc0181fb9c77e84daeec6402d4625bd074864bcb (patch)
tree7a97115428ac1597d6daa8f3cf9aa03f57cfaf03 /net-misc
parentdev-python/oct2py: Version bump to 3.6.0 (diff)
downloadgentoo-dc0181fb9c77e84daeec6402d4625bd074864bcb.tar.gz
gentoo-dc0181fb9c77e84daeec6402d4625bd074864bcb.tar.bz2
gentoo-dc0181fb9c77e84daeec6402d4625bd074864bcb.zip
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>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dleyna-server/dleyna-server-0.5.0.ebuild8
-rw-r--r--net-misc/dleyna-server/files/dleyna-server-0.5.0-fix-references-to-GUPnPContextManager.patch13
2 files changed, 20 insertions, 1 deletions
diff --git a/net-misc/dleyna-server/dleyna-server-0.5.0.ebuild b/net-misc/dleyna-server/dleyna-server-0.5.0.ebuild
index 1490e084d695..fa4a5748ab65 100644
--- a/net-misc/dleyna-server/dleyna-server-0.5.0.ebuild
+++ b/net-misc/dleyna-server/dleyna-server-0.5.0.ebuild
@@ -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
index 000000000000..9efb1feb1906
--- /dev/null
+++ b/net-misc/dleyna-server/files/dleyna-server-0.5.0-fix-references-to-GUPnPContextManager.patch
@@ -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"