summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-16 13:53:46 +0100
committerSam James <sam@gentoo.org>2021-06-16 14:57:25 +0100
commitb6b552dabd095be753641b62dd5c35efaba02925 (patch)
treeed02c18a755ad270d681f2c2fe170ea41b3f04cb /www-misc/htdig
parentapp-text/sword-modules: update the list of modules (diff)
downloadgentoo-b6b552dabd095be753641b62dd5c35efaba02925.tar.gz
gentoo-b6b552dabd095be753641b62dd5c35efaba02925.tar.bz2
gentoo-b6b552dabd095be753641b62dd5c35efaba02925.zip
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@gentoo.org>
Diffstat (limited to 'www-misc/htdig')
-rw-r--r--www-misc/htdig/htdig-3.2.0_beta6-r5.ebuild6
1 files changed, 5 insertions, 1 deletions
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 6a03907c53dd..40fe8b5b10f9 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}