diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-09-22 03:29:22 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-09-22 03:29:32 +1000 |
commit | d250871ce4861738d2cbefab9e06e5e43ba99ab7 (patch) | |
tree | ca560990b2b2751be748dd7e2e566cd28cb9b984 /media-libs | |
parent | dev-util/kdevelop*: Drop 5.0.0 (diff) | |
download | gentoo-d250871ce4861738d2cbefab9e06e5e43ba99ab7.tar.gz gentoo-d250871ce4861738d2cbefab9e06e5e43ba99ab7.tar.bz2 gentoo-d250871ce4861738d2cbefab9e06e5e43ba99ab7.zip |
media-libs/herqq: fix build with GCC 6
Patch-by: Peter Levine <plevine457@gmail.com>
Gentoo-bug: 594188
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/herqq/files/herqq-1.0.0-gcc6.patch | 24 | ||||
-rw-r--r-- | media-libs/herqq/herqq-1.0.0-r2.ebuild | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/media-libs/herqq/files/herqq-1.0.0-gcc6.patch b/media-libs/herqq/files/herqq-1.0.0-gcc6.patch new file mode 100644 index 000000000000..a30d86ef1ca9 --- /dev/null +++ b/media-libs/herqq/files/herqq-1.0.0-gcc6.patch @@ -0,0 +1,24 @@ +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; + } + } + } diff --git a/media-libs/herqq/herqq-1.0.0-r2.ebuild b/media-libs/herqq/herqq-1.0.0-r2.ebuild index 6d0770876f99..eb6cba224683 100644 --- a/media-libs/herqq/herqq-1.0.0-r2.ebuild +++ b/media-libs/herqq/herqq-1.0.0-r2.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$ @@ -25,6 +25,7 @@ DEPEND="${RDEPEND} " DOCS=( hupnp/ChangeLog ) +PATCHES=( "${FILESDIR}/${P}-gcc6.patch" ) src_prepare() { # fix the .pro file for multilib issues |