Remove duplicates from sources listings, so that examples may be
installed.
Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
--- /dev/null
+--- 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 = \
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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