Patch-by: Peter Levine <plevine457@gmail.com>
Gentoo-bug: 594188
Package-Manager: portage-2.3.1
--- /dev/null
+Fix build with GCC 6.
+
+Gentoo-bug: 594188
+
+--- a/hupnp/src/devicehosting/devicehost/hservermodel_creator_p.cpp
++++ b/hupnp/src/devicehosting/devicehost/hservermodel_creator_p.cpp
+@@ -493,7 +493,7 @@
+ QString("Failed to initialize device [%1]").arg(
+ deviceInfo.udn().toString());
+
+- return false;
++ return NULL;
+ }
+
+ device->h_ptr->m_deviceDescription =
+@@ -560,7 +560,7 @@
+ "[%2]").arg(device->info().deviceType().toString(),
+ dt.toString());
+
+- return false;
++ return NULL;
+ }
+ }
+ }
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
"
DOCS=( hupnp/ChangeLog )
+PATCHES=( "${FILESDIR}/${P}-gcc6.patch" )
src_prepare() {
# fix the .pro file for multilib issues