commit:     b6b552dabd095be753641b62dd5c35efaba02925
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 12:53:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 13:57:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6b552da

www-misc/htdig: workaround build failure with GCC 11

"Unambiguous reference to byte" generally means we need a large patch
and upstream seems quiet here too, so let's just set C++ 14.

Closes: https://bugs.gentoo.org/787716
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild 
b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
index 6a03907c53d..40fe8b5b10f 100644
--- a/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
+++ b/www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_PV="${PV/_beta/b}"
 
@@ -43,6 +43,10 @@ src_prepare() {
 }
 
 src_configure() {
+       # "WordDBPage.h:309:76: error: reference to ‘byte’ is ambiguous"
+       # bug #787716
+       append-cxxflags -std=c++14
+
        local myeconfargs=(
                --disable-static
                --with-config-dir="${EPREFIX}"/etc/${PN}

Reply via email to