commit:     078826f79b8e1af7ddb40bc1e7d7ea7d71662608
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 22:34:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 22:34:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=078826f7

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

Bug: https://bugs.gentoo.org/788304
Bug: https://bugs.gentoo.org/804993
See: 04dea1fbb62f503659bba7109f238b13da5dfd42
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/opendbx/opendbx-1.4.5-r1.ebuild | 5 ++++-
 dev-db/opendbx/opendbx-1.4.6-r2.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-db/opendbx/opendbx-1.4.5-r1.ebuild 
b/dev-db/opendbx/opendbx-1.4.5-r1.ebuild
index 222716f22f7..d62eda3c5e8 100644
--- a/dev-db/opendbx/opendbx-1.4.5-r1.ebuild
+++ b/dev-db/opendbx/opendbx-1.4.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -60,6 +60,9 @@ src_configure() {
                append-ldflags -L"${ORACLE_HOME}"
        fi
 
+       # bug #788304
+       append-cxxflags -std=c++14
+
        econf --with-backends="${backends}"
 }
 

diff --git a/dev-db/opendbx/opendbx-1.4.6-r2.ebuild 
b/dev-db/opendbx/opendbx-1.4.6-r2.ebuild
index 5c3009011be..7ba0179beda 100644
--- a/dev-db/opendbx/opendbx-1.4.6-r2.ebuild
+++ b/dev-db/opendbx/opendbx-1.4.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -60,6 +60,9 @@ src_configure() {
                append-ldflags -L"${ORACLE_HOME}"
        fi
 
+       # bug #788304
+       append-cxxflags -std=c++14
+
        econf --with-backends="${backends}"
 }
 

Reply via email to