From 9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 18 Feb 2020 13:57:41 +0000 Subject: [PATCH] dev-db/libzdb: drop lexicographical comparison, bug #705244 Closes: https://bugs.gentoo.org/705244 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich --- dev-db/libzdb/libzdb-3.1-r1.ebuild | 9 +++------ dev-db/libzdb/libzdb-3.1.ebuild | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/dev-db/libzdb/libzdb-3.1-r1.ebuild b/dev-db/libzdb/libzdb-3.1-r1.ebuild index 13b086bcda58..b3ba017bb1ad 100644 --- a/dev-db/libzdb/libzdb-3.1-r1.ebuild +++ b/dev-db/libzdb/libzdb-3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,11 +36,8 @@ src_configure() { ## TODO: check what --enable-optimized actually does ## TODO: find someone with oracle db to add oci8 support myconf="" - if [[ $(gcc-version) < 4.1 ]];then - myconf="${myconf} --disable-protected" - else - myconf="${myconf} --enable-protected" - fi + # enable default hidden visibility + myconf="${myconf} --enable-protected" if use sqlite; then myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock" diff --git a/dev-db/libzdb/libzdb-3.1.ebuild b/dev-db/libzdb/libzdb-3.1.ebuild index 21ce5f4ef1c1..caa64e3ef38f 100644 --- a/dev-db/libzdb/libzdb-3.1.ebuild +++ b/dev-db/libzdb/libzdb-3.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -33,11 +33,8 @@ src_configure() { ## TODO: check what --enable-optimized actually does ## TODO: find someone with oracle db to add oci8 support myconf="" - if [[ $(gcc-version) < 4.1 ]];then - myconf="${myconf} --disable-protected" - else - myconf="${myconf} --enable-protected" - fi + # enable default hidden visibility + myconf="${myconf} --enable-protected" if use sqlite; then myconf="${myconf} --with-sqlite=${EPREFIX}/usr/ --enable-sqliteunlock" -- 2.26.2