commit:     04dea1fbb62f503659bba7109f238b13da5dfd42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 29 02:24:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 29 02:24:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04dea1fb

dev-db/opendbx: workaround build failure with GCC 11 in 1.4.6-r3

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

 dev-db/opendbx/opendbx-1.4.6-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-db/opendbx/opendbx-1.4.6-r3.ebuild 
b/dev-db/opendbx/opendbx-1.4.6-r3.ebuild
index 7bdd9b3e613..30ade850db9 100644
--- a/dev-db/opendbx/opendbx-1.4.6-r3.ebuild
+++ b/dev-db/opendbx/opendbx-1.4.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -68,6 +68,9 @@ src_configure() {
                append-ldflags -L"${ORACLE_HOME}"
        fi
 
+       # bug #788304
+       append-cxxflags -std=c++14
+
        econf --with-backends="${backends}" --enable-manpages="$(usex man yes 
no)"
 }
 

Reply via email to