commit:     d9e5273308c0b71372b2a1876b4f506454d4c582
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  3 15:25:11 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Jul  3 15:27:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e52733

net-libs/libupnp: fix bug 556604

Remove duplicates from sources listings, so that examples may be
installed.

Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch | 13 +++++++++++++
 net-libs/libupnp/libupnp-1.6.19.ebuild                   |  5 +++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch 
b/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
new file mode 100644
index 0000000..622f58a
--- /dev/null
+++ b/net-libs/libupnp/files/libupnp-1.6.19-docs-install.patch
@@ -0,0 +1,13 @@
+--- libupnp-1.6.19/upnp/sample/Makefile.am.orig        2013-11-15 
19:50:02.000000000 +0400
++++ libupnp-1.6.19/upnp/sample/Makefile.am     2016-06-03 20:30:43.545081667 
+0300
+@@ -65,8 +65,8 @@
+ if WITH_DOCUMENTATION
+ examplesdir = $(docdir)/examples
+ examples_DATA = \
+-      $(tv_ctrlpt_SOURCES) \
+-      $(tv_device_SOURCES)
++      $(sort $(tv_ctrlpt_SOURCES) \
++      $(tv_device_SOURCES) )
+ endif
+ 
+ EXTRA_DIST = \

diff --git a/net-libs/libupnp/libupnp-1.6.19.ebuild 
b/net-libs/libupnp/libupnp-1.6.19.ebuild
index 161fa7e..c589c65 100644
--- a/net-libs/libupnp/libupnp-1.6.19.ebuild
+++ b/net-libs/libupnp/libupnp-1.6.19.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$
 
@@ -18,7 +18,8 @@ IUSE="debug doc ipv6 static-libs"
 DOCS="NEWS README ChangeLog"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-suse.patch
+       epatch "${FILESDIR}"/${P}-suse.patch \
+               "${FILESDIR}"/${P}-docs-install.patch
 
        # fix tests
        chmod +x ixml/test/test_document.sh || die

Reply via email to