commit: 1a3e2e10ee08b2df5db3bc83628584cc25b88d5a Author: Joerg Bornkessel <hd_brummy <AT> gentoo <DOT> org> AuthorDate: Sun May 2 17:27:49 2021 +0000 Commit: Jörg Bornkessel <hd_brummy <AT> gentoo <DOT> org> CommitDate: Sun May 2 17:53:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3e2e10
media-plugins/vdr-suspendoutput: gcc-11 compile fix max was not declared eapi 7 Closes: https://bugs.gentoo.org/787506 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy <AT> gentoo.org> ...uspendoutput-2.0.1.ebuild => vdr-suspendoutput-2.0.1-r1.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1.ebuild b/media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1-r1.ebuild similarity index 84% rename from media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1.ebuild rename to media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1-r1.ebuild index 5ccea9a17a6..5922d4a200a 100644 --- a/media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1.ebuild +++ b/media-plugins/vdr-suspendoutput/vdr-suspendoutput-2.0.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit vdr-plugin-2 @@ -24,4 +24,7 @@ src_prepare() { sed -e 246c"unsigned int TimeoutMs, bool runOnce)" \ -e 254c"unsigned int TimeoutMs, bool runOnce)" \ -i timer.h + + # gcc-11, bug 787506 + sed -e "s|max|std::max|" -i timer.c }
