commit:     9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 13:57:41 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 13:58:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf2e8e3

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 <slyfox <AT> gentoo.org>

 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 13b086bcda5..b3ba017bb1a 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 21ce5f4ef1c..caa64e3ef38 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"

Reply via email to